Std Workbench: Difference between revisions

From FreeCAD Documentation
No edit summary
mNo edit summary
(46 intermediate revisions by 6 users not shown)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
<!--T:31-->
{{Docnav
{{Template:UnfinishedDocu}}
|[[Std_RandomColor|RandomColor]]
|[[Std_TreeSyncView|TreeSyncView]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_RandomColor.svg
|IconR=Std_TreeSyncView.svg
|IconC=Freecad.svg
}}


<!--T:2-->
<!--T:2-->
<!--Empty=1 to suppress icon-->
{{GuiCommand|Name=Std Workbench|MenuLocation=[[Std View Menu|View]] → Workbench|Workbenches=All|Shortcut=...|SeeAlso=...}}
{{GuiCommand
|Name=Std Workbench
|Empty=1
|MenuLocation=View → Workbench
|Workbenches=[[Workbenches|Workbenches]]
|SeeAlso=
}}


==Description== <!--T:5-->


<!--T:3-->
<!--T:6-->
The '''Std Workbench''' command activates a selected [[Workbenches|workbench]] including its graphical user interface (GUI).
ToDo.


<!--T:26-->
[[Image:FreeCAD_interface_base_divisions.svg|800px]]
{{Caption|The Workbench dropdown list indicated by number 10 in the standard [[interface|interface]]}}


<!--T:4-->
==Usage== <!--T:3-->

[[Category:UnfinishedDocu]]
<!--T:9-->
# 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 {{incode|<none>}} (no workbench).
#* Select a workbench from the {{MenuCommand|View → Workbench}} sub-menu.

==Notes== <!--T:8-->

<!--T:27-->
* Additional [[External_Workbenches|External Workbenches]] can be downloaded with the [[Image:AddonManager.svg|24px]] [[Addon_Manager|Addon Manager]].

==Preferences== <!--T:32-->

<!--T:33-->
* The start up workbench can be changed in the preferences: {{MenuCommand|Edit → Preferences... → General → General → Start up}}. See [[Preferences_Editor#General|Preferences Editor]].

==Scripting== <!--T:34-->

<!--T:35-->
{{Emphasis|See also:}} [[FreeCAD_Scripting_Basics|FreeCAD Scripting Basics]].

<!--T:36-->
To change the worbench use the {{incode|activateWorkbench}} method of the FreeCADGui module. This method is not available if FreeCAD is in console mode.

</translate>
{{Code|code=
import FreeCADGui

FreeCADGui.activateWorkbench("PartDesignWorkbench")
}}
<translate>


<!--T:37-->
{{Docnav
|[[Std_RandomColor|RandomColor]]
|[[Std_TreeSyncView|TreeSyncView]]
|[[Std_View_Menu|Std View Menu]]
|IconL=Std_RandomColor.svg
|IconR=Std_TreeSyncView.svg
|IconC=Freecad.svg
}}


</translate>
</translate>
{{Std Base navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{Interface navi{{#translation:}}}}
{{clear}}
{{clear}}

Revision as of 14:57, 6 January 2021

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")