update_material_paths
Bulk-update material bindings and texture file paths in a USD subtree by replacing an old path prefix with a new one.
Instructions
Bulk-update material reference paths in a subtree.
Updates both relationship targets (material bindings) and asset path
attributes (texture file paths) that start with old_prefix.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prim_path | No | The subtree to update; the whole stage by default | / |
| new_prefix | Yes | What to put in its place, e.g. "/World/Materials" | |
| old_prefix | Yes | The path prefix to find, e.g. "/OldProject/Materials" |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |