Set layer states
set_layer_statesAdjust Archicad layer visibility, locking, wireframe, and intersection groups directly in active layer settings; batch changes run in order with one undo, without altering saved combinations.
Instructions
Shows/hides, locks/unlocks, switches wireframe or the intersection group of layers directly (the active layer settings; saved combinations are not changed — use modify_attributes type LayerCombination for those). Items run in order in one undo step, so 'isolate' works as [{match: '*', hidden: true}, {layer: 'Стены', visible: true}]. The Archicad layer cannot be hidden/locked (skipped for patterns). Returns per item {changed: [{index, name}], changedCount, alreadyInStateCount, skipped?} | {error}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layers | Yes | ||
| undoName | No |