Std Workbench

From FreeCAD Documentation
Revision as of 20:00, 6 February 2020 by Kunda1 (talk | contribs) (fixed alignment issues)

This documentation is not finished. Please help and contribute documentation.

GuiCommand model explains how commands should be documented. Browse Category:UnfinishedDocu to see more incomplete pages like this one. See Category:Command Reference for all commands.

See WikiPages to learn about editing the wiki pages, and go to Help FreeCAD to learn about other ways in which you can contribute.

Std Workbench

Menu location
View → Workbench
Workbenches
All
Default shortcut
None
Introduced in version
-
See also
Workbenches

Description

This command is used to activate the graphical user interface (GUI) and the tools of a specific workbench.

There are also two special options available: None (no workbench) and Complete obsolete in version 0.17

Usage

Often the project starts in a workbench, for example with Sketch, then continues in a different workbench, for example with Part, to create objects. You can switch from the current workbench to a new one with one of the following ways:

From the View menu

  • In the top menu, open the ViewWorkbench menu and select a workbench. This menu is always available, even when you have previously selected the Complete or None workbench.

From the drop-down menu

  • In the top menu, open the drop-down menu and select a workbench. This menu is not available when you have previously selected the Complete or None workbench.

Via Python console

  • Type the command in the Python console, for example: to invoke the Draft workbench type:

Gui.activateWorkbench ("DraftWorkbench")

Examples

Using the the Workbench drop-down menu

Invoking a different workbench using the Python console

Tip: If the Python console is open you will see that FreeCAD records the actions it executes in python code. Theoretically, the user can change something in the interface and see the comparable python code generated. This is a very useful way to learn python, FreeCAD, and how to automate redundant tasks (see Macros for more details).

Other references

For a general description of the workbenches, see the page Workbenches.