atomicSmart Objects
photoshop_convert_to_smart_object
Convert the active layer (or a named layer) to an embedded Smart Object. Users often say: convert to smart object, make smart layer, embed layer. Use when: non-destructive transforms/filters are needed on a raster or shape layer. Do NOT use when: the layer is already a Smart Object — returns success with already_smart_object. Do NOT use on background layers — unlock or duplicate first. Returns: JSON { ok, summary, details: { layer_name, kind, already_smart_object? } }. Preconditions: active document; target layer must be selected or named. Side effects: one history step.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| layer_name | string | — | Optional exact layer name (recursive search). Default: active layer. |
Community recipes
Nothing here yet. Be the first to share one.
Share a recipe