daz_find_nearby_nodes
Searches for all scene nodes within a set radius of a target node, returning distances and directions sorted nearest-first.
Instructions
Find all scene nodes within a specified radius of a target node.
Uses world-space positions to calculate distances. Returns nodes sorted nearest-first with cardinal direction labels.
Args: node_label: Label of the centre node to search around. radius: Search radius in centimetres (default 100 cm). include_types: Filter by type — "figures", "cameras", "lights", "props". None means return all types within radius.
Returns: Dict with center_node, radius, nearby_nodes (list of {label, type, distance, direction}), and count.
Example: daz_find_nearby_nodes("Genesis 9", radius=150) # everything within 1.5 m daz_find_nearby_nodes("Chair", radius=80, include_types=["figures"]) # people near chair
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_label | Yes | ||
| radius | No | ||
| include_types | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||