# A3DGlobalGetGraphStyleData

A3DStatus `A3DGlobalGetGraphStyleData`(const A3DUns32 uiIndexStyle, A3DGraphStyleData *pData)
  `A3DStatus` A3DGlobalGetGraphStyleData(const `A3DUns32` uiIndexStyle, `A3DGraphStyleData`* pData)

  Retrieves an indexed graph style.

  > 2.0

  HOOPS stores styles in a global state using indexes. When given an index, you may call `A3DGlobalGetGraphStyleData`to fill in an `A3DGraphStyleData`instance.

      //Retrievesthegraphstyleatindex3.Useinitializedstyleasdefault:
      A3DGraphStyleDatastyle=A3D_MAKE_DATA(A3DGraphStyleData);
      A3DStatusresult=A3DGlobalGetGraphStyleData(3,&style);
      assert(result==A3D_SUCCESS);

  Parameters

  > uiIndexStyle: The index of the style to retrieve data from

  > pData: The `A3DGraphRgbColorData`to fill in.

  Returns

  > `A3D_SUCCESS`or an error code in case of failure.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...