find_error_nodes
Scan Houdini scene nodes from a root path to find errors and warnings in one call. Returns lists of errors and warnings with optional limits, enabling quick post-build health checks.
Instructions
扫描场景中的错误与警告节点。
从 root_path 出发,单次调用 node.allSubChildren() 收集所有后代节点,
返回 errors 与 warnings 双列表。include_warnings 默认 True(PR 11 行为);
max_warnings 限制警告条目数(超过返 _warnings_truncated 标记);
max_errors 限制错误条目数(None 表示不限)。适合场景构建完成后做
一次性体检,比逐节点 cook_node 更快。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ctx | Yes | ||
| root_path | No | / | |
| max_errors | No | ||
| max_warnings | No | ||
| include_warnings | No |