Trigger "play" and "stop" using python scripts in script editor possible?

Hello, is it possible to trigger “play” and “stop” using python scripts in the script editor ? Thanks!


stop

The following is how you can play and stop using python.

from omni.timeline import get_timeline_interface

timeline = get_timeline_interface()

timeline.play()

timeline.stop()
1 Like

It works! Thank you!

1 Like

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