Read Prims (Legacy)
DEPRECATED - use ReadPrimsV2!
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Apply Skel Binding (inputs:applySkelBinding) |
|
If an input USD prim is skinnable and has the SkelBindingAPI schema applied, read skeletal data and apply SkelBinding to deform the prim. The output bundle will have additional child bundles created to hold data for the skeleton and skel animation prims if present. After execution, deformed points and normals will be written to the points and normals attributes, while non-deformed points and normals will be copied to the points:default and normals:default attributes. |
False |
Attribute Name Pattern (inputs:attrNamesToImport) |
|
A list of wildcard patterns used to match the attribute names that are to be imported Supported syntax of wildcard pattern: ‘*’ - match an arbitrary number of any characters ‘?’ - match any single character ‘^’ - (caret) is used to define a pattern that is to be excluded Example of wildcard patterns, input: [‘points’, ‘faceVertexCount’, ‘faceVertexIndices’, ‘size’] ‘*’ - match any ‘* ^points’ - match any, but exclude ‘points’ ‘* ^face*’ - match any, but exclude ‘faceVertexCount’ and ‘faceVertexIndices’ |
|
Compute Bounding Box (inputs:computeBoundingBox) |
|
For each primitive compute local bounding box and store them as ‘bboxMinCorner’, ‘bboxMaxCorner’ and ‘bboxTransform’ attributes. |
False |
Prim Path Pattern (inputs:pathPattern) |
|
A list of wildcard patterns used to match the prim paths that are to be imported Supported syntax of wildcard pattern: ‘*’ - match an arbitrary number of any characters ‘?’ - match any single character ‘^’ - (caret) is used to define a pattern that is to be excluded Example of wildcard patterns, input: [‘/Cube0’, ‘/Cube1’, ‘/Box’] ‘*’ - match any ‘* ^/Box’ - match any, but exclude ‘/Box’ ‘* ^/Cube*’ - match any, but exclude ‘/Cube0’ and ‘/Cube1’ |
|
Prims (inputs:prims) |
|
The prims to be read from when ‘useFindPrims’ is false |
None |
Metadata |
allowMultiInputs = 1 |
||
Prim Type Pattern (inputs:typePattern) |
|
A list of wildcard patterns used to match the prim types that are to be imported Supported syntax of wildcard pattern: ‘*’ - match an arbitrary number of any characters ‘?’ - match any single character ‘^’ - (caret) is used to define a pattern that is to be excluded Example of wildcard patterns, input: [‘Mesh’, ‘Cone’, ‘Cube’] ‘*’ - match any ‘* ^Mesh’ - match any, but exclude ‘Mesh’ ‘* ^Cone ^Cube’ - match any, but exclude ‘Cone’ and ‘Cube’ |
|
Time (inputs:usdTimecode) |
|
The time at which to evaluate the transform of the USD prim. A value of “NaN” indicates that the default USD time stamp should be used |
NaN |
Use Find Prims (inputs:useFindPrims) |
|
When true, the ‘pathPattern’ and ‘typePattern’ attribute is used as the pattern to search for the prims to read otherwise it will read the connection at the ‘prim’ attribute. |
False |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Prims Bundle (outputs:primsBundle) |
|
An output bundle containing multiple prims as children. Each child contains data attributes and two additional token attributes named sourcePrimPath and sourcePrimType which contains the path of the Prim being read |
None |
State
Name |
Type |
Descripton |
Default |
---|---|---|---|
Apply Skel Binding (state:applySkelBinding) |
|
State from previous execution |
False |
Attr Names To Import (state:attrNamesToImport) |
|
State from previous execution |
None |
Compute Bounding Box (state:computeBoundingBox) |
|
State from previous execution |
False |
Path Pattern (state:pathPattern) |
|
State from previous execution |
None |
Prim Paths (state:primPaths) |
|
State from previous execution |
None |
Type Pattern (state:typePattern) |
|
State from previous execution |
None |
Usd Timecode (state:usdTimecode) |
|
State from previous execution |
-1 |
Use Find Prims (state:useFindPrims) |
|
State from previous execution |
False |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.ReadPrims |
Version |
3 |
Extension |
omni.graph.nodes |
Has State? |
True |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
hidden |
true |
uiName |
Read Prims (Legacy) |
Categories |
sceneGraph,bundle |
Generated Class Name |
OgnReadPrimsDatabase |
Python Module |
omni.graph.nodes |