
#################################
A3DGlobalGetGraphSolidPatternData
#################################

.. c:function:: A3DStatus A3DGlobalGetGraphSolidPatternData(const A3DUns32 uiIndexSolidPattern, A3DGraphSolidPatternData *pData)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DGlobalGetGraphSolidPatternData(*const* :c:type:`~A3DUns32` **uiIndexSolidPattern**\ , :c:struct:`~A3DGraphSolidPatternData`\ \* **pData**\ )
   
   Retrieves an ``A3DGraphHatchingPatternData``\ instance.
   
   
      2.0
   
   
   HOOPS stores pattern information in a global state using indexes. When given an index, call ``A3DGlobalGetGraphSolidPatternData``\ to fill in an ``A3DGraphSolidPatternData``\ instance.
   
   
   ::
   
      //Retrievesthepatterndataatindex3:
      A3DGraphSolidPatternDatapattern_data=A3D_MAKE_DATA(A3DGraphSolidPatternData);
      A3DStatusresult=A3DGlobalGetGraphSolidPatternData(3,&pattern_data);
      assert(result==A3D_SUCCESS);
   
   **Parameters**
   
   
      **uiIndexSolidPattern**\ : The index of the pattern.
   
      **pData**\ : The ``A3DGraphSolidPatternData``\ to fill in.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ or an error code in case of failure.
   
   




