C++
Acad::ErrorStatus updateExt( bool doBestFit = false );
Description
This function iterates through all the entities in the database's Model Space and updates the database's Model Space extents variables EXTMAX and EXTMIN to the values determined during the iteration.
Setting the argument doBestFit to TRUE means that while traversing the database, any AcDbBlockReference entities found should have their geomExtentsBestFit() method called instead of geomExtents(). This will be slower but will generate a tighter bounding box (extents). Using the default argument of FALSE will be faster but may not produce the tightest bounding box.
Returns Acad::eOk if operation is successful.
Parameters
Parameters | Description |
---|---|
doBestFit | Determines whether to generate the tightest bounding box |