MotionBuilder Forum
Welcome to Autodesk’s MotionBuilder Forums. Share your knowledge, ask questions, and explore popular MotionBuilder topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Timeline

3 REPLIES 3
Reply
Message 1 of 4
rurulesunc
319 Views, 3 Replies

Timeline

I have a new question. Is there a way to access the timeline and the start and end points. I know how to access the take in and out points but is there a way to find it from the timeline? I have takes that wont run through the entire timeline.

Thanks!
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: rurulesunc



print FBPlayerControl().ZoomWindowStart.GetFrame
print FBPlayerControl().ZoomWindowStop.GetFrame

Message 3 of 4
pangloss
in reply to: rurulesunc

For anyone else who finds this thread like I did, here's a modification to get the frame number:


#Returns frame in a 30 count
FBPlayerControl().ZoomWindowStop.GetFrame()
19L


This is returned in a 30 count, but my end frame is really 1369, to get the real end frame number, try this:


#Returns frame number as int
int(FBPlayerControl().ZoomWindowStop.GetFrame(True))
1369
Message 4 of 4
_KxL_
in reply to: rurulesunc

OK, to make everything clear. When you call GetFrame() or GetFrame(False) you will get frame in count of chosen fps (in Transport Control).

Cheers

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report