Class DxfUcsTableRecord
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
A named user coordinate system of a DXF file, as AutoCAD's UcsTableRecord, read from its UCS record: its name,
its origin and its X and Y axes, in world coordinates.
public sealed class DxfUcsTableRecord : DxfSymbolTableRecord
- Inheritance
-
DxfUcsTableRecord
- Inherited Members
Remarks
A system turned 30 degrees about Z at (100, 50, 0) has the Origin (100, 50, 0), the XAxis (0.866, 0.5, 0) and the YAxis (-0.5, 0.866, 0). A system of a file is changed by its setters, its record written anew, every other group kept; a setter given the value its getter gives changes nothing. A system made in code is the world's until it is given others, and is written when it is added to a DxfUcsTable.
Constructors
- DxfUcsTableRecord()
Initializes a system made in code, the world's, to be added to a DxfUcsTable with its Name given.
Properties
- Origin
Gets or sets the origin of the system (groups 10, 20, 30) in world coordinates, as AutoCAD's
Origin; the world's origin where the record gives none.
- XAxis
Gets or sets the X axis of the system (groups 11, 21, 31) in world coordinates, as AutoCAD's
XAxis; the world's X axis where the record gives none.
- YAxis
Gets or sets the Y axis of the system (groups 12, 22, 32) in world coordinates, as AutoCAD's
YAxis; the world's Y axis where the record gives none.
Methods
- Erase()
Erases the system from its table, as AutoCAD's
Eraseof a named UCS: its UCS record taken out, the table's count lowered by one, and a header variable that named it ($UCSNAME,$PUCSNAME,$UCSBASE,$PUCSBASE) left naming none, as AutoCAD leaves the current system unnamed when its name is deleted.