Skip to content

Instantly share code, notes, and snippets.

@OmniZ3D
Created March 6, 2013 00:59
Show Gist options
  • Save OmniZ3D/5095861 to your computer and use it in GitHub Desktop.
Save OmniZ3D/5095861 to your computer and use it in GitHub Desktop.
gets the current frame range / "zoom slider" from mobu
## snippet function
from pyfbsdk import *
from pyfbsdk_additions import *
def getZoomStartEndFrames():
""" getFrameRange of Zoom Slider
returns start and end """
lPlayer = FBPlayerControl()
lStartFr = lPlayer.ZoomWindowStart.GetTimeString()
lEndFr = lPlayer.ZoomWindowStop.GetTimeString()
return lStartFr, lEndFr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment