Table of Contents

Method SetWorldUcsBaseOrigin

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SetWorldUcsBaseOrigin(GeoPoint3, DxfOrthographicView)

Sets the origin of an orthographic UCS of model space when the base UCS is the world, as AutoCAD's SetWorldUcsBaseOrigin: $UCSORGTOP for the top.

public void SetWorldUcsBaseOrigin(GeoPoint3 origin, DxfOrthographicView orthoView)

Parameters

origin GeoPoint3

The origin, in world coordinates.

orthoView DxfOrthographicView

The orthographic system, top to right.

Exceptions

ArgumentException

Thrown when a coordinate of the origin is not a finite number.

ArgumentOutOfRangeException

Thrown when the system is NonOrthoView or not one of DxfOrthographicView.

InvalidOperationException

Thrown when the origin changes in a file older than R2000 (AC1015), which has no such variables.