CadToolKind
from OpenCAD2D import CadToolKind
class CadToolKind(System.Enum) ยท CadToolKind in the .NET reference
What a tool of a tool palette is, as AutoCAD's tool palettes have them.
Values
Block
Block: ClassVar[CadToolKind]
Inserts a block of a drawing: the block's name, the drawing it comes from, its scale and rotation.
Command
Command: ClassVar[CadToolKind]
Runs a command, with the colour, layer, linetype and lineweight new objects are drawn with.
Hatch
Hatch: ClassVar[CadToolKind]
Hatches an area with a pattern, a solid fill or a gradient, at an angle and scale.
Separator
Separator: ClassVar[CadToolKind]
A rule drawn between tools.
Text
Text: ClassVar[CadToolKind]
A line of text between tools, a heading.
Constructors
__init__
def __init__(self, value: int) -> None
Operators and Python protocols
__int__
def __int__(self) -> int