Table of Contents

Property Position3d

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Position3d

Gets the four corners of the frame in world coordinates, as AutoCAD 2021's Position3d gives them from the head of its binary, as they are held, of any shape AutoCAD stores: turned, sheared or out of the plane xy. The picture 30 by 20 with its lower left corner at (10, 20, 0) gives the upper left (10, 40, 0), upper right (40, 40, 0), lower left (10, 20, 0) and lower right (40, 20, 0).

public DxfRectangle3d Position3d { get; set; }

Property Value

DxfRectangle3d

Set, the frame is put on the corners given, written into the head of its binary and into groups 10 and 11 as AutoCAD writes them: a frame along x and y only, as AutoCAD 2021 keeps every frame it moves or sizes; the upper left (10, 60, 0) and lower right (70, 20, 0) of a rectangle 60 by 40 make the frame 60 wide and 40 high. The size it had at 100 percent (ScaleWidth) is kept.

Exceptions

ArgumentException

Thrown when a corner is not of finite numbers, the rectangle is not along x and y to the point tolerance (its top and bottom along x, its sides along y, its upper left above and left of its lower right), or has no width or height.

InvalidOperationException

Thrown when the frame is erased, or its binary holds no head to write the corners into.