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)

◆ 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