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: 

Story Track

2 REPLIES 2
Reply
Message 1 of 3
rurulesunc
302 Views, 2 Replies

Story Track

Hello all.

I am trying to get the in and out points of my story tracks. I can grab the Start and Stop but I also need the in and out points for the clips which dont match the timecode of the scene. Sorry if this is confusing, I havent been able to find any information on the terminology that I should be using. Basically, when you select a story track it shows you 4 timecodes and I need to be able to grab all of those.

Here's what I have:

story = FBStory()

stofo = story.RootFolder
for track in stofo.Tracks:
for clip in track.Clips:
print clip.Start.GetTimeString()
print clip.Stop.GetTimeString()



Then I have tried MarkIn, MarkOut, and ShotActionStart and ShotActionStop. None of those give me the numbers that I need. Help! Thanks!
2 REPLIES 2
Message 2 of 3
_KxL_
in reply to: rurulesunc

Not sure, but are you looking for this two:

from pyfbsdk import *

lStoryFolder = FBStory().RootFolder
for lTrack in lStoryFolder.Tracks:
for lClip in lTrack.Clips:
print lClip.PropertyList.Find('FirstLoopMarkIn').Data.GetTimeString()
print lClip.PropertyList.Find('LastLoopMarkOut').Data.GetTimeString()
Message 3 of 3
rurulesunc
in reply to: rurulesunc

Thats exactly what I needed. Thanks so much!

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

Post to forums  

Autodesk Design & Make Report