Method Explode
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Explode()
Gets the arrowhead and the line, or the spline, the leader breaks into, as AutoCAD 2021's Explode gives them:
first, where it has an arrow (HasArrowHead), its arrowhead at the first vertex pointing away from the
second, Dimasz times Dimscale long (a scale of nought taken as 1): an INSERT of the block
of Dimldrblk turned and scaled so, or, where it names none, AutoCAD's closed filled arrow as a SOLID a
third as wide as long, its corners the one on the right of the leader, the tip, and the one on its left; then one
LWPOLYLINE through its vertices on its plane (a LINE between each two, a leader whose vertices stand off the plane of
its normal, which a polyline cannot hold), or for a splined one (IsSplined) one SPLINE of degree 3
through them, starting along its first segment and ending along its last, its knots the lengths of the chords. Where
it has an arrow, the line starts at the arrow's back, the arrow's length along its first segment. Each has the
leader's own look, its colour, true colour, linetype and lineweight, whatever its dimension style or its overrides
draw a leader with, as AutoCAD 2021 gives them. The leader from (0, 0, 0) through (10, 10, 0) to (20, 10, 0) with an
arrow 2.5 long gives a SOLID of the corners (2.06, 1.47, 0), (0, 0, 0) and (1.47, 2.06, 0), and a polyline from
(1.77, 1.77, 0) through (10, 10, 0) to (20, 10, 0). The hook AutoCAD runs on under the words of a leader that has one
and holds its words above or below its line (Dimtad not nought), to where they end, is AutoCAD's to
work out from its fonts, and is among them where the drawing's FontSearchPath measures the
MTEXT it points to (check F1b): the last vertex moved along the hook to the far end of the words, "ABC" of txt.shx
2.5 high held at (22, 10, 0), its hook ending at (21.375, 8.125, 0), giving a polyline ending at (28.667, 8.125, 0).
public override IReadOnlyList<DxfEntity> Explode()
Returns
- IReadOnlyList<DxfEntity>
The entities, in no file, to be added to a drawing by AppendEntity(DxfEntity).