# A3DGlobalInsertGraphHatchingPattern

A3DStatus `A3DGlobalInsertGraphHatchingPattern`(const A3DGraphHatchingPatternData *pData, A3DUns32 *puiIndexHatchingPattern)
  `A3DStatus` A3DGlobalInsertGraphHatchingPattern(const `A3DGraphHatchingPatternData`* pData, `A3DUns32`* puiIndexHatchingPattern)

  Insert a new hatching lines fill pattern into the global state, returning its index for further retrieval.

  > 2.0

  When given an `A3DGraphHatchingPatternData`, the function clones the content for internal storage and returns a new index for further retrieval with `A3DGlobalGetGraphHatchingPatternData`. In case of failure `*puiIndexHatchingPattern`is unchanged.

      A3DGraphHatchingPatternDatapattern_data=A3D_MAKE_DATA(A3DGraphHatchingPatternData);
      //Configurepattern_data...
      A3DUns32idx=A3D_DEFAULT_PATTERN_INDEX;

      A3DStatusresult=A3DGlobalInsertGraphHatchingPattern(&pattern_data,&idx);
      assert(result==A3D_SUCCESS);
      assert(idx!=A3D_DEFAULT_PATTERN_INDEX);

  Parameters

  > pData: The pattern data to insert.

  > puiIndexHatchingPattern: The resulting index for the inserted pattern data.

  Returns

  > A3D_SUCCESS or an error code.

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...