CadRunningApp
from OpenCAD2D.Remote import CadRunningApp
class CadRunningApp(System.Object) ยท CadRunningApp in the .NET reference
One OpenCAD2D that is running, as CadApplication.GetRunning lists it: which process, what its window says, when the user last worked in it and which drawings it has open.
Properties and fields
Drawings
@property
def Drawings(self) -> System.Collections.Generic.IReadOnlyList[str]
Gets the drawings the app has open: the full path of each saved one, the name of one with no file yet. Empty when the app did not answer in time to be asked, a long command running in it.
LastActivated
@property
def LastActivated(self) -> System.DateTime
Gets the time the user last activated the app, in UTC; the app that was activated last is the one new CadApplication() connects to.
ProcessId
@property
def ProcessId(self) -> int
Gets the id of the app's process.
Title
@property
def Title(self) -> str
Gets the title of the app's window when it last said, as A-101.dwg - OpenCAD2D.
Methods
ToString
def ToString(self) -> str