Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® MotionBuilder® / Python / Plot Clip from Storymode
  RSS 2.0 ATOM  

Plot Clip from Storymode
Rate this thread
 
21876
 
Permlink of this thread  
avatar
  • SteveD
  • Posted: 26 January 2009 10:44 AM
  • Total Posts: 4
  • Joined: 08 April 2008 07:06 PM

Hi,

is it possible to split a clip in the storymode and plot each clip to a new Take?

The problem is when I split a Clip and export each splitted Clip to a file so each file has the same content. *

Now i would like to plot each clip. create a new storytrack an past each Take to Storytrack. When i do this manually it works, so i search a solution with python.

*Here is the code:

lStoryFolder FBStory().RootFolder
  count 
0
  
for lTrack in lStoryFolder.Tracks:
       for 
lClip in lTrack.Clips:
            
filename "%s\%s_%s.fbx" % (lFp.Path,exportname,count)
            
result lClip.ExportToFile(filename)
            
            
if result:
              print 
"File exported - " filename
              
            count 
count 1


Replies: 0