workbench
freecad.datamanager_wb.entrypoints.workbench
¶
FreeCAD workbench registration for DataManager.
Defines the Gui.Workbench subclass used by FreeCAD to create menus/toolbars
and activate the workbench.
DataManagerWorkbench
¶
class which gets initiated at startup of the gui
Icon = os.path.join(ICONPATH, 'Logo.svg')
class-attribute
instance-attribute
¶
MenuText = _translate('Workbench', 'Data Manager')
class-attribute
instance-attribute
¶
ToolTip = _translate('Workbench', 'a simple data manager workbench')
class-attribute
instance-attribute
¶
toolbox = ['DataManagerVarsetManagement', 'DataManagerAliasManagement']
class-attribute
instance-attribute
¶
Activated()
¶
code which should be computed when a user switch to this workbench
Deactivated()
¶
code which should be computed when this workbench is deactivated
GetClassName()
¶
Initialize()
¶
This function is called at the first activation of the workbench. here is the place to import all the commands