vw_set_view
Changes the drawing view or zooms to fit visible objects before taking screenshots. Use it to set top, orthogonal, or isometric views without modifying the document.
Instructions
Change the drawing view or zoom to fit, typically before vw_screenshot. Changes how the user sees the document, not the document itself, so it is not journaled and vw_revert_last does not undo it. For a view-independent picture use vw_render_layers instead. Returns {view, fit}.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vw_set_view"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | No | True zooms so every object on visible layers fits the window. | |
| view | No | View to switch to: 'top_plan' (2D plan), the orthogonal 3D views 'top', 'bottom', 'front', 'back', 'left', 'right', or the isometrics 'iso', 'iso_right', 'iso_left'. Omitted: the view is left as it is. |