CadRemoteAnswer
from OpenCAD2D.Remote import CadRemoteAnswer
class CadRemoteAnswer(System.Object) ยท CadRemoteAnswer in the .NET reference
What the user answered to CadRemoteRun.Ask.
Properties and fields
Entities
@property
def Entities(self) -> System.Collections.Generic.IReadOnlyList[DxfEntity]
Gets copies of the objects of a CadAnswerKind.Selection answer, as CadRemoteDocument.GetObjects gives them; empty for the others.
Handles
@property
def Handles(self) -> System.Collections.Generic.IReadOnlyList[str]
Gets the handles of a CadAnswerKind.Selection answer, in the order of the handles; empty for the others.
Kind
@property
def Kind(self) -> CadAnswerKind
Gets what kind of answer it is.
Number
@property
def Number(self) -> float
Gets the number of a CadAnswerKind.Number answer: a distance in millimetres, an angle in radians, or a whole number.
Point
@property
def Point(self) -> GeoPoint3
Gets the point of a CadAnswerKind.Point answer, in world coordinates, its Z nought.
Text
@property
def Text(self) -> str | None
Gets the text of a CadAnswerKind.Text or CadAnswerKind.Keyword answer; null for the others.