Python Script#
Key: pythonScript
Note
Python-hosted operation: available through the usd-optimize Python wheel / bindings, but not the standalone usdOptimize CLI (which does not initialize a Python interpreter).
This operation executes user defined python code with access to the current stage. It can be used to manipulate the stage in ways not currently supported by Usd Optimize. The python script can be stored in the Preset configuration file, making it reusable and portable.
Arguments#
Python Script#
The Python script to execute.
Name:
pythonType:
strDefault Value:
"cHJpbnQoIkhlbGxvIHdvcmxkISIp"