ICadRemoteDiagnostics
from OpenCAD2D import ICadRemoteDiagnostics
class ICadRemoteDiagnostics(System.Object) ยท ICadRemoteDiagnostics in the .NET reference
What a host that has a window can also tell a program that debugs the app: the picture of its canvas and the file its crash log is written to. A CadRemoteServer asks for it only when the host implements it, so a host with no window (a test, a plugin's own) leaves it out and the requests are refused in words.
Properties and fields
CrashLogPath
@property
def CrashLogPath(self) -> str | None
Gets the file the app writes the exceptions nobody caught to; null where it writes none.
Methods
CanvasPicture
def CanvasPicture(self, maxSide: int) -> CadRemotePicture
Gets the picture of the drawing canvas as the window last drew it, without showing anything. Called on the thread of the dispatcher the server was given.