Set layout settings
set_layout_settingsChange Archicad layout and master layout settings like paper size (mm), margins, custom numbering, and display options. Applies to specific layouts or masters.
Instructions
Changes settings of layouts or master layouts. Per-layout fields: customLayoutNumbering + customLayoutNumber (custom sheet ID) and doNotIncludeInNumbering. Paper size and margins (MILLIMETERS) belong to the MASTER layout: set them on a MasterLayoutItem id — or on a layout with applyToMaster: true — and every layout using that master changes. displayMasterLayoutBelow works on MasterLayoutItem ids only. Page count / page index / revision state are read-only (see get_layout_settings). Only the given fields change; the result is read back, and fields Archicad did not apply are listed in ignored. Output: {results: [{layout, type, settings, ignored?} | {layout, error}]}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layouts | Yes | Per-layout changes: {layout, field: value, ...} |