C++
Adesk::UInt32 eraseEmptyObjects( const Adesk::UInt32 flags );
Description
Erase empty objects (zero length curves and/or empty TEXT/MTEXT) in the database.
Returns
Number of objects which are (or can be) erased.
Remarks
RAY and XLINE objects are also derived from AcDbCurve, but they have infinite length by definition. Hence they are not involved in this method.