Open view / window
open_viewOpens and brings a specified Archicad window to the front—floor plan story, 3D view, section, elevation, detail, worksheet, or layout—by name, element, database GUID, or Navigator item.
Instructions
Brings a window to the front: a floor plan story ({window:'FloorPlan', story}), the 3D window ({window:'3D', projection?}), a section/elevation/interior elevation/detail/worksheet/3D document/layout by name ({window:'Section', name:'A-A'}), by marker element ({element}), by database GUID ({database}) or by Navigator item ({navigatorItem}). Returns {opened, window}. Saved views with their layer/scale settings: go_to_view. To look at the result use capture_view.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Name, reference ID or title of the section/elevation/detail/worksheet/layout to open (see list_views; localized) | |
| story | No | Floor plan story to show (index or localized name, see get_stories). Implies window 'FloorPlan' | |
| window | No | Window to open: 'FloorPlan' (+ story), '3D' (+ projection), or a viewpoint type 'Section' | 'Elevation' | 'InteriorElevation' | 'Detail' | 'Worksheet' | 'Layout' | 'MasterLayout' | 'DocumentFrom3D' (+ name, or the only one of that type) | |
| element | No | GUID of a section (CutPlane), elevation, interior elevation, detail or worksheet MARKER element: opens its viewpoint | |
| database | No | Database GUID of the viewpoint/layout (the 'database' field of list_views / get_current_window) | |
| projection | No | 3D window only: switch the projection mode before opening | |
| segmentIndex | No | Interior elevation marker only: which segment's view to open (default 0) | |
| navigatorItem | No | Project Map / Layout Book / View Map item to open (window only; use go_to_view to also apply a saved view's settings) |