Sylvian,

this example *should* work, and it shouldn't be too hard to make it  
work on our end, but in the meantime you can make this simple  
adjustment:

import pymel as pm
cube, hist = pm.polyCube()
vtxList = [cube.vtx[0:1], cube.vtx[3:4]]
print vtxList

# the next line fails
pm.select(*vtxList, r=True)  # <-----expand the vtxList argument with  
an asterisk


to put it more simply, this does not work (yet):

pm.select( [cube.vtx[0:1], cube.vtx[3:4]], r=True)


but this does:

pm.select( cube.vtx[0:1], cube.vtx[3:4], r=True)


i should have a fix for this in a few minutes.

-chad




--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to