i put
print arrMesh.faces[0].getPositions()
or
print arrMesh.faces[0].getPosition()

and got

# AttributeError: 'MeshFace' object has no attribute 'getPositions' #

and checked at pymel docs there is just getPosition for vertexes but
not for faces

if i pasted
from pymel import *
v1=Vector([1,2,3])
v2=Vector([2,3,4])
print v1+v2
print v1*2
print v2/2

I got error :(
# Error: name 'Vector' is not defined
# Traceback (most recent call last):
#   File "<maya console>", line 2, in <module>
# NameError: name 'Vector' is not defined #

i'm confused, i'm using latest pymel update on mac







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

Reply via email to