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
originGeoPoint3The origin, in world coordinates.
orthoViewDxfOrthographicViewThe 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.