Probably want you want to do there is call the command and parse out the resulting nt.RebuildSurface from the returned values, ie:
import pymel.core as pm mesh, rebuild = pm.rebuildSurface(pm.nurbsPlane()) or i guess if you had something selected, just mesh, rebuild = pm.rebuildSurface() On Tue, Nov 23, 2010 at 5:13 PM, Count Zer0 <[email protected]> wrote: > Anybody know how to use a class like the RebuildSurface class: > > > http://www.luma-pictures.com/tools/pymel/docs/1.0/generated/classes/pymel.core.nodetypes/pymel.core.nodetypes.RebuildSurface.html > > How would you pass in the surface you wanted to run one of these > methods on? or does the object have to be selected? > > Thanks, > > -jason > > -- > http://groups.google.com/group/python_inside_maya > -- http://groups.google.com/group/python_inside_maya
