import USD prim data#

Imports data from a USD prim into attributes in an output bundle

Installation#

To use this Node, you must enable omni.graph.io in the Extension Manager.

Inputs#

Name

Type

Description

Default

prim

bundle

The USD prim from which to import data.

usdTimecode

double

The time at which to evaluate the transform of the USD prim.

0

keepPrimsSeparate

bool

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

importAttributes

bool

Import attribute data from the USD prim.

True

applyTransform

bool

If importAttributes is true, apply the transform necessary to transform any transforming attributes into the space of this node.

False

computeBoundingBox

bool

Compute and store local bounding box of a prim and its children.

False

importPrimvarMetadata

bool

Import metadata like the interpolation type for primvars, and store it as attributes in the output bundle.

True

importTransform

bool

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

importType

bool

Deprecated, prim type is always imported

True

importPath

bool

Record the input USD prim’s path into the output bundle in an attribute named primPath.

True

importTime

bool

Record the usdTimecode above into the output bundle in an attribute named primTime.

True

timeVaryingAttributes

bool

Check whether the USD attributes are time-varying and if so, import their data at the time usdTimecode.

True

applySkelBinding

bool

If the input USD prim is a Mesh, and has SkelBindingAPI schema applied, compute skinned points and normals.

True

renameAttributes

bool

If true, attributes listed in inputAttrNames will be imported to attributes with the names specified in outputAttrNames.

False

inputAttrNames

token

Comma or space separated text, listing the names of attributes in the input data to be renamed

outputAttrNames

token

Comma or space separated text, listing the new names for the attributes listed in inputAttrNames

attrNamesToImport

token

Comma or space separated text, listing the names of attributes in the input data to be imported or empty to import all attributes.

Outputs#

Name

Type

Description

Default

output

bundle

Output bundle containing all of the imported data.