set_viewport_camera
Point a Houdini viewport at an OBJ camera or USD prim by specifying its camera path, so you can inspect the scene from the desired camera.
Instructions
Look through an OBJ camera or a USD prim (e.g. /world/cam).
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": {
"camera_path": "<camera_path>"
},
"name": "set_viewport_camera"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| viewer | No | ||
| camera_path | Yes | ||
| camera_prim | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |