Method Explode
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Explode()
Gets the entities the dimension is drawn with, as AutoCAD's Explode: those of its block
(DimBlock, *D7) placed where the dimension draws them, as ezdxf's virtual_entities() places
them, each a copy of its own look; moved by DimBlockPosition, and carried from the system of the
dimension's Normal to the world at the height of its text where that is not the world's. The points
of its block on the layer Defpoints, which mark where it measures, are left out, as AutoCAD 2021's Explode
leaves them: a dimension whose block holds two lines, two arrows, a text and three such points explodes into five
entities. The block is the picture AutoCAD drew last: a point set on the dimension since is not in it.
public override IReadOnlyList<DxfEntity> Explode()
Returns
- IReadOnlyList<DxfEntity>
The entities, in no file, to be added to a drawing by AppendEntity(DxfEntity).
Exceptions
- InvalidOperationException
Thrown when the drawing has no block of the name the dimension is drawn by.