Table of Contents

CadRemoteHistory

from OpenCAD2D.Remote import CadRemoteHistory

class CadRemoteHistory(System.Object) ยท CadRemoteHistory in the .NET reference

The last lines of a drawing's command line, as CadRemoteDocument.GetHistory reads them.

Properties and fields

IsRunning

.NET

@property
def IsRunning(self) -> bool

Gets whether a command is running.

Lines

.NET

@property
def Lines(self) -> System.Collections.Generic.IReadOnlyList[str]

Gets the lines asked for, the oldest first: each command, each prompt with its answer, each message.

Prompt

.NET

@property
def Prompt(self) -> str

Gets the prompt a running command waits at; empty where none runs.

Total

.NET

@property
def Total(self) -> int

Gets how many lines the command line holds in all.