import pymel.core as pm
p = pm.ui.PyUI('modelPanel4')
# Result: ui.ModelEditor('modelPanel4|modelPanel4') #
p is a modelEditor instance 
why can't i use   p.setPolymeshes(False)   ? thanks 
# Error: RuntimeError: file /fuck/pymel-1.0.3/pymel/internal/pmcmds.py line 
134: modelEditor: Object 'modelPanel4|modelPanel4' not found. # 

tried on linux, windows maya 2011 ( pymel 1.0.3 ) / 2013 ( pymel 1.0.4 )

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to