Create layout
create_layoutCreates a layout sheet in Archicad's Layout Book from a master layout, inheriting paper size and margins, and places it in a subset or the root.
Instructions
Creates a layout (sheet) in the Layout Book from a master layout, inside a subset (or the Layout Book root). The paper size and margins come from the master (they are stored in the master and shared by all its layouts) — pick a master with the wanted size (see get_layout_settings on MasterLayoutItem ids from get_navigator_tree {tree: 'LayoutBook', types: ['MasterLayoutItem']}). Output: {layoutId, name, master, parent, settings, ignored?}. The layout ID/number is assigned by the subset numbering (e.g. subset '08' + own prefix 'T-' + '01' = '08T-01') unless customLayoutNumbering. New layouts are inserted as the FIRST child of the subset (reorder with move_navigator_item). Place drawings on it with the documentation tools.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Layout name | |
| master | No | Master layout: id or name (e.g. 'А3 - А - Ф3'). Default: the first master layout | |
| parent | No | Subset id or name (e.g. 'Планы'), default: the Layout Book root | |
| customLayoutNumber | No | Custom layout ID (used when customLayoutNumbering is true), e.g. 'A-101' | |
| customLayoutNumbering | No | true = use customLayoutNumber as the layout ID instead of the automatic subset numbering | |
| doNotIncludeInNumbering | No | Exclude this layout from the automatic ID sequence of its subset |