Table of Contents

Property CurrentLayout

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

CurrentLayout

Gets or sets the tab the drawing shows, Model or the name of a layout, as clicking the tab does: switching is an undo step of the app (LAYOUT), and the objects of the layout shown are what the user sees and picks. The drawing is shown in the app first.

public string CurrentLayout { get; set; }

Property Value

string

Exceptions

ArgumentNullException

Thrown when the name set is null.

CadRemoteException

Thrown when the drawing is closed, has no tab of that name, or has a command running in it.