Get current window
get_current_windowRetrieve the active Archicad window's type, view settings, and context. Use before capturing or zooming a view to confirm what is displayed.
Instructions
Returns the active Archicad window: {type: FloorPlan | 3DModel | Section | Elevation | InteriorElevation | Detail | Worksheet | Layout | MasterLayout | DocumentFrom3D | ..., database (GUID), name, reference, title, linkedElement, story {index, name, level} (floor plan), drawingScale (N of 1:N), zoom {xMin,yMin,xMax,yMax} (2D, m), projection (3D)}. Call it before capture_view/zoom to know what is shown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||