Method AddLayer
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
layerCadRemoteLayerThe layer.
Exceptions
- ArgumentNullException
Thrown when the layer is null.