set_node_position
Set a node's position in the network editor by providing its path and X, Y coordinates. Returns path, position, and success flag, or raises an error if the node does not exist.
Instructions
设置节点在 network editor 中的位置。
参数说明:
- node_path: 节点路径。
- x: x 坐标(Houdini units)。
- y: y 坐标。
返回 dict 包含 path / position / success 三项;
节点不存在时函数会抛 ValueError。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| ctx | Yes | ||
| node_path | Yes |