import USD prim data
Imports data from a USD prim into attributes in an output bundle This node is deprecated, Use ReadPrim nodes instead
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Apply Skel Binding (inputs:applySkelBinding) |
|
If the input USD prim is a Mesh, and has SkelBindingAPI schema applied, compute skinned points and normals. |
True |
Metadata |
displayGroup = parameters |
||
Apply Transform (inputs:applyTransform) |
|
If importAttributes is true, apply the transform necessary to transform any transforming attributes into the space of this node. |
False |
Metadata |
displayGroup = parameters |
||
Attributes To Import (inputs:attrNamesToImport) |
|
Comma or space separated text, listing the names of attributes in the input data to be imported or empty to import all attributes. |
|
Metadata |
displayGroup = parameters |
||
Compute Bounding Box (inputs:computeBoundingBox) |
|
Compute and store local bounding box of a prim and its children. |
False |
Metadata |
displayGroup = parameters |
||
Import Attributes (inputs:importAttributes) |
|
Import attribute data from the USD prim. |
True |
Metadata |
displayGroup = parameters |
||
Import Path (inputs:importPath) |
|
Record the input USD prim’s path into the output bundle in an attribute named “primPath”. |
True |
Metadata |
displayGroup = parameters |
||
Import Primvar Metadata (inputs:importPrimvarMetadata) |
|
Import metadata like the interpolation type for primvars, and store it as attributes in the output bundle. |
True |
Metadata |
displayGroup = parameters |
||
Import Time (inputs:importTime) |
|
Record the usdTimecode above into the output bundle in an attribute named “primTime”. |
True |
Metadata |
displayGroup = parameters |
||
Import Transform (inputs:importTransform) |
|
Record the transform required to take any attributes of the input USD prim into the space of this node, i.e. the world transform of the input prim times the inverse world transform of this node, into the output bundle in an attribute named “transform”. |
True |
Metadata |
displayGroup = parameters |
||
Import Type (inputs:importType) |
|
Deprecated, prim type is always imported |
True |
Metadata |
hidden = true |
||
Metadata |
displayGroup = parameters |
||
Attributes To Rename (inputs:inputAttrNames) |
|
Comma or space separated text, listing the names of attributes in the input data to be renamed |
|
Keep Prims Separate (inputs:keepPrimsSeparate) |
|
Prefix output attribute names with “prim” followed by a unique number and a colon, to keep the attributes for separate input prims separate. The prim paths will be in the “primPaths” token array attribute. |
True |
Metadata |
displayGroup = parameters |
||
New Attribute Names (inputs:outputAttrNames) |
|
Comma or space separated text, listing the new names for the attributes listed in inputAttrNames |
|
Prim (inputs:prim) |
|
The USD prim from which to import data. |
None |
Rename Attributes (inputs:renameAttributes) |
|
If true, attributes listed in “inputAttrNames” will be imported to attributes with the names specified in “outputAttrNames”. |
False |
Metadata |
displayGroup = parameters |
||
Time Varying Attributes (inputs:timeVaryingAttributes) |
|
Check whether the USD attributes are time-varying and if so, import their data at the time “usdTimecode”. |
True |
Metadata |
displayGroup = parameters |
||
Usd Timecode (inputs:usdTimecode) |
|
The time at which to evaluate the transform of the USD prim. |
0 |
Metadata |
displayGroup = parameters |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Output (outputs:output) |
|
Output bundle containing all of the imported data. |
None |
State
Name |
Type |
Descripton |
Default |
---|---|---|---|
Prev Apply Skel Binding (state:prevApplySkelBinding) |
|
Value of “applySkelBinding” input from previous run |
None |
Prev Apply Transform (state:prevApplyTransform) |
|
Value of “applyTransform” input from previous run |
None |
Prev Attr Names To Import (state:prevAttrNamesToImport) |
|
Value of “attrNamesToImport” input from previous run |
None |
Prev Compute Bounding Box (state:prevComputeBoundingBox) |
|
Value of “computeBoundingBox” input from previous run |
None |
Prev Import Attributes (state:prevImportAttributes) |
|
Value of “importAttributes” input from previous run |
None |
Prev Import Path (state:prevImportPath) |
|
Value of “importPath” input from previous run |
None |
Prev Import Primvar Metadata (state:prevImportPrimvarMetadata) |
|
Value of “importPrimvarMetadata” input from previous run |
None |
Prev Import Time (state:prevImportTime) |
|
Value of “importTime” input from previous run |
None |
Prev Import Transform (state:prevImportTransform) |
|
Value of “importTransform” input from previous run |
None |
Prev Import Type (state:prevImportType) |
|
Value of “importType” input from previous run |
None |
Prev Input Attr Names (state:prevInputAttrNames) |
|
Value of “inputAttrNames” input from previous run |
None |
Prev Inv Node Transform (state:prevInvNodeTransform) |
|
Inverse transform of the node prim from the previous run. |
None |
Prev Keep Prims Separate (state:prevKeepPrimsSeparate) |
|
Value of “keepPrimsSeparate” input from previous run |
None |
Prev Only Import Specified (state:prevOnlyImportSpecified) |
|
Value of “onlyImportSpecified” input from previous run |
None |
Prev Output Attr Names (state:prevOutputAttrNames) |
|
Value of “outputAttrNames” input from previous run |
None |
Prev Paths (state:prevPaths) |
|
Array of paths from the previous run. |
None |
Prev Rename Attributes (state:prevRenameAttributes) |
|
Value of “renameAttributes” input from previous run |
None |
Prev Time Varying Attributes (state:prevTimeVaryingAttributes) |
|
Value of “timeVaryingAttributes” input from previous run |
None |
Prev Transforms (state:prevTransforms) |
|
Array of transforms from the previous run. |
None |
Prev Usd Timecode (state:prevUsdTimecode) |
|
Value of “usdTimecode” input from previous run |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.ImportUSDPrim |
Version |
1 |
Extension |
omni.graph.nodes |
Icon |
ogn/icons/omni.graph.ImportUSDPrim.svg |
Has State? |
True |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
hidden |
true |
uiName |
import USD prim data |
Generated Class Name |
OgnImportUSDPrimDatabase |
Python Module |
omni.graph.nodes |