Graphite: delete a layer
graphite_delete_layerDeletes a layer and everything inside it from the active Graphite document. Reversible with undo; fails if layer ID is not found.
Instructions
Delete a layer and everything inside it. Reversible with graphite_undo. Fails with LAYER_NOT_FOUND if the id is not in the active document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer_id | Yes | layer_id as returned by graphite_insert_svg or listed by graphite_get_document. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | ||
| layer_id | Yes |