Samples#

"""
How to get current timeline name
"""
from pybmd import Resolve
LOCAL_RESOLVE = Resolve()
#get current timeline
project_manager=LOCAL_RESOLVE.get_project_manager()
current_project=project_manager.get_current_project()
current_timeline=current_project.get_current_timeline()
#get timeline name
current_timeline.get_name()
"""
How to use StillManager to grab a still from timeline markers
"""
from pybmd import Resolve
LOCAL_RESOLVE = Resolve()

EXPORT_PATH = "./Stills"

current_project=LOCAL_RESOLVE.project_manager().get_current_project()
still_manager = pybmd.toolkits.StillManager(current_project)

still_manager.grab_still_from_timeline_markers()
still_manager.export_stills(EXPORT_PATH)