Property BlockTransform
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
BlockTransform
Gets or sets the transformation that places the block, as AutoCAD's BlockTransform: from the coordinates of
the block to the world, the block's origin taken to Position, its axes scaled by
ScaleFactors, turned by Rotation and stood in the plane of Normal. The
origin of the block is taken as (0, 0, 0) where the drawing has no block of the INSERT's name.
public GeoTransform3 BlockTransform { get; set; }
Property Value
- GeoTransform3
Set, a transformation an INSERT can hold, its axes square to one another: the position, rotation, scale factors and normal that make it written, the ATTRIBs carried by the change. An annotative one's point, angle and scale factors are 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, as AutoCAD 2021 writes them: the valve read at 1:1 beside a default of 1:2 scaled by 3, given the placing to (50, 300) turned 0.5 and scaled by 3, has its context of 1:1 so and that of 1:2 as it was (check D35c).
Exceptions
- ArgumentNullException
Thrown when the transformation set is null.
- ArgumentException
Thrown when the transformation set shears or flattens, which an INSERT does not hold.
- InvalidOperationException
Thrown when the INSERT is erased.