Property BlockRotation
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
BlockRotation
Gets or sets how far the block is turned, as AutoCAD's BlockRotation, in radians: the MULTILEADER's own (43), as
AutoCAD 2021's API reads it, else as the block is drawn, group 46 of the block of the context data; nought where the
record gives neither. A block turned a quarter by TransformBy(GeoTransform3) is drawn turned a quarter and
reads nought, as AutoCAD reads it.
public double BlockRotation { get; set; }
Property Value
- double
Set, even to the turn it has, written in both, the turn it is drawn with (46) taken from the x axis of the MULTILEADER's plane as the block's own plane sees it, as AutoCAD 2021 writes it: 30 degrees on a multileader turned a quarter by TransformBy(GeoTransform3) draws the block turned 120. The block then moves as BlockScale says, as AutoCAD 2021 moves it: the box of lines from (-10, -5) to (20, 15) placed at (100, 50, 0), turned by 30 degrees, stands at (105.49, 48.17, 0), still met at (90, 55, 0) on its left.
Exceptions
- ArgumentOutOfRangeException
Thrown when the angle set is not a finite number.
- InvalidOperationException
Thrown when the MULTILEADER is erased.