Table of Contents

Property GeometricExtents

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GeometricExtents

Gets the box the dimension's picture fills where it stands, as AutoCAD 2021's GeometricExtents of a dimension: that of every entity of its block (DimBlock) placed as Explode() places them, the points on the layer Defpoints that mark where it measures among them, which Explode() leaves out. A level dimension from (0, 0, 0) to (100, 0, 0) with its line at y 20 fills (0, 0, 0) to (100, 20.18, 0): the points at its ends reach down to y 0, its extension lines up to 20.18. The words of the picture are measured as GeometricExtents measures a text; one the drawing's fonts do not measure adds nothing.

public override GeoAabb3 GeometricExtents { get; }

Property Value

GeoAabb3

Exceptions

InvalidOperationException

Thrown when the drawing has no block of the name the dimension is drawn with, or its block holds nothing with extents, as AutoCAD throws for an entity with none.