Share

AcDbObject::close

C++

ACDBCORE2D_PORT Acad::ErrorStatus close();

Description

Closes the object. All changes made to the object since it was opened are committed to the database, the object is marked as pageable, and a "closed" notification (as well as any other appropriate notification such as "modified", "erased", and so on) is sent.

Returns Acad::eOk if successful.

If the object is not in an AcDbDatabase yet, then Acad::eNoDatabase is returned.

If the object is sending notification, then Acad::eCloseWasNotifying is returned.

If the subClose() call made within the close() method returns anything other than Acad::eOk, then that ErrorStatus is returned.

Links

AcDbObject

Was this information helpful?