Table of Contents

Property Direction

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Direction

Gets or sets the direction the MTEXT reads along (groups 11, 21, 31), as AutoCAD's Direction: in world coordinates, of unit length; where the record gives none, the x axis of the system of its plane turned by its angle (50); where it gives no angle either, the world's x axis put into its plane, as AutoCAD 2021 reads it (check mirror-3 GHM3A): (1, 0, 0) on the normal (0, 0, -1), whose x axis is the world's -x, and (0.8, 0, 0.6) on (0.6, 0, -0.8); the x axis of the system of its plane where the plane holds no part of the world's x axis, as on the normal (1, 0, 0). An annotative MTEXT's is that of the context it is read at (its 10, 20, 30), as Location says.

public GeoVector3 Direction { get; set; }

Property Value

GeoVector3

Set, a direction of some length, written made of unit length; the angle (50) the record has, written to agree.

Exceptions

ArgumentException

Thrown when the direction set has no length or is not finite.

InvalidOperationException

Thrown when the MTEXT is erased.