Table of Contents

Method CommitChanges

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

CommitChanges()

Sends the queued inserts, modifies, deletes and layers and has the app apply them as one undo step, the canvas drawn again. Nothing queued is no request.

public IReadOnlyList<string> CommitChanges()

Returns

IReadOnlyList<string>

The handles of the objects inserted, in the order of the Insert(DxfEntity, string) calls.

Exceptions

CadRemoteException

Thrown when the drawing is closed, a command is running in it, the owner of an object refuses the change, an object to modify or delete is not in the drawing, a block an INSERT places is neither there nor defined with the INSERT, a layer to add is there already or has a name or look the drawing refuses, or a layer to modify is not there. Nothing is applied and the queue is emptied.