List Viewports
viewport_listList paper-space viewports and retrieve their handle, geometry, scale, lock state, and main viewport status for CAD automation.
Instructions
List paper-space viewports: handle, geometry, scale and lock state.
The layout's own main viewport is included with is_main: true — it is the
tab's pan/zoom state rather than a drafting viewport, and it is what remains
after every drafting viewport is deleted. scale and locked are null on
documents that cannot store them (R12) rather than fabricated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layout | No | Restrict to one paper-space layout. Empty covers every sheet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||