
#################################
A3DRiRepresentationItemSupportGet
#################################

.. c:function:: A3DStatus A3DRiRepresentationItemSupportGet(const A3DRiRepresentationItem *pRi, A3DUns32 *puiLinkedItemsSize, A3DMiscMarkupLinkedItem ***pppLinkedItems)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DRiRepresentationItemSupportGet(*const* :c:type:`~A3DRiRepresentationItem`\ \* **pRi**\ , :c:type:`~A3DUns32`\ \* **puiLinkedItemsSize**\ , :c:type:`~A3DMiscMarkupLinkedItem`\ \*\*\* **pppLinkedItems**\ )
   
   Get the geometrical entities used to build the :c:type:`~A3DRiRepresentationItem` This function allocates and returns an array of :c:type:`~A3DMiscMarkupLinkedItem`\ .
   
   To free the allocated array, the function must be called again with pRi as NULL.
   
   
      24.5
   
   
   **Return Values**
   
   
      **A3D_INITIALIZE_NOT_CALLED**\ :
   
      **A3D_INVALID_DATA_STRUCT_SIZE**\ :
   
      **A3D_INVALID_DATA_STRUCT_NULL**\ :
   
      **A3D_INVALID_ENTITY_NULL**\ :
   
      **A3D_INVALID_ENTITY_TYPE**\ :
   
      **A3D_SUCCESS**\ :
   
   
   **Parameters**
   
   
      **pRi**\ : The :c:type:`~A3DRiRepresentationItem` to query. If NULL, pppLinkedItems is freed instead of being allocated.
   
      **puiLinkedItemsSize**\ : The number of entities used to build ``pRi``\ . puiLinkedItemsSize must be different to NULL
   
      **pppLinkedItems**\ : The array of entities used to build ``pRi``\ . pppLinkedItems must be different to NULL
   
   
   **Returns**
   
   
      ``A3D_SUCCESS`` on success, or an error code on failure
   
   




