A3DRootBaseSet
-
A3DStatus
A3DRootBaseSet(A3DRootBase *pRootBase, const A3DRootBaseData *pData) Adds an
A3DRootBaseDatastructure to an existing PRC entity.- If
A3DRootBaseData::m_pcNameis initialized, the entity will be renamed. - Persistent and non-persistent id’s are systematically replaced.
- The array
A3DRootBaseData::m_ppAttributeswill 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().
According to what is defined in the parameter pData, the A3DEntity will be updated.
Returns
A3D_SUCCESSon success, or an error code on failure- If