get_selection
Fetch the current SketchUp selection as structured JSON. Identifies selected groups/components with ID, name, type, layer, depth, and bounding box, while listing other entities by ID and type.
Instructions
Get the entities currently selected in the SketchUp UI.
Returns: JSON {entities: [...]} — groups/components are {id, name, type, layer, depth, bbox_mm|null}; other selected entities (edges, faces, ...) are {id, type} only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |