.. _LayerSets: ================================================ LayerSets ================================================ Description ----------- The collection of layer set objects in 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:`add` readonly | Adds an element. | +------------------------------------------------+-----------------------------------------------------------------+ | :ref:`getByName` readonly | Get the first element in the collection with the provided name. | +------------------------------------------------+-----------------------------------------------------------------+ | :ref:`removeAll` readonly | Deletes all elements. | +------------------------------------------------+-----------------------------------------------------------------+ .. container:: hide .. toctree:: :hidden: :maxdepth: 1 LayerSets/parent.rst LayerSets/typename.rst LayerSets/length.rst LayerSets/add.rst LayerSets/removeAll.rst LayerSets/getByName.rst LayerSets/[].rst