FORUMS: list search recent posts

Importing anim keys at current time

COW Forums : Autodesk Maya

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Serge Marcotte
Importing anim keys at current time
on Feb 3, 2011 at 10:38:02 pm

Scripting question. I'm importing a small range of animated keys to controller on a rig. In the import options, I select "Time range: Current" to make sure the keys start at my current time (let's say, frame 60). This works as expected.

The problem is when I save this to a shelf button. The script reads "Time=60". But I don't necessarily want it at frame 60. I want it at my current time.

Knowing nothing at all about scripting, I opened the script and tried, in vain, to replace "60" with "current". No good.

How can make this work?

Many thanks.



Return to posts index

Subhash Naveen
Re: Importing anim keys at current time
on Mar 7, 2011 at 5:13:31 pm

Hi Serge,

Trying changing it to 'currentTime' with out the quotes and see if it works.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]