draftguitools.gui_base_original.Creator Class Reference
Public Member Functions | |
def | Activated (self, name="None", noplanesetup=False) |
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) |
def | IsActive (self) |
Public Attributes | |
support | |
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
A generic Creator tool, used by creation tools such as line or arc. It runs the Activated method from the parent class. If `noplanesetup` is `False`, it sets the appropriate `support` attribute and sets the working plane with `gui_tool_utils.get_support`. It inherits `DraftTool`, which sets up the majority of the behavior of this class.
Member Function Documentation
◆ Activated()
def draftguitools.gui_base_original.Creator.Activated | ( | self, | |
name = "None" , |
|||
noplanesetup = False |
|||
) |
Execute when the command is called. Parameters ---------- name: str, optional It defaults to `'None'`. It is the `featureName` of the object, to know what is being run. noplanesetup: bool, optional It defaults to `False`. If it is `False` it will set up the working plane by running `App.DraftWorkingPlane.setup()`.
Member Data Documentation
◆ support
draftguitools.gui_base_original.Creator.support |
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_base_original.py