Table of Contents

CadAskKind

from OpenCAD2D.Remote import CadAskKind

class CadAskKind(System.Enum) ยท CadAskKind in the .NET reference

What a tool asks the user inside a run: the kinds of prompt CadRemoteRun.Ask takes.

Values

Angle

.NET

Angle: ClassVar[CadAskKind]

An angle, typed in degrees or the direction from the base point to a point picked; the answer is a CadAnswerKind.Number in radians.

Distance

.NET

Distance: ClassVar[CadAskKind]

A distance, typed or measured from the base point to a point picked; the answer is a CadAnswerKind.Number.

Entity

.NET

Entity: ClassVar[CadAskKind]

One object, picked; the answer is a CadAnswerKind.Selection of one object.

Integer

.NET

Integer: ClassVar[CadAskKind]

A whole number; the answer is a CadAnswerKind.Number.

Keyword

.NET

Keyword: ClassVar[CadAskKind]

One of the keywords; the answer is a CadAnswerKind.Keyword.

Point

.NET

Point: ClassVar[CadAskKind]

A point, picked or typed as x,y; the answer is a CadAnswerKind.Point.

Real

.NET

Real: ClassVar[CadAskKind]

A number, asked again after text that is none; the answer is a CadAnswerKind.Number.

Selection

.NET

Selection: ClassVar[CadAskKind]

Objects, until Enter, those selected before the command taken at once where it uses the selection; the answer is a CadAnswerKind.Selection.

String

.NET

String: ClassVar[CadAskKind]

A text; the answer is a CadAnswerKind.Text.

Constructors

__init__

def __init__(self, value: int) -> None

Operators and Python protocols

__int__

def __int__(self) -> int