.. _group__a3d__layer:

############
Layer Module
############

Accesses layer entities.

Entity type is :c:enumerator:`~kA3DTypeAsmLayer`\ .

Layers help in controlling the visibility and selectability of features within a part. They can be used to simplify the part model view, focus on specific features, and prevent accidental modifications.

If the :c:member:`A3DAsmLayerData::m_ppReferenceEntities <A3DAsmLayerData.m_ppReferenceEntities>`\ member is empty. It doesn't necessarily mean that this layer is empty. In this case, you need to check the layerIndex field of an entity to know if it's referenced by a layer.

**Returns**


   ``A3D_SUCCESS``\ on success, or an error code on failure


.. rst-class:: kind-group kind-record

.. rubric:: Structures
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:struct:`~A3DAsmLayerData`

.. rst-class:: kind-group kind-function

.. rubric:: Functions
   :class: kind-group-title


.. rst-class:: api-xref-list


* :c:func:`~A3DAsmLayerGet`

.. toctree::
   :maxdepth: 1
   :hidden:

   ../structures/A3DAsmLayerData
   ../functions/A3DAsmLayerGet


