.. _LayerComp: ================================================ LayerComp ================================================ Description ----------- A snapshot of a state of the layers in a document (can be used to view different page layouts or compostions). Properties ^^^^^^^^^^ +--------------------------------------------------+---------------------------------------------------------+ | :ref:`appearance` readonly | If true, uses layer appearance (layer styles) settings. | +--------------------------------------------------+---------------------------------------------------------+ | :ref:`comment` readonly | The description of the layer comp. | +--------------------------------------------------+---------------------------------------------------------+ | :ref:`name` readonly | The name of the layer comp. | +--------------------------------------------------+---------------------------------------------------------+ | :ref:`parent` readonly | The object's container. | +--------------------------------------------------+---------------------------------------------------------+ | :ref:`position` readonly | If true, uses layer position. | +--------------------------------------------------+---------------------------------------------------------+ | :ref:`selected` readonly | If true, the layer comp is currently selected. | +--------------------------------------------------+---------------------------------------------------------+ | :ref:`typename` readonly | The class name of the object. | +--------------------------------------------------+---------------------------------------------------------+ | :ref:`visibility` readonly | If true, the layer comp is visible. | +--------------------------------------------------+---------------------------------------------------------+ Methods ^^^^^^^ +--------------------------------------------------------+------------------------------------------------------------+ | :ref:`add` readonly | Adds an element. | +--------------------------------------------------------+------------------------------------------------------------+ | :ref:`apply` readonly | Applies the layer comp to the document. | +--------------------------------------------------------+------------------------------------------------------------+ | :ref:`recapture` readonly | Recaptures the current layer state(s) for this layer comp. | +--------------------------------------------------------+------------------------------------------------------------+ | :ref:`remove` readonly | Deletes this object. | +--------------------------------------------------------+------------------------------------------------------------+ | :ref:`removeAll` readonly | Deletes all elements. | +--------------------------------------------------------+------------------------------------------------------------+ | :ref:`resetFromComp` readonly | Resets the layer comp state to the document state. | +--------------------------------------------------------+------------------------------------------------------------+ .. container:: hide .. toctree:: :hidden: :maxdepth: 1 LayerComp/parent.rst LayerComp/typename.rst LayerComp/name.rst LayerComp/comment.rst LayerComp/appearance.rst LayerComp/position.rst LayerComp/visibility.rst LayerComp/selected.rst LayerComp/add.rst LayerComp/remove.rst LayerComp/removeAll.rst LayerComp/apply.rst LayerComp/recapture.rst LayerComp/resetFromComp.rst