20 TCProp = cube.PropertyCreate(
'TimeCode_2997_Drop', FBPropertyType.kFBPT_TimeCode,
'TimeCode',
True,
True,
None )
21 TCProp.SetAnimated(
True)
25 cube.Visibility =
True
30 Player.Goto(
FBTime(0,0,0,0))
31 tc.SetTimeCode(0,0,0,1.0)
36 Player.Goto(
FBTime(0,0,0,10))
37 tc.SetTimeCode(0,0,0,10.0)
42 tc.SetTimeCode(0,0,0,20.0)
44 TCProp.KeyAt(
FBTime(0,0,0,20))
47 Player.Goto(
FBTime(0,0,0,5))
49 print "Frame %f" % tc.Frame