how to move the pivot of a nurb ctrl?


#1

anyone know how I can move the pivot of a nurb ctrl using python?
I tried to use the rotatePivot with cmds.move but doesn’t seem like it’s doing anything…help if anyone knows


#2

try xform instead of move.
http://download.autodesk.com/global/docs/maya2012/en_us/CommandsPython/xform.html

mc.xform(sel,a=True,ws=True,piv=[0,0,0])

#3

wooo it worked
thanks guy…or should i say
thanks mate


#4

lol no worries.


#5

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.