Posts Tagged 'command'

The Maya Move Command

Posted by:

As per usual Autodesk documentation on this is abysmal.  The following explanation of the absolute flag is taken directly from the Autodesk website:

absolute(a)
Perform an absolute operation

Are you kidding me Autodesk?  That’s bush league man!  You couldn’t get away with that in 3rd grade.  You get an F!

So I did extensive research and experimentation with the move command and as I did so I wrote out my notes, and here they are, you are welcome.

First of all, translating an object uses ...

Continue Reading →
0

IK handle disappears and fails while parenting, Maya, Python

Posted by:

So I wrote a function to parent IK Handles under a shape and after the parent there was no IK handle and it didn’t work.
Autodesk documentation says the the return is a string, but it is actually a list.
It turns out that what is returned in an IkHandle() command is both the handle and the effector,  In that order.  So if you want that to work you have to specify the handle:
cmds.parent(ikHandle[0], parentShape)

Continue Reading →
0