AcDbBlockTableRecord::appendAcDbEntity (AcDbObjectId&, AcDbEntity*) |
This function adds pEntity to the database and the block table record. If the operation is successful, then pOutputId is set to the AcDbObjectId of the newly added entity.If pEntity points to an AcDbAttributDefinition entity, then the block table record's hasAttributeDefinitions flag will be 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 will be returned. |