C++
Acad::ErrorStatus appendAcDbEntity( AcDbEntity* pEntity );
Description
This function adds pEntity to the database and the block table record.
If pEntity points to an AcDbAttributDefinition entity, then the block table record's hasAttributeDefinitions flag is set to true.
Returns Acad::eOk if successful. If pEntity does not point to an object of a class derived from AcDbEntity (either directly or indirectly), then Acad::eNotAnEntity is returned.
Parameters
| Parameters | Description |
|---|---|
| pEntity | Input pointer to entity to append (must not be NULL) |