Hi, I am wondering why the nodeType() method of a vertex return mesh instead of meshVertex type?
# run this code to repro
sphere = pm.polySphere()[0]
pm.select('%s.vtx[0:10]' %sphere, r=True)
sel = pm.ls(sl=True, fl=True)
for i in sel:
print 'nodeType:', i.nodeType()
print type(i)
Thanks
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---
