scene
scene
¶
MCP tool wrappers for Houdini scene operations.
Each tool delegates to the corresponding handler running inside Houdini via the HTTP bridge.
Functions:
| Name | Description |
|---|---|
export_file |
Export a node's output to a file on disk. |
get_context_info |
Get information about a Houdini network context. |
get_houdini_connection_status |
Check the Codex-to-Houdini bridge without raising on disconnect. |
get_scene_info |
Get information about the current Houdini scene. |
import_file |
Import a geometry, USD, or Alembic file into the scene. |
load_scene |
Open or merge a Houdini hip file. |
new_scene |
Create a new empty Houdini scene. |
save_scene |
Save the current Houdini scene to disk. |
Classes¶
Functions:¶
export_file
async
¶
get_context_info
async
¶
get_houdini_connection_status
async
¶
get_houdini_connection_status(ctx: Context) -> dict
Check the Codex-to-Houdini bridge without raising on disconnect.
Returns structured connection diagnostics, including the configured bridge URL and Houdini health payload when reachable. Use this before live viewport workflows when Houdini may have restarted or its hwebserver may not be running.
get_scene_info
async
¶
get_scene_info(ctx: Context) -> dict
Get information about the current Houdini scene.
import_file
async
¶
load_scene
async
¶
new_scene
async
¶
new_scene(ctx: Context, save_current: bool = False) -> dict