OmniGraph Node omni.graph.ExportUSDPrim

omni.graph.ExportUSDPrim Properties

Name

Value

Version

1

Extension

omni.graph.io

Icon

ogn/icons/omni.graph.ExportUSDPrim.svg

Has State?

True

Implementation Language

C++

Default Memory Type

cpu

Generated Code Exclusions

None

uiName

export USD prim data

__tokens

{“primPath”: “primPath”, “primType”: “primType”, “primTime”: “primTime”, “primCount”: “primCount”, “transform”: “transform”}

Generated Class Name

OgnExportUSDPrimDatabase

Python Module

omni.graph.io

omni.graph.ExportUSDPrim Description

Exports data from an input bundle into a USD prim

omni.graph.ExportUSDPrim Inputs

Name

Type

Default

Required?

Descripton

inputs:applyTransform

bool

False

Y

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

displayGroup

parameters

__default

false

inputs:attrNamesToExport

token

Y

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

uiName

Attributes To Export

displayGroup

parameters

__default

“”

inputs:bundle

bundle

None

Y

The bundle from which data should be exported.

inputs:excludedAttrNames

token

Y

Attributes to be excluded from being exported

uiName

Attributes To Exclude

__default

“”

inputs:exportToRootLayer

bool

True

Y

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

uiName

Export to Root Layer

__default

true

inputs:inputAttrNames

token

Y

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

uiName

Attributes To Rename

__default

“”

inputs:layerName

token

Y

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

uiName

Layer Name

__default

“”

inputs:onlyExportToExisting

bool

False

Y

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

displayGroup

parameters

__default

false

inputs:outputAttrNames

token

Y

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

uiName

New Attribute Names

__default

“”

inputs:primPathFromBundle

bool

False

Y

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.

displayGroup

parameters

__default

false

inputs:removeMissingAttrs

bool

False

Y

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).

uiName

Export to Root Layer

__default

false

inputs:renameAttributes

bool

False

Y

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.

displayGroup

parameters

__default

false

inputs:timeVaryingAttributes

bool

False

Y

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

displayGroup

parameters

__default

false

inputs:usdTimecode

double

0

Y

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

displayGroup

parameters

__default

0

omni.graph.ExportUSDPrim Outputs

Name

Type

Default

Required?

Descripton

outputs:prim

bundle

None

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.

hidden

true

omni.graph.ExportUSDPrim State

Name

Type

Default

Required?

Descripton

state:prevApplyTransform

bool

None

Y

Value of “applyTransform” input from previous run

state:prevAttrNamesToExport

token

None

Y

Value of “attrNamesToExport” input from previous run

state:prevBundleDirtyID

uint64

None

Y

Dirty ID of input bundle from previous run

state:prevExcludedAttrNames

token

None

Y

Value of “excludedAttrNames” input from previous run

state:prevExportToRootLayer

bool

None

Y

Value of “exportToRootLayer” input from previous run

state:prevInputAttrNames

token

None

Y

Value of “inputAttrNames” input from previous run

state:prevLayerName

token

None

Y

Value of “layerName” input from previous run

state:prevOnlyExportToExisting

bool

None

Y

Value of “onlyExportToExisting” input from previous run

state:prevOutputAttrNames

token

None

Y

Value of “outputAttrNames” input from previous run

state:prevPrimDirtyIDs

uint64[]

None

Y

Dirty IDs of input prims from previous run

state:prevPrimPathFromBundle

bool

None

Y

Value of “primPathFromBundle” input from previous run

state:prevRemoveMissingAttrs

bool

None

Y

Value of “removeMissingAttrs” input from previous run

state:prevRenameAttributes

bool

None

Y

Value of “renameAttributes” input from previous run

state:prevTimeVaryingAttributes

bool

None

Y

Value of “timeVaryingAttributes” input from previous run

state:prevUsdTimecode

double

None

Y

Value of “usdTimecode” input from previous run