Table of Contents

Method AddLayer

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

AddLayer(CadRemoteLayer)

Queues a new layer, to be made when CommitChanges() is called. The layers of a commit are made before its objects, so that an object inserted in the same commit can be on the layer. The layer is copied now, so changing it afterwards changes nothing.

public void AddLayer(CadRemoteLayer layer)

Parameters

layer CadRemoteLayer

The layer.

Exceptions

ArgumentNullException

Thrown when the layer is null.