Thanks Judd I did not realize I could get global matrix from the transform directly with getAttr. I will try it when I get in front of Maya. Right now total currentTime calls take over 50% of the time. Yury
On Fri, Sep 9, 2011 at 7:37 PM, <[email protected]> wrote: > Hey man, > > You can actually query the matrix attribute with getAttr -t...or if you dig > into open maya there is a MDGContext you can use with an MPlug on the > getValue() call...just keep in mind if you're evaluating multiple controls > it might be quicker to walk the timeline and let everything evaluate at once > and then query values, instead of re-evaluating the dg on each getAttr call. > ------Original Message------ > From: ynedelin > Sender: [email protected] > To: python_inside_maya > ReplyTo: [email protected] > Subject: [Maya-Python] xform at a particular frame/time > Sent: Sep 10, 2011 2:57 AM > > hey all > > > do you guys know if it's possible to get global matrix at a given time > without having to set current time > > 'getAttr' has a 'time' flag, can similar thing be done with xform? > > > thanks > > Yury > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > > Sent via my BlackBerry from Vodacom - let your email find you! > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
