Hi Oliver, thank you for you answer! that's what i need! But it seams not to work on my mac :( if i put
from pymel import * a=[-1,1,0] b=[-1,-1,0] c=[1,1,0] d=[1,-1,0] center([a,b,c,d]) print center i got: # Error: name 'center' is not defined # Traceback (most recent call last): # File "<maya console>", line 6, in <module> # NameError: name 'center' is not defined # i tried also Ofers suggestion v1 = Vector([1,2,3]) v2 = Vector([2,3,4]) print v1 + v2 with a same effect: # Error: cannot import name Vector # Traceback (most recent call last): # File "<maya console>", line 1, in <module> # ImportError: cannot import name Vector # and what means *args? All the Best! Dimitry --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---