How to read the output of a Action Graph Node in python

I have an Action Graph with some nodes and I want to read the output of a node from python. How can I do it?

I use this code:

import omni.isaac.core.utils.prims as prims_utils
value = prims_utils.get_prim_property(prim_path="/World/ActionGraph_01/multiply_01", property_name="outputs:product")

but value is always None.

I see the property name by hoovering with the mouse and I can see this property in the Raw USD properties. How can I can retrieve this value from python?

image

image

1 Like

Hi @federico.domeniconi. I’ve moved this to the Isaac Sim forum as it looks like you’re using the Isaac API for this.

If someone else finds this question:

https://docs.omniverse.nvidia.com/isaacsim/latest/advanced_tutorials/tutorial_advanced_omnigraph_scripting.html

existing_text = og.Controller.attribute("/action_graph/print.inputs:text").get()

print("Existing Text: ", existing_text)