layer_setProperties
Control Adobe InDesign layer visibility, locking, and printability by specifying a layer index and optional document. Use to show, hide, lock, or unlock layers for precise layout edits.
Instructions
Set layer properties (visibility, lock, etc.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| locked | No | ||
| visible | No | ||
| printable | No | ||
| layerIndex | Yes | ||
| document_id | No | Which open document to act on: a name (see document_listOpen) or a 0-based index. Defaults to the front document. |