PDA

View Full Version : Jumping to specific frames?


Scott Ayers
04-09-2010, 04:16 PM
Other than using the built-in previous frame, next frame, end frame, and start frame commands.
Is there a coffee function that allows you to set the time scrubber to a specific frame?


-ScottA

Darter
04-09-2010, 09:57 PM
This can be done using the BaseTime class:

var bt = doc->GetTime();
bt->SetFrame(45, 30); // SetFrame(frame, fps);
doc->SetTime(bt);

Scott Ayers
04-09-2010, 10:47 PM
Excellent.
This also answers a question I had about the BaseTime class.

Thank you Darter.
-ScottA

CGTalk Moderation
04-09-2010, 10:48 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.