# Sequencer Python API

**URL:** <https://forums.developer.nvidia.com/t/sequencer-python-api/247200>\
**Category:** Isaac Sim\
**Tags:** create\
**Created:** [March 23, 2023, 3:14pm UTC](https://forums.developer.nvidia.com/t/sequencer-python-api/247200 "2023-03-23T15:14:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yohan.legars](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yohan.legars](https://forums.developer.nvidia.com/u/yohan.legars)\
**Post date:** [March 23, 2023, 3:14pm UTC](https://forums.developer.nvidia.com/t/sequencer-python-api/247200/1 "2023-03-23T15:14:54Z")

</div>

Hello,

Is it possible to change sequencer parameter such as Scene End (see below) via python API?

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/3/7/3799233a1f9f3fec2310d5b47af00e7726bad6ee.png)

Best,  
Yohan

---

<div class="post-metadata">

**Author:** ![rthaker](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/rthaker/32/171374_2.png) [@rthaker](https://forums.developer.nvidia.com/u/rthaker)\
**Post date:** [March 23, 2023, 8:21pm UTC](https://forums.developer.nvidia.com/t/sequencer-python-api/247200/2 "2023-03-23T20:21:36Z")

</div>

Hi @yohan.legars - Please refer to the sequencer document. [Sequencer — Omniverse Create documentation](https://docs.omniverse.nvidia.com/app_create/prod_extensions/ext_sequencer.html)

---

<div class="post-metadata">

**Author:** ![yohan.legars](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@yohan.legars](https://forums.developer.nvidia.com/u/yohan.legars)\
**Post date:** [March 24, 2023, 9:28am UTC](https://forums.developer.nvidia.com/t/sequencer-python-api/247200/3 "2023-03-24T09:28:04Z")

</div>

Please correct me if I am wrong but I am not sure if I can take anything from the link you gave me. It seems to be a GUI documentation.

Is there a isaac sim command that would look like this: **omni.kit.commands.execute(‘sequencer’, ‘end\_scene’ : 1000)?**

best,  
Yohan

---

<div class="post-metadata">

**Author:** ![rgasoto](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/rgasoto/32/21824_2.png) [@rgasoto](https://forums.developer.nvidia.com/u/rgasoto)\
**Post date:** [March 24, 2023, 7:10pm UTC](https://forums.developer.nvidia.com/t/sequencer-python-api/247200/4 "2023-03-24T19:10:44Z")

</div>

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:

```auto
from pxr import Usd, UsdGeom
import omni.usd

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

```

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [April 7, 2023, 7:11pm UTC](https://forums.developer.nvidia.com/t/sequencer-python-api/247200/5 "2023-04-07T19:11:19Z")

</div>

Closed on April 7, 2023, 7:11pm UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
