Hello there, I have an extension I have created with a button (scripting through python). When I click the button, I would like the Omniverse simulation to start (play) instead of having to hit the separate play button. How can I achieve this?
you could try using the kit execute command:
import omni.kit.commands
# play
omni.kit.commands.execute('ToolbarPlayButtonClicked')
# pause
omni.kit.commands.execute('ToolbarPauseButtonClicked')
# stop
omni.kit.commands.execute('ToolbarStopButtonClicked')