draftguitools.gui_line_add_delete.AddPoint Class Reference
Public Member Functions | |
def | Activated (self) |
def | GetResources (self) |
def | IsActive (self) |
Public Member Functions inherited from draftguitools.gui_base_original.DraftTool | |
def | Activated (self, name="None", noplanesetup=False, is_subtool=False) |
def | commit (self, name, func) |
def | finish (self, close=False) |
def | getStrings (self, addrot=None) |
Public Attributes | |
running | |
Public Attributes inherited from draftguitools.gui_base_original.Modifier | |
copymode | |
Public Attributes inherited from draftguitools.gui_base_original.DraftTool | |
call | |
commitList | |
constrain | |
doc | |
extendedCopy | |
featureName | |
node | |
obj | |
planetrack | |
point | |
pos | |
support | |
ui | |
view | |
Detailed Description
GuiCommand to add a point to a line being drawn.
Member Function Documentation
◆ Activated()
def draftguitools.gui_line_add_delete.AddPoint.Activated | ( | self | ) |
Execute when the command is called.
◆ GetResources()
def draftguitools.gui_line_add_delete.AddPoint.GetResources | ( | self | ) |
Set icon, menu and tooltip.
◆ IsActive()
def draftguitools.gui_line_add_delete.AddPoint.IsActive | ( | self | ) |
Return True when there is selection and the command is active.
Reimplemented from draftguitools.gui_base_original.DraftTool.
Member Data Documentation
◆ running
draftguitools.gui_line_add_delete.AddPoint.running |
Referenced by shipHydrostatics.TaskPanel.TaskPanel.accept(), draftguitools.gui_wire2spline.WireToBSpline.Activated(), shipHydrostatics.TaskPanel.TaskPanel.externalFaces(), draftguitools.gui_offset.Offset.finish(), draftguitools.gui_snapper.Snapper.off(), shipHydrostatics.TaskPanel.TaskPanel.reject(), draftguitools.gui_snapper.Snapper.snap(), draftguitools.gui_snapper.Snapper.snapToObject(), and femsolver.task.Task.start().
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_line_add_delete.py