Export Context

Export Context

Choose your operating system:

Windows

macOS

Linux

On this page

Actions

Cleanup

Discards the currently opened stage. This is critical when using this class via scripting: The C++ destructor will not be called when the python object runs out of scope, so we would otherwise keep a strong reference to the stage

Target is Usd Conversion Blueprint Context

Get Edit Target

Gets the filepath of the current edit target layer of our internal stage

Target is Usd Conversion Blueprint Context

Get Stage Root Layer

Gets the file path of the root layer of our current stage

Target is Usd Conversion Blueprint Context

Set Edit Target

Sets the current edit target of our internal stage. When calling the conversion functions, prims and attributes will be authored on this edit target only

Target is Usd Conversion Blueprint Context

Set Stage Root Layer

Opens or creates a USD stage using StageRootLayerPath as root layer, creating the root layer if needed. All future conversions will fetch prims and get/set USD data to/from this stage. Note: You must remember to call Cleanup() when done, or else this object will permanently hold a reference to the opened stage!

Target is Usd Conversion Blueprint Context