CadSettingKind
from OpenCAD2D.Plugins import CadSettingKind
class CadSettingKind(System.Enum) ยท CadSettingKind in the .NET reference
What kind of value a plugin's setting holds, and so which box the presenter draws for it.
Values
Boolean
Boolean: ClassVar[CadSettingKind]
Yes or no, a bool: a check box.
Choice
Choice: ClassVar[CadSettingKind]
One of a list, an enumeration: a drop-down of its names.
Integer
Integer: ClassVar[CadSettingKind]
A whole number, an int: a start number of 1.
Number
Number: ClassVar[CadSettingKind]
A number with a fraction, a double: a text height of 2.5.
Text
Text: ClassVar[CadSettingKind]
A text, a string: a layer name.
Constructors
__init__
def __init__(self, value: int) -> None
Operators and Python protocols
__int__
def __int__(self) -> int