Table of Contents

Method GetHistory

Namespace
OpenCAD2D.Remote
Assembly
OpenCAD2D.Remote.dll

GetHistory(int)

Gets the last lines of the drawing's command line, the oldest first: each command, each prompt with its answer, each message, as the user sees them in the history. Nothing is typed or changed.

public CadRemoteHistory GetHistory(int count = 20)

Parameters

count int

The most lines to give, from 1 to 1000.

Returns

CadRemoteHistory

The lines, how many the command line holds in all, and whether a command runs.

Exceptions

ArgumentOutOfRangeException

Thrown when the count is not from 1 to 1000.

CadRemoteException

Thrown when the drawing is closed.