Call for Submission
NAB 2012 Best of the Best Show Reel
Submit your work today!
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Python / Working with Subtracks in the Story
  RSS 2.0 ATOM  

Working with Subtracks in the Story
Rate this thread
 
30955
 
Permlink of this thread   Subscribe to this thread
avatar
  • Total Posts: 11
  • Joined: 05 June 2009 09:03 AM

Hi all,

I wonder if (and how) it is possible to use subtracks with Python ?

I manage to create a subtrack by using this :
lSubTrack = FBStoryTrack(FBStoryTrackType.kFBStoryTrackAnimation)
lMainTrack.SubTracks.append(lSubTrack)

(It’s certainly not the best way since it first creates a standard track, then add an instance of it as subtrack for my “Maintrack”.)

After that, I can set some properties for the subtrack :
lSubTrack.PassThrough = False
lSubTrack.AcceptKey = True

But it’s getting more complicated when I want to :
- Set my subtrack to “Additive” ?
- Plant a key for each items it contains ?
- Plot

Help !
Thanks.



Replies: 0
avatar

Hi,

I am trying to do the same thing and facing same difficulties with the instance of subtrack,
Does anyone know how can I directly add a subtrack without the instance of standard track?

Thanks



Replies: 0




   
  Settings Choose Theme color: