CadPromptKind
from OpenCAD2D import CadPromptKind
class CadPromptKind(System.Enum) ยท CadPromptKind in the .NET reference
What a prompt asks for.
Values
Angle
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
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
Entity: ClassVar[CadPromptKind]
One object, picked.
Integer
Integer: ClassVar[CadPromptKind]
A whole number.
Keyword
Keyword: ClassVar[CadPromptKind]
One of the prompt's keywords.
Point
Point: ClassVar[CadPromptKind]
A point, picked or typed as x,y, @dx,dy or @distance\<angle.
Selection
Selection: ClassVar[CadPromptKind]
Objects, picked one by one or by a window, until Enter ends the selection.
String
String: ClassVar[CadPromptKind]
A text.
Constructors
__init__
def __init__(self, value: int) -> None
Operators and Python protocols
__int__
def __int__(self) -> int