PDA

View Full Version : MEL: get xforms at another frame


john_homer
11-15-2002, 01:07 AM
is it possible to query an object with the xform function at a specific frame (ie. not the currentfame)

say I'm on frame 10 and i want to know the rotates on a locator at frame 1. without going to frame 1.

thanks
.j

danyrey
11-15-2002, 06:33 AM
Hi,
dont know if this is what you want, but a simple getAttr should do for the simple attributes:

getAttr -time 12 nurbsSphere1.translateZ
or
getAttr -time 12 nurbsSphere1.matrix
or
getAttr -time 12 nurbsSphere1.xformMatrix

use listAttr to get the Attribute you want

greets,
-daniel

john_homer
11-15-2002, 07:53 PM
yeah, i really need to use xform -ws...

CGTalk Moderation
01-13-2006, 12:00 PM
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.