Table of Contents

Property BlockScale

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

BlockScale

Gets or sets how the block is scaled along its axes, as AutoCAD's BlockScale: unscaled, as AutoCAD 2021's API reads it, the MULTILEADER's own (group 10), else the scale the block is drawn with (16 of the block of the context data) over the Scale; 1 each way where the record gives neither. A block drawn 2 at a scale of 2 reads 1.

public GeoVector3 BlockScale { get; set; }

Property Value

GeoVector3

Set, written in the MULTILEADER's own and, times the Scale, as the block is drawn, as AutoCAD 2021 writes them: 3 at a scale of 2 gives 10 of 3 and 16 of 6. The block then moves as AutoCAD 2021 moves it, with leaders or none: so that a leader from the left meets it at the base point of the content (10 of the context data), and each leader on a side is landed anew at it, its matrix (47) made its transform there. The box of lines from (-10, -5) to (20, 15) placed at (100, 50, 0), met from (82, 55, 0) on its left, scaled by 2 stands at (110, 45, 0), the dogleg kept; met on its right, the dogleg starts at (158, 55, 0) for (128, 55, 0). The scale it has, set again, does all of this too, as AutoCAD 2021 does: the box moved to (130, 60, 0) and given its scale of 1 has its matrix written there; scaled by 2 by TransformBy(GeoTransform3), it is drawn at 1 again.

Exceptions

ArgumentException

Thrown when a scale set is not a finite number other than nought.

InvalidOperationException

Thrown when the MULTILEADER is erased.