get_usd_prim_stats
Count USD prims by type under a root path in a Houdini LOP node, optionally traversing instance proxies to include prototype contents.
Instructions
Get prim counts by USD type under a root path.
Instanced geometry counts once per prototype, not per instance:
instanceable_prims says how many prims were counted without their
contents, and traverse_instance_proxies counts what is under them.
Args: node_path: LOP node path. prim_path: Root prim path to gather stats from. traverse_instance_proxies: Count prims under instanceable prototypes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"node_path": "<node_path>"
},
"name": "get_usd_prim_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | ||
| prim_path | No | / | |
| traverse_instance_proxies | No |