Table of Contents

CadPromptKind

from OpenCAD2D import CadPromptKind

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

What a prompt asks for.

Values

Angle

.NET

Angle: ClassVar[CadPromptKind]

An angle in degrees, typed or as the direction from the prompt's base point to a point picked; with no base point, as the direction from one point to a second, asked "Specify second point:".

Distance

.NET

Distance: ClassVar[CadPromptKind]

A distance, typed or as the distance from the prompt's base point to a point picked; with no base point, as the distance between two points, the second asked "Specify second point:".

Entity

.NET

Entity: ClassVar[CadPromptKind]

One object, picked.

Integer

.NET

Integer: ClassVar[CadPromptKind]

A whole number.

Keyword

.NET

Keyword: ClassVar[CadPromptKind]

One of the prompt's keywords.

Point

.NET

Point: ClassVar[CadPromptKind]

A point, picked or typed as x,y, @dx,dy or @distance\<angle.

Selection

.NET

Selection: ClassVar[CadPromptKind]

Objects, picked one by one or by a window, until Enter ends the selection.

String

.NET

String: ClassVar[CadPromptKind]

A text.

Constructors

__init__

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

Operators and Python protocols

__int__

def __int__(self) -> int