
##########################
A3DMiscEntityReferenceData
##########################

.. c:struct:: A3DMiscEntityReferenceData

   Structure that identifies the referenced entity and that provides a new coordinate system. 
   
   
      2.0
   
   
   
   If the type of the referenced entity is topology, :c:member:`m_pEntity <A3DMiscEntityReferenceData.m_pEntity>` is an :c:type:`~A3DMiscReferenceOnTopology` object of type :c:enumerator:`~kA3DTypeMiscReferenceOnTopology`\ , which contains the reference to the topological body. In addition to containing a reference to the topology entity, the :c:type:`~A3DMiscReferenceOnTopology` entity defines the topology item type and includes indexes to items in the global settings, such as color and layer.
   
   If the type of the referenced entity is *not* topology, the :c:member:`m_pEntity <A3DMiscEntityReferenceData.m_pEntity>` member can directly reference an object that has one of the types defined in :ref:`Referenceable Non-Topological Entities <group__a3d__eligibleforreference>`\ . (:c:member:`m_pEntity <A3DMiscEntityReferenceData.m_pEntity>` can also be NULL.)
    To get the type of the entity referenced by the :c:member:`m_pEntity <A3DMiscEntityReferenceData.m_pEntity>` member, use the :c:func:`~A3DEntityGetType` function.
    
   
   
   Index
   =====
   
   .. rubric:: Variables
   
   
   .. rst-class:: api-xref-list
   
   
   * :c:member:`~A3DMiscEntityReferenceData.m_pEntity`
   * :c:member:`~A3DMiscEntityReferenceData.m_pCoordinateSystem`
   
   



.. rst-class:: kind-group kind-variable

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


.. c:member:: A3DEntity* A3DMiscEntityReferenceData.m_pEntity

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DEntity`\ *
      
      Referenced entity. 
      
      It can be NULL. 
      



.. c:member:: A3DRiCoordinateSystem* A3DMiscEntityReferenceData.m_pCoordinateSystem

      .. rst-class:: sig-pretty-signature
      
         | :c:type:`~A3DRiCoordinateSystem`\ *
      
      Optional location. 
      




