Python Scripting API

Below are links to the various python APIs and snippets for Omniverse and Isaac Sim

Commands Tool

The Commands tool provides an interface that connects the UI operations in Omniverse and Isaac Sim to their corresponding python commands. For more information writing your own commands go here.

Go to Window->Commands to enable it.

../_images/isaac_commands_tool.png

Below are the options that are supported:

  • Search commands: Search for all the commands that can be executed.

  • Clear History: Clears history for all the commands that have been executed and show up in history.

  • Top-level commands: Generate python scripts corresponding to all top-level commands in history and copy to clipboard.

  • Selected commands: Generate python scripts corresponding to selected commands in history and copy to clipboard.

Commands Tool Usage Example

This example demaonstrates a simple scenario of creating a cube followed by changing its transform via UI and then use the Commands tool to get the corresponding python command to replicate the scenario.