draftguitools.gui_groups.AddToConstruction Class Reference
Public Member Functions | |
def | Activated (self) |
def | GetResources (self) |
Public Member Functions inherited from draftguitools.gui_base.GuiCommandSimplest | |
def | IsActive (self) |
Additional Inherited Members | |
Public Attributes inherited from draftguitools.gui_base.GuiCommandSimplest | |
command_name | |
doc | |
Detailed Description
Gui Command for the AddToConstruction tool. It adds the selected objects to the construction group defined in the `DraftToolBar` class which is initialized in the `Gui` namespace when the workbench loads. It adds a construction group if it doesn't exist. Added objects are also given the visual properties of the construction group.
Member Function Documentation
◆ Activated()
def draftguitools.gui_groups.AddToConstruction.Activated | ( | self | ) |
Execute when the command is called.
Reimplemented from draftguitools.gui_base.GuiCommandSimplest.
References Gui::GraphvizView.doc, draftguitools.gui_annotationstyleeditor.AnnotationStyleEditor.doc, draftguitools.gui_base.GuiCommandSimplest.doc, ExpressionCompleterModel::Info.doc, App::RelabelDocumentExpressionVisitor.doc, App::DynamicProperty::PropData.doc, App::LinkBaseExtension::PropInfo.doc, ItemInfo.doc, ItemInfo2.doc, and importIFClegacy.IfcEntity.doc.
◆ GetResources()
def draftguitools.gui_groups.AddToConstruction.GetResources | ( | self | ) |
Set icon, menu and tooltip.
The documentation for this class was generated from the following file:
- src/Mod/Draft/draftguitools/gui_groups.py