# A3DRootBaseSet

A3DStatus `A3DRootBaseSet`(A3DRootBase *pRootBase, const A3DRootBaseData *pData)
  `A3DStatus` A3DRootBaseSet(`A3DRootBase`* pRootBase, const `A3DRootBaseData`* pData)

  Adds an `A3DRootBaseData`structure to an existing PRC entity.

  According to what is defined in the parameter pData, the `A3DEntity`will be updated.

  - If `A3DRootBaseData::m_pcName`is initialized, the entity will be renamed.
  - Persistent and non-persistent id’s are systematically replaced.
  - The array `A3DRootBaseData::m_ppAttributes`will be appended to the current attribute array of the Entity. To manipulate just the Entity attributes, please use the following functions:`A3DRootBaseAttributeRemoveAll()`, `A3DRootBaseAttributeRemove()`, `A3DRootBaseAttributeRemoveAt()`, `A3DRootBaseAttributeAppend()`, `A3DRootBaseAttributeAdd()`.

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