> arrMesh = mc.ls(sl=True)
> print arrMesh[0]#prints |polySurface1
> normals = arrMesh.getNormals()

you're using maya.cmds so arrMesh is a python list of strings.  so  
even if you were to do the proper thing:

arrMesh[0].getNormals()

it would not work unless you were using pymel, in which case the first  
element of the list saved by arrMesh would be a pymel Transform/Mesh  
node.

-chad


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

Reply via email to