Clear Variant Selection
This node will clear the variant selection of the prim on the layer defined in “Layer Identifier”. Final variant selection will be determined by layer composition below the targeted layer. In a single layer stage, this will be the fallback variant defined in your variantSet.
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Exec In (inputs:execIn) |
|
Signal to the graph that this node is ready to be executed. |
None |
Layer Identifier (inputs:layerIdentifier) |
|
Identifier of the USD layer to clear data from. Identifier can be empty, “<Session Layer>”, “<Root Layer>” or the identifier of a sublayer. If empty or invalid, data will be cleared from the current layer. |
|
Prim (inputs:prim) |
|
The prim with the variantSet |
None |
Set Variant (inputs:setVariant) |
|
Clears the variant selection when finished rather than writing to the attribute values |
False |
Variant Set Name (inputs:variantSetName) |
|
The variantSet name |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Exec Out (outputs:execOut) |
|
Signal to the graph that execution can continue downstream. |
None |
State
Name |
Type |
Descripton |
Default |
---|---|---|---|
Layer Identifier (state:layerIdentifier) |
|
The prefetched layer identifier. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.ClearVariantSelection |
Version |
3 |
Extension |
omni.graph.nodes |
Icon |
ogn/icons/omni.graph.nodes.ClearVariantSelection.svg |
Has State? |
True |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Clear Variant Selection |
Categories |
graph:action,sceneGraph,variants |
Generated Class Name |
OgnClearVariantSelectionDatabase |
Python Module |
omni.graph.nodes |