Std Workbench: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
Line 4: Line 4:
<!--T:31-->
<!--T:31-->
{{Docnav
{{Docnav
|[[Std_RandomColor|Std RandomColor]]
|[[Std_RandomColor|RandomColor]]
|[[Std_TreeSyncView|Std TreeSyncView]]
|[[Std_TreeSyncView|TreeSyncView]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu|Std View Menu]]
|IconL=
|IconL=
Line 66: Line 66:
<!--T:37-->
<!--T:37-->
{{Docnav
{{Docnav
|[[Std_RandomColor|Std RandomColor]]
|[[Std_RandomColor|RandomColor]]
|[[Std_TreeSyncView|Std TreeSyncView]]
|[[Std_TreeSyncView|TreeSyncView]]
|[[Std_View_Menu|Std View Menu]]
|[[Std_View_Menu|Std View Menu]]
|IconL=
|IconL=

Revision as of 20:46, 22 December 2020

Std Workbench

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

Description

The Std Workbench command activates a selected workbench including its graphical user interface (GUI).

The Workbench dropdown list indicated by number 10 in the standard interface

Usage

  1. There are several ways to invoke the command:
    • Select a workbench from the Workbench dropdown list in the Workbench toolbar. This option is not available if the current workbench is <none> (no workbench).
    • Select a workbench from the View → Workbench sub-menu.

Notes

Preferences

  • The start up workbench can be changed in the preferences: Edit → Preferences... → General → General → Start up. See Preferences Editor.

Scripting

See also: FreeCAD Scripting Basics.

To change the worbench use the activateWorkbench method of the FreeCADGui module. This method is not available if FreeCAD is in console mode.

import FreeCADGui

FreeCADGui.activateWorkbench("PartDesignWorkbench")