Method Reset
Reset(CadRemoteSnapshot)
Asks the app to put the drawing back as the snapshot kept it: its entities, tables, layouts, handles and header variables. The steps made since are forgotten, not made one more step, so that a thousand resets leave the app's memory where one does; the display is updated as after an undo.
public void Reset(CadRemoteSnapshot snapshot)
Parameters
snapshotCadRemoteSnapshotThe snapshot of this drawing.
Exceptions
- ArgumentNullException
Thrown when the snapshot is null.
- ArgumentException
Thrown when the snapshot is of another drawing.
- CadRemoteException
Thrown when the drawing is closed, a command is running in it, or the snapshot was released.