Table of Contents

CadRemoteCommandResult

from OpenCAD2D.Remote import CadRemoteCommandResult

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

What CadRemoteDocument.SendCommand got back: whether the command ended, and what the command line wrote.

Properties and fields

Completed

.NET

@property
def Completed(self) -> bool

Gets whether no command was left running when the call returned. False when the time given ran out with a command still waiting, a LINE waiting for its next point: it goes on in the app, and its prompt is in CadRemoteCommandResult.Output.

Output

.NET

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

Gets the lines the command line wrote meanwhile: the prompts, the answers typed and the messages, in order.

Methods

ToString

.NET

def ToString(self) -> str