compare_prims
Compare two USD prims or two variants side by side to inspect mesh counts, bounds, and materials with clear deltas. Use it to spot scene differences or variant changes quickly.
Instructions
Compare two prims or two variants: mesh counts, bounds, materials.
Two modes:
1. Prim comparison: provide prim_path_a and prim_path_b
2. Variant comparison: provide prim_path, variant_set, variant_a, variant_b
Returns side-by-side stats with deltas. Properly clears BBoxCache between
variant switches to avoid stale data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prim_path | No | Two variants: the prim that has them | |
| variant_a | No | Two variants: the first | |
| variant_b | No | Two variants: the second | |
| prim_path_a | No | Two prims: the first | |
| prim_path_b | No | Two prims: the second | |
| variant_set | No | Two variants: their variant set |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |