daz_list_children
List the immediate children of any node in a DAZ Studio scene to explore hierarchy one level at a time or verify if a node has children.
Instructions
List direct children of a node.
Returns only the immediate children (not grandchildren). Useful for exploring hierarchy one level at a time or checking if a node has children.
Args: node_label: Display label or internal name of the parent node.
Returns:
node: Parent node label
children: List of child objects with:
label: Child display label
name: Child internal name
type: DazScript class name
count: Number of children
Example: # List children of Genesis 9 root result = daz_list_children("Genesis 9") # Returns: [{"label": "hip", "name": "hip", "type": "DzBone"}]
# Check if node has children
result = daz_list_children("Camera 1")
# result["count"] == 0 means no children
# List bones under hip
result = daz_list_children("hip")
# Returns: pelvis, lThighBend, rThighBendInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_label | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||