x3d_list_defs
List all named (DEF) nodes in an X3D scene with their node type, parent, and children for context. Use to find targets for extracting or adding nodes.
Instructions
List all DEF'd (named) nodes in an X3D scene.
DEF names are unique identifiers assigned to nodes in X3D, similar to
HTML id attributes. Returns each DEF name with the node type, parent,
and children for context. Use this to find targets for x3d_extract_node
or x3d_add_node.
Args:
x3d_source: Either an absolute file path to a .x3d file, or a complete
X3D XML document string.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x3d_source | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |