draftguitools.gui_lineops.LineAction Class Reference
Public Member Functions | |
def | Activated (self, action="None") |
Public Member Functions inherited from draftguitools.gui_base.GuiCommandSimplest | |
def | Activated (self) |
def | IsActive (self) |
Additional Inherited Members | |
Public Attributes inherited from draftguitools.gui_base.GuiCommandSimplest | |
command_name | |
doc | |
Detailed Description
Base class for Line context GuiCommands. This is inherited by the other GuiCommand classes to run a set of similar actions when editing a line, wire, spline, or bezier curve. It inherits `GuiCommandSimplest` to set up the document and other behavior. See this class for more information.
Member Function Documentation
◆ Activated()
def draftguitools.gui_lineops.LineAction.Activated | ( | self, | |
action = "None" |
|||
) |
Execute when the command is called. Parameters ---------- action: str Indicates the type of action to perform with the line object. It can be `'finish'`, `'close'`, or `'undo'`.
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_lineops.py