Created
March 6, 2013 00:59
-
-
Save OmniZ3D/5095861 to your computer and use it in GitHub Desktop.
gets the current frame range / "zoom slider" from mobu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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