manage_view
Control CAD camera viewport, zoom, 3D viewpoint presets, and shading styles; capture screenshots and step undo/redo without modifying drawing entities.
Instructions
Control CAD camera viewport, display zoom, 3D viewpoint presets, and visual shading styles.
Behavior:
Mutation: Modifies interactive viewport display state (zoom factor, center point, view direction, visual style) in the active CAD editor window. Does NOT modify drawing database entities.
Persistence: Viewport changes persist in the active drawing session until manually adjusted or closed.
Side Effects: Refreshes display graphics in active CAD GUI. In screenshot/preview operations, reads screen framebuffer and returns base64 image data.
Usage Guidelines:
When to Use: Call whenever navigating the drawing, zooming to extents (ze), zooming into specific coordinates (zw), switching to 3D axonometric perspectives (preset|iso_sw), changing shading (style|realistic), or stepping through history (undo/redo).
Sibling Routing / Alternatives:
For creating, configuring, or activating paperspace sheet presentations and architectural viewports, use
manage_layouts.For launching an interactive web-based canvas viewer for human inspection in the browser, use
show_drawing_viewer.For exporting vector PDF sheets or SVG files to disk, use
export_data.
Shorthand Grammar (one command per line or semicolon-separated):
ze (or zoom_extents): Zoom to fit all drawing entities in viewport.
zw|x1,y1|x2,y2 (or zoom_window): Zoom into rectangular window bounds.
zc|x,y|mag (or zoom_center): Center view on coordinate (x,y) with optional magnification factor.
preset|top|bottom|front|back|left|right|iso_sw|iso_se|iso_ne|iso_nw: Switch 3D or orthographic viewpoint.
style|2d|wireframe|conceptual|realistic|shaded|hidden: Set visual rendering mode.
screenshot / preview: Capture visual raster snapshot of current drawing viewport.
undo|count / redo|count: Step backward or forward in CAD session history (default count: 1).
Parameters:
operations: Shorthand string commands (one per line) or JSON array of operation objects.
Returns: JSON string containing per-operation execution results, success status, and details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operations | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |