If true, the layer comp will remember the layers' appearance (layer style) settings.
If true, the layer comp will remember which of the Smart Object's layer comps are set in the Properties panel.
The description of the layer comp.
The ID of the document of this layer comp.
For use with batchPlay operations. This layer comp ID, along with its document ID can be used to represent this layer comp for the lifetime of this document or the layer comp.
The name of the layer comp.
Owner document of this layer comp
If true, the layer comp will remember layers' positions.
If true, the layer comp is currently selected in the Layer Comps panel.
Note: selected does not mean that this layer comp is applied to document.
The class name of the referenced LayerComp object
If true, the layer comp will remember layers' visibilities.
Applies the layer comp to the document.
Duplicates this layer comp
newly created layer comp
Updates the recorded states of the layers for this layer comp.
Optionallayers: Layer[]if this argument is passed then only specified layers will be recaptured.
Deletes this object from document.
Represents a single layer comp in the document.
See
https://developer.adobe.com/photoshop/uxp/2022/ps_reference/classes/layercomp/
Example
Example
Min Version
24.0