Table of Contents

Property Ucs

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Ucs

Sets the current UCS of model space, as AutoCAD's Ucs: its origin and axes written to $UCSORG, $UCSXDIR and $UCSYDIR, read back by Ucsorg, Ucsxdir and Ucsydir. A system rotated a quarter turn about Z at (100, 0, 0) writes the axes (0, 1, 0) and (-1, 0, 0). The name of the UCS, Ucsname, is left as it is. A GeoCoordinateSystem3 makes its axes of unit length and square, so a header whose axes are not, read into one and set back, is written with them so: $UCSXDIR of (2, 0, 0) is written (1, 0, 0).

public GeoCoordinateSystem3 Ucs { set; }

Property Value

GeoCoordinateSystem3

Exceptions

ArgumentException

Thrown when the system set is not of a finite origin and unit axes at right angles, as default(GeoCoordinateSystem3) is not.