OmniGraph Script NodeΒΆ

Provides the Script Node for use in OmniGraph graphs. This node allows custom python code to be executed when the node is computed. The python code is compiled and computed when the graph runs using the embedded interpreter in Kit. The python script itself is stored as an attribute value in the USD where the graph is stored. Dynamic inputs and output attributes can be added to the node to provide inputs and outputs from the script.

Warning

There is currently no limitation on what code can be executed by this node. This means that graphs that contain these nodes should only be used when the author of the graph is trusted. For example malicious code could be included in the USD as part of the saved Script Node, which will be executed with the same system credentials as the user who opens the file in Kit.

Extension: omni.graph.scriptnode

Documentation Generated: Aug 15, 2022