LispResult
from OpenCAD2D.Lisp import LispResult
class LispResult(System.Object) ยท LispResult in the .NET reference
What running AutoLISP text gave: the value, and the text AutoCAD would have put on the command line.
Properties and fields
Error
@property
def Error(self) -> str | None
The text of the error, or null when there was none.
Failed
@property
def Failed(self) -> bool
True when an error reached the top level, after *error* had run.
Output
@property
def Output(self) -> str
The command-line text, lines separated by \n: what the forms wrote with princ, prin1, print, prompt and terpri, then the value of the last form in prin1 form on the same line ((princ "a\nb") gives the lines a and b"a\nb"), and nothing for the empty symbol (princ) returns. An error adds ; error: and its text where the writing stopped.
Value
@property
def Value(self) -> Any
The value of the last form, null (nil) when an error ended the run.