A3DEntityDelete
-
A3DStatus
A3DEntityDelete(A3DEntity *pEntity) -
Recursively deletes the entity and its child entities.
This function deletes the given entity along with all it’s child entities. Usually deleting any entity of a PRC tree is implicitly done when the tree root is deleted using
A3DAsmModelFileDelete(). However, it is possible that some entities may not be attached to any PRC. This is usually the case when a CAD model is manipulated for modification purpose.As a rule of thumb, you should always explicitly delete an entity you did’nt attach to any other entity.
Returns
A3D_SUCCESSon success, or an error code on failure