Sequencer Python API

the Sequencer start and end time codes are governed by the stage start and end time codes. Here’s a snippet to change it through Python:

from pxr import Usd, UsdGeom
import omni.usd

stage = omni.usd.get_context().get_stage()
stage.SetEndTimeCode(300)
1 Like