layer_delete
Remove a layer from an open InDesign document by its index, optionally choosing the target document by name or index.
Instructions
Delete a layer
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |