Community
from pyfbsdk import *
try:
lTrack = FBStoryTrack(FBStoryTrackType.kFBStoryTrackAnimation)
lTrack.Label = "Animation Track"
lAnim = "C:\example.fbx"
lClip = FBStoryClip (lAnim, lTrack, FBTime(0,0,1,0))
lClip.Loop = 0
lClip.AutoLoop = 0
lClip.OffsetEnable = 1
lClip.Start = FBTime(0,0,1,5)
lClip.Offset = FBTime(0,0,3,0)
lClip.Stop = FBTime(0,0,6,1)
lClip.FirstLoop = FBTime(0,0,0,15)
lClip.LastLoop = FBTime(0,0,20,1)
lClip.MarkOut = FBTime(1,20,20,1)
except IOError:
FBMessageBox( "Cannot Continue", "Unable to read the audio track definition file you selected or you have not selected one.", "OK", None, None )
exit
Can't find what you're looking for? Ask the community or share your knowledge.