How to match the pivot?

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2008   #1
How to match the pivot?

ive tried using the mel script in highend
http://www.highend3d.com/maya/downl...tcher-2672.html
it does match the pivot location but not orientation
is there a newer script like this?
__________________
“Great minds discuss ideas;
average minds discuss events;
small minds discuss people.”
Eleanor Roosevelt
 
Old 02 February 2008   #2
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.
__________________
-Ben

 
Old 02 February 2008   #3
Thanks BenBarker, how does his script work? im really a newbie :-)
__________________
“Great minds discuss ideas;
average minds discuss events;
small minds discuss people.”
Eleanor Roosevelt
 
Old 02 February 2008   #4
Thread automatically closed

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.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright ©2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 12:54 AM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.