2015/utils/amodeler/samples/asdkbodyapp/asdkbodyui/AsdkBodyUi.cpp
//
// cleanupEntity()
//
// Erase and close the entity passed.  I'm not sure what else to
// do to eliminate the enitity from the database.  -vm
//

cleanupEntity()
Erase and close the entity passed.  I'm not sure what else to
do to eliminate the enitity from the database.  -vm
cleanupEntity () Erase and close the entity passed . I ' m not sure what else to do to eliminate the enitity from the database . - vm
static void
cleanupEntity(AcDbEntity *pEnt)
{
    if (pEnt != NULL)
    {
        if (! pEnt->isWriteEnabled())
            pEnt->upgradeOpen();
        pEnt->erase();
        pEnt->close();
    }
}
static void cleanupEntity ( AcDbEntity * pEnt ) { if ( pEnt != NULL ) { if ( ! pEnt -> isWriteEnabled ( ) ) pEnt -> upgradeOpen ( ) ; pEnt -> erase ( ) ; pEnt -> close ( ) ; } }
cleanupEntity()
Erase and close the entity passed.
cleanupEntity () Erase and close the entity passed .