
########################
A3DBIMRelFillsElementGet
########################

.. c:function:: A3DStatus A3DBIMRelFillsElementGet(const A3DBIMRelFillsElement *pRelationship, A3DBIMRelFillsElementData *pData)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DBIMRelFillsElementGet(*const* :c:type:`~A3DBIMRelFillsElement`\ \* **pRelationship**\ , :c:struct:`~A3DBIMRelFillsElementData`\ \* **pData**\ )
   
   Retrieves the data of an ``A3DBIMRelFillsElement`` 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 ``pRelationship``\ is null
   
      **A3D_INVALID_ENTITY_TYPE**\ : if ``pRelationship`` 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 ``A3DBIMRelFillsElementGet`` with ``pRelationship`` set to *0*\ .
   
   
      :c:struct:`~A3DBIMRelFillsElementData`
   
   
   
      :c:struct:`~A3DBIMDataData`
   
   
   **Parameters**
   
   
      **pRelationship**\ : The relationship 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
   
   




