# A3DCopyAndAdaptBrepModelAdvanced

A3DStatus `A3DCopyAndAdaptBrepModelAdvanced`(const A3DEntity *p, const A3DCopyAndAdaptBrepModelData *psSetting, A3DEntity **const pp, A3DUns32 *puiNbErrors, A3DInt32 **paiErrors)
  `A3DStatus` A3DCopyAndAdaptBrepModelAdvanced(const `A3DEntity`* p, const `A3DCopyAndAdaptBrepModelData`* psSetting, `A3DEntity`** pp, `A3DUns32`* puiNbErrors, `A3DInt32`** paiErrors)

  Copy and adapt B-rep parameters.

  Same as `A3DCopyAndAdaptBrepModelData`, but return status of each face in error if `A3DCopyAndAdaptBrepModelData::m_bContinueOnError`is set to true

  puiNbErrors return the number of faces in error

  paiErrors corresponds to a set of indexes and error codes `paiErrors[0] = type the topological element paiErrors[1] = error status paiErrors[2] = number of indexes to find element (connex = 1, shell = 2, face = 3, loop = 4, coedge /edge = 5) paiErrors[3] = first index ... paiErrors[2+paiErrors[2]] = last index`

  Parameters

  > p: A pointer to the source B-rep entity

  > psSetting: The structure that defines which types of B-rep you would like to convert to

  > pp: A pointer to the result B-rep entity or entities

  > puiNbErrors: Number of elements in error

  > paiErrors: Index and error code of each element

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