Method SetCurrent
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
SetCurrent(CadUcs)
Makes a system current in the space the canvas shows, the one it replaces kept for Previous(), ten at most. As in AutoCAD the current system is kept every time, a system of the same origin and axes as the current one, to the tolerance of Default, included: UCS World in the World UCS adds one more World for UCS Previous to give back.
public void SetCurrent(CadUcs ucs)
Parameters
ucsCadUcsThe system.
Exceptions
- ArgumentNullException
Thrown when the system is null.
- ArgumentException
Thrown when the system is not parallel to the view.