Property CurrentLayer
CurrentLayer
Gets or sets the name of the layer new objects are drawn on, which an object inserted with no layer of its own is put on.
public string CurrentLayer { get; set; }
Property Value
Exceptions
- ArgumentNullException
Thrown when the name set is null.
- CadRemoteException
Thrown when the drawing is closed, or on setting a layer the drawing has not, a frozen layer or a layer of an external reference.