
#############
A3DBIMDataGet
#############

.. c:function:: A3DStatus A3DBIMDataGet(const A3DBIMData *pDBIMData, A3DBIMDataData *pData)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DBIMDataGet(*const* :c:type:`~A3DBIMData`\ \* **pDBIMData**\ , :c:struct:`~A3DBIMDataData`\ \* **pData**\ )
   
   Retrieves data of an ``A3DBIMData`` entity.
   
   
      14.2
   
   
   **Return Values**
   
   
      **A3D_SUCCESS**\ : In case of success.
   
      **A3D_INITIALIZE_NOT_CALLED**\ : if the library is not initialized.
   
      **A3D_INVALID_DATA_STRUCT_NULL**\ : if ``pData`` is null
   
      **A3D_INVALID_DATA_STRUCT_SIZE**\ : if ``pData`` is incorrectly initialized
   
      **A3D_INVALID_ENTITY_NULL**\ : if ``pDBIMData``\ is null
   
      **A3D_INVALID_ENTITY_TYPE**\ : if ``pdBIMData`` references an invalid entity type
   
   
   In case of success, the ``pData`` contains heap allocated memory your are responsible for. To free the memory on ``pData``\ , call ``A3DBIMDataGet`` with ``pDBIMData`` set to *0*\ .
   
   
      :c:struct:`~A3DBIMDataData`
   
   
   **Parameters**
   
   
      **pDBIMData**\ : The BIM Data entity to get data from
   
      **pData**\ : A pointer to the data structure to fill in
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




