export USD prim data

Exports data from an input bundle into a USD prim

Installation

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

Inputs

Name

Type

Description

Default

bundle

bundle

The bundle from which data should be exported.

primPathFromBundle

bool

When true, if there is a primPath token attribute inside the bundle, that will be the path of the USD prim to write to, else the outputs:prim attribute below will be used for the USD prim path.

False

applyTransform

bool

If true, apply the transform necessary to transform any transforming attributes from the space of the node into the space of the specified prim.

False

usdTimecode

double

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

0

timeVaryingAttributes

bool

Check whether the USD attributes should be time-varying and if so, export their data to a time sample at the time usdTimecode.

False

onlyExportToExisting

bool

If true, only attributes that already exist in the specified output prim will have data transferred to them from the input bundle.

False

renameAttributes

bool

If true, attributes listed in inputAttrNames will be exported to attributes with the names specified in outputAttrNames. Note: to avoid potential issues with redundant attributes being created while typing, keep this off until after specifying all input and output attribute names.

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

excludedAttrNames

token

Attributes to be excluded from being exported

attrNamesToExport

token

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

removeMissingAttrs

bool

If true, any attributes on the USD prim(s) being written to, that aren’t in the input data, will be removed from the USD prim(s).

False

exportToRootLayer

bool

If true, prims are exported in the root layer, otherwise the layer specified by layerName is used.

True

layerName

token

Identifier of the layer to export to if exportToRootLayer is false, or leave this blank to export to the session layer

Outputs

Name

Type

Description

Default

prim

bundle

The USD prim(s) to which data should be exported if primPathFromBundle is false or if the bundle doesn’t have a primPath token attribute. Note: this is really an input, since the node just receives the path to the prim. The node does not contain the prim.