# A3DMiscReferenceOnTessCreate

A3DStatus `A3DMiscReferenceOnTessCreate`(const A3DMiscReferenceOnTessData *pData, A3DMiscReferenceOnTess **ppReferenceOnTess)
  `A3DStatus` A3DMiscReferenceOnTessCreate(const `A3DMiscReferenceOnTessData`* pData, `A3DMiscReferenceOnTess`** ppReferenceOnTess)

  Creates an `A3DMiscReferenceOnTess`from an `A3DMiscReferenceOnTessData`structure.

  ## Edge and Vertex references

  If `m_eTopoItemType`is `kA3DTypeTessEdge`, m_uiSize must be 3and:

  - `m_puiAdditionalIndexes`[0] is the face index in `m_pPolyBrepModel`
  - `m_puiAdditionalIndexes`[1] is the loop index in the face
  - `m_puiAdditionalIndexes`[2] is the edge index in the loop

  If `m_eTopoItemType`is `kA3DTypeTessVertex`, `m_uiSize`must be 4and

  - `m_puiAdditionalIndexes`[0] is the face index in `m_pPolyBrepModel`
  - `m_puiAdditionalIndexes`[1] is the loop index in the face
  - `m_puiAdditionalIndexes`[2] is the edge index in the loop
  - `m_puiAdditionalIndexes`[3] is the vertex index in the edge

  Parameters

  > pData: The `A3DMiscReferenceOnTessData`instance to create reference from

  > ppReferenceOnTess: A pointer to the resulting `A3DMiscReferenceOnTess`entity

  Returns

  > `A3D_SUCCESS`on success, or an error code on 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...