# Copyright 2009 Autodesk, Inc. All rights reserved. # Use of this software is subject to the terms of the Autodesk license agreement # provided at the time of installation or download, or which otherwise accompanies # this software in either electronic or hard copy form. # # Topic: FBStory, FBStoryTrack, FBStoryClip # from pyfbsdk import FBStory lStory = FBStory() for lTrack in lStory.RootFolder.Tracks: print 'Track: ', lTrack.Name for lClip in lTrack.Clips: print ' Clip: ', lClip.Name, '[', lClip.Start.GetFrame( True ), ',', lClip.Stop.GetFrame( True ), ']' # Cleanup. del( lClip ) # Cleanup. del( lTrack ) # Cleanup of local symbols. del( lStory ) # Cleanup of external symbols. del( FBStory )