Skip to content

Instantly share code, notes, and snippets.

@Neill3d
Created May 16, 2017 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Neill3d/eeebdb9cdf800995bb1257c35f5078e6 to your computer and use it in GitHub Desktop.
Save Neill3d/eeebdb9cdf800995bb1257c35f5078e6 to your computer and use it in GitHub Desktop.
MotionBuilder FBTime GetTimeString/SetTimeString Issue
lTime = FBTime(0,0,0,-1710)
strValue = lTime.GetTimeString()
print strValue
lTime2 = FBTime(0)
lTime2.SetTimeString(strValue)
frameIdx = lTime2.GetFrame()
print frameIdx
# will return 0 !!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment