Table of Contents

Property BlockPosition

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

BlockPosition

Gets or sets where the block is placed (group 15 of the block of the context data), as AutoCAD's BlockPosition, in the world; the base point of the content (10 of the context data) where the MULTILEADER holds no block. Set, the base point of the content and the point each leader's dogleg starts at (10 of the context data and of each leader) move with the block, and the block's matrix (its groups 47) is left as it is, as AutoCAD 2021 moves and leaves them: the box of lines from (-10, -5) to (20, 15) moved from (100, 50, 0) to (130, 60, 0) moves a dogleg from (82, 55, 0) to (112, 65, 0), the leader lines' own vertices staying; the matrix is written anew where BlockScale or BlockRotation is set.

public GeoPoint3 BlockPosition { get; set; }

Property Value

GeoPoint3

Exceptions

ArgumentException

Thrown when a coordinate set is not a finite number.

InvalidOperationException

Thrown when another place is set on a MULTILEADER that holds no block, or one that is erased.