flatten_usd
Resolve all references, payloads, and sublayers in a USD file into a single flattened file; omit the input path to flatten the current stage.
Instructions
Flatten a USD file: resolve all references, payloads, sublayers into one file.
If input_path is omitted, flattens the current stage.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | No | The USD file to flatten; the open stage when empty | |
| output_path | Yes | The flattened USD file to write |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |