# Feature Request: Export OmniGraph from UI to Python Script

**URL:** <https://forums.developer.nvidia.com/t/feature-request-export-omnigraph-from-ui-to-python-script/342275>\
**Category:** Isaac Sim\
**Created:** [August 17, 2025, 2:58am UTC](https://forums.developer.nvidia.com/t/feature-request-export-omnigraph-from-ui-to-python-script/342275 "2025-08-17T02:58:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nishanthrajkumar1](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@nishanthrajkumar1](https://forums.developer.nvidia.com/u/nishanthrajkumar1)\
**Post date:** [August 17, 2025, 2:58am UTC](https://forums.developer.nvidia.com/t/feature-request-export-omnigraph-from-ui-to-python-script/342275/1 "2025-08-17T02:58:56Z")

</div>

I wanted to check if Isaac Sim currently supports this before framing it as a feature request. Is there a way to build an OmniGraph through the Isaac Sim UI and then export the graph (all nodes and their connections) into a Python file automatically?

If not, this would be an awesome feature to have. It would let users quickly prototype workflows visually in the UI, then generate a Python script version for automation, reproducibility, or integration into larger codebases. It would save a lot of time compared to manually recreating the same graphs in Python and would also make collaboration easier when sharing setups.

Does such a functionality exist already? If not, I would love to request it as a new feature.

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [August 20, 2026, 9:57pm UTC](https://forums.developer.nvidia.com/t/feature-request-export-omnigraph-from-ui-to-python-script/342275/2 "2026-08-20T21:57:10Z")

</div>

The short answer: **no direct UI-to-Python export exists today**. The feature you are  
describing is a genuine gap – and you are not alone in asking for it. An earlier  
thread covers the same ground with an official staff response:

> **Related:** [Converting Action Graphs to scripts](https://forums.developer.nvidia.com/t/converting-action-graphs-to-scripts/254721)  
> – staff confirmed in 2023 that direct conversion is not available, and the  
> recommended path is to use the Python scripting API.

Here is what is available as a workaround:

* * *

**Option 1 – Read the graph from USD**

OmniGraph graphs are stored as standard USD prims on the stage. After building a graph  
in the Action Graph editor, you can save the scene as `.usda` (human-readable ASCII  
USD) and inspect the graph structure directly. Every node type, attribute value, and  
connection is represented as USD attributes on prims under your graph path (e.g.,  
`/action_graph/OnPlaybackTick`, etc.). You can write a short script to traverse those  
prims and reconstruct the equivalent Python calls from the data.

**Option 2 – Use `og.inspect().as_json()` as a reference**

The `omni.graph.core` inspection API can serialize the current graph state to JSON:

```python
import omni.graph.core as og

graph = og.get_graph_by_path("/action_graph")
print(og.inspect().as_json(graph))

```

This outputs the node types, connections, and attribute values in a structured format.  
It is not a Python script generator, but it gives you everything you need to write  
the equivalent `og.Controller.edit()` block.

**Option 3 – Rebuild in Python using `og.Controller`**

The official path for programmatic graph creation is `og.Controller`:

```python
import omni.graph.core as og

og.Controller.edit(
    {"graph_path": "/action_graph", "evaluator_name": "execution"},
    {
        og.Controller.Keys.CREATE_NODES: [
            ("OnPlaybackTick", "omni.graph.action.OnPlaybackTick"),
            ("PrintText", "omni.graph.action.PrintText"),
        ],
        og.Controller.Keys.CONNECT: [
            ("OnPlaybackTick.outputs:tick", "PrintText.inputs:execIn"),
        ],
        og.Controller.Keys.SET_VALUES: [
            ("PrintText.inputs:text", "Hello World"),
        ],
    },
)

```

Full walkthrough: [OmniGraph via Python Scripting Tutorial](https://docs.isaacsim.omniverse.nvidia.com/6.0.1/omnigraph/omnigraph_scripting.html)

* * *

For common robotics graphs (differential controller, ROS bridge setups, etc.) there  
are pre-built shortcuts under `Tools > Robotics > OmniGraph Controllers` that  
generate the graph with a few clicks and are themselves backed by Python – you can  
read those functions as examples of what the Python equivalent looks like.

The “build in UI, export as Python” round-trip you are describing would be a useful  
feature and I am logging this as a feature request. In the meantime, Options 1 and 2  
above give you the graph description in a machine-readable form that makes writing  
the Python version straightforward.

* * *

Closing this thread. If you have follow-up questions on the Python scripting API,  
please open a new topic and reference this one.

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [August 20, 2026, 9:57pm UTC](https://forums.developer.nvidia.com/t/feature-request-export-omnigraph-from-ui-to-python-script/342275/3 "2026-08-20T21:57:15Z")

</div>

Closed on August 20, 2026, 9:57pm UTC


