Property Normal
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
Normal
Gets or sets the normal of the plane the MTEXT stands in (groups 210, 220, 230), as AutoCAD's Normal; of unit
length, (0, 0, 1) where the record gives none.
public GeoVector3 Normal { get; set; }
Property Value
- GeoVector3
Set, a direction of some length, written made of unit length; the MTEXT keeps its location and reads along the x axis of the new plane, turned nought, as AutoCAD 2021 writes it: its direction, and its angle, written so where the record has them, and its direction written where it has neither and would otherwise read along the world's x axis (given (0, 0, -1), 11 of (-1, 0, 0), check mirror-3 GHM3C). The MTEXT at (10, 200, 0) turned 30 degrees given the normal (0, 0.6, 0.8) stays at (10, 200, 0) and reads along (-1, 0, 0) (check D35d). An annotative one's direction is written into the context it is read at, and into its record where that context is the default, its other contexts left as they are (check D35c).
Exceptions
- ArgumentException
Thrown when the direction set has no length or is not finite.
- InvalidOperationException
Thrown when the MTEXT is erased.