.. _LayerComps: ================================================ LayerComps ================================================ Description ----------- The layer comp objects associated with the document. Properties ^^^^^^^^^^ +-----------------------------------------------+---------------------------------------+ | :ref:`length` readonly | Number of elements in the collection. | +-----------------------------------------------+---------------------------------------+ | :ref:`parent` readonly | The object's container. | +-----------------------------------------------+---------------------------------------+ | :ref:`typename` readonly | The class name of the object. | +-----------------------------------------------+---------------------------------------+ Methods ^^^^^^^ +-------------------------------------------------+-----------------------------------------------------------------+ | :ref:`[]` readonly | Get an element in the collection with the provided index. | +-------------------------------------------------+-----------------------------------------------------------------+ | :ref:`getByName` readonly | Get the first element in the collection with the provided name. | +-------------------------------------------------+-----------------------------------------------------------------+ Static Methods ^^^^^^^^^^^^^^ +-------------------------------------+--------------------+ | :ref:`add` readonly | Adds a layer comp. | +-------------------------------------+--------------------+ .. container:: hide .. toctree:: :hidden: :maxdepth: 1 LayerComps/parent.rst LayerComps/typename.rst LayerComps/length.rst LayerComps/getByName.rst LayerComps/[].rst LayerComps/add.rst