export_prim_as_file
Export a prim subtree to a self-contained USD file by flattening references and including external materials, ensuring standalone output.
Instructions
Export a prim subtree as a standalone USD file.
Flattens the source (resolves all references) and includes materials even if they live outside the exported subtree. Output is self-contained.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prim_path | Yes | The root of the subtree to export | |
| output_path | Yes | The file to write: .usd, .usda or .usdc (the default) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |