View Full Version : How to match the pivot?

02 February 2008, 07:59 PM
ive tried using the mel script in highend
it does match the pivot location but not orientation
is there a newer script like this?

02 February 2008, 10:38 PM
In python I use:

import maya.cmds as mCmds
mCmds.xform("Object", ws = True , m = (mCmds.xform("Target" , q = True, ws = True, m = True))

You can do the same thing in MEL, with a few more lines.

02 February 2008, 04:21 AM
Thanks BenBarker, how does his script work? im really a newbie :-)

CGTalk Moderation
02 February 2008, 04:21 AM
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.