
################################
A3DGlobalGetGraphLinePatternData
################################

.. c:function:: A3DStatus A3DGlobalGetGraphLinePatternData(const A3DUns32 uiIndexLinePattern, A3DGraphLinePatternData *pData)

   .. rst-class:: sig-pretty-signature
   
      | :c:enum:`~A3DStatus` A3DGlobalGetGraphLinePatternData(*const* :c:type:`~A3DUns32` **uiIndexLinePattern**\ , :c:struct:`~A3DGraphLinePatternData`\ \* **pData**\ )
   
   Retrieves a line pattern descriptor.
   
   
      2.0
   
   
   HOOPS stores line patterns in a global state using indexes. When given an index, you may call ``A3DGlobalGetGraphLinePatternData``\ to fill in an ``A3DGraphLinePatternData``\ instance.
   
   
   ::
   
      //Retrievesthelinepatterndescriptoratindex3.
      A3DGlobalGetGraphLinePatternDatadescriptor;
      A3D_INITALIZE_DATA(A3DGlobalGetGraphLinePatternData,descriptor);
      A3DGlobalGetGraphLinePatternData(3,&descriptor);
      //Freesit:
      A3DGlobalGetGraphLinePatternData(A3D_DEFAULT_LINEPATTERN_INDEX,&descriptor);
   
   **Parameters**
   
   
      **uiIndexLinePattern**\ : The index of the line pattern descriptor
   
      **pData**\ : The ``A3DGraphLinePatternData``\ to fill in.
   
   
   **Returns**
   
   
      ``A3D_SUCCESS``\ or an error code in case of failure.
   
   




