
##########################
A3DMiscPointerFromIndexGet
##########################

.. c:function:: A3DStatus A3DMiscPointerFromIndexGet(const A3DUns32 uiIndex, const A3DEEntityType eType, A3DEntity **ppEntity)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DMiscPointerFromIndexGet(*const* :c:type:`~A3DUns32` **uiIndex**\ , *const* :c:enum:`~A3DEEntityType` **eType**\ , :c:type:`~A3DEntity`\ \*\* **ppEntity**\ )
   
   Retrieve the handle of an indexed entity.
   
   
      2.0
   
   
   Even if they are usually accessed using a numerical index from the global data, entities such as ``A3DGraphMaterialData``\ each have a handle like any other entity.
   
   This function allows you to retrieve the entity handle behind an indexed data. From the entity, additional content can be obtained, such as meta-data.
   
   
   - :c:enumerator:`~kA3DTypeGraphDottingPattern`
   - :c:enumerator:`~kA3DTypeGraphFillPattern`
   - :c:enumerator:`~kA3DTypeGraphHatchingPattern`
   - :c:enumerator:`~kA3DTypeGraphLinePattern`
   - :c:enumerator:`~kA3DTypeGraphMaterial`
   - :c:enumerator:`~kA3DTypeGraphPicture`
   - :c:enumerator:`~kA3DTypeGraphSolidPattern`
   - :c:enumerator:`~kA3DTypeGraphStyle`
   - :c:enumerator:`~kA3DTypeGraphTextureApplication`
   - :c:enumerator:`~kA3DTypeGraphTextureDefinition`
   - :c:enumerator:`~kA3DTypeGraphVPicturePattern`
   
   \ **Parameters**
   
   
      **uiIndex**\ : The index of the data in the global data
   
      **eType**\ : The expected entity type
   
      **ppEntity**\ : A pointer to the resulting entity handle
   
   
   **Returns**
   
   
      A3D_SUCCESS or A3D_ERROR
   
   




