What is the difference between OdDbBlockTableRecord::getGeomExtents() and zoomExtents() in view?

  1. FAQ
  2. »
  3. Vectorization and Visualization in Drawings

OdDbBlockTableRecord::getGeomExtents() does not take into account layers visibility. Layers can be frozen in viewports and extents can be different in different viewports.

See AbstractViewPE.h

This protocol extension can be applied to OdDbViewport, OdDbViewportTableRecord, OdDbViewTableRecord.

See sample code in Kernel/Examples/Exports/RasterExport