- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am trying to automate some tasks in MotionBuilder using the python api, part of our current work follow is.
Creating a story video track
Importing a mov file
Open the Asset Settings
Enable "Show Embedded Timecode" which displays the embedded timecode in the Mark In field
copy the "Mark In" to the "In".
I have written the following code to automate all this but it don't seem to work.
```
lSystem = FBSystem()
path = "D:/Path/To.mov"
lStoryTrack = FBStoryTrack(FBStoryTrackType.kFBStoryTrackVideo)
lStoryClip = FBStoryClip(path, lStoryTrack, lSystem.LocalTime)
lStoryClip.ShowEmbeddedTimecode = True
lStoryClip.Start = lStoryClip.MarkIn
```
I have printed what's in "lStoryClip.MarkIn" but just get "FBTime(0)" this would indicate ShowEmbeddedTimecode does not store the Embedded Timecode in MarkIn like it does in the interface., is there another way to get the Embedded Timecode in the python api?
Thanks,
Mark
Solved! Go to Solution.