A3DMiscRootBaseInsertAttribute
-
A3DStatus
A3DMiscRootBaseInsertAttribute(const A3DRootBase *pRootBase, const A3DMiscAttribute *pAttribute) A3DStatusA3DMiscRootBaseInsertAttribute(constA3DRootBase* pRootBase, constA3DMiscAttribute* pAttribute)Adds a new attribute to the given entity.
2.0Return Values
A3D_INITIALIZE_NOT_CALLED: if the library is not initialized
A3D_INVALID_ENTITY_NULL: if either
pRootBaseofpAttributeis 0A3D_BASE_BAD_ENTITY_TYPE: if
pRootBaseis not a root base type or derivedParameters
pRootBase: A handle to the entity
pAttribute: A handle to the new attribute
Returns
A3D_SUCCESS or an error code