Set Prim Active
Set whether a prim on the Stage is active (selected) or not. Only one prim can be connected to the ‘Prim’ input for execution. If multiple targets are present then a warning will be logged. The ‘Active’ input value will be the prim’s new active state. If the prim cannot be found then an error will be logged. Avoiding use of the deprecated ‘Prim Path’ input will ensure that error cannot be encountered.
Installation
To use this node enable omni.graph.action_nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Active (inputs:active) |
|
Whether to set the prim active or not |
False |
Exec In (inputs:execIn) |
|
Signal to the graph that this node is ready to be executed. |
None |
Prim Path (inputs:prim) |
|
The prim to be (de)activated |
|
Prim (inputs:primTarget) |
|
The prim to be (de)activated |
None |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Execute Out (outputs:execOut) |
|
Signal to the graph that execution can continue downstream. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.action.SetPrimActive |
Version |
2 |
Extension |
omni.graph.action_nodes |
Has State? |
False |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Set Prim Active |
Categories |
graph:action,sceneGraph |
Generated Class Name |
OgnSetPrimActiveDatabase |
Python Module |
omni.graph.action_nodes |