GuiCommand: Name: Draft SetStyle MenuLocation: Utilities , Set style Workbenches: Draft_Workbench, BIM_Workbench Shortcut: Draft: S S Version: 0.19 SeeAlso: Draft_AnnotationStyleEditor, Draft_ApplyStyle
Draft SetStyle
Description
The Draft SetStyle command sets the default style for new objects.
![](https://raw.githubusercontent.com/FreeCAD/FreeCAD-documentation/master/wiki/images/Draft_SetStyle_Taskpanel_Tab_Shape.png)
![](https://raw.githubusercontent.com/FreeCAD/FreeCAD-documentation/master/wiki/images/Draft_SetStyle_Taskpanel_Tab_Annotation.png)
Usage
- There are several ways to invoke the command:
- Press the
button in the Draft Tray. Depending on the current style settings this button can look different.
- Draft: Select the Utilities →
Set style option from the menu, or from the Tree view or 3D view context menu.
- Draft: Use the keyboard shortcut: S then S.
- Press the
- The Style settings task panel opens. See Options for more information.
- Optionally change one or more settings.
- Press the OK button to save the settings.
- The button in the Draft Tray is updated.
Options
-
From the dropdown list at the top of the task panel an exiting style preset can be selected.
-
Press the
button to save the current style settings as a preset.
-
On the Shape tab the following settings can be specified:
**Shape appearance** - **Shape color** . - **Ambient shape color** . <small>(v1.0)</small> - **Emissive shape color** . <small>(v1.0)</small> - **Specular shape color** . <small>(v1.0)</small> - **Shape transparency** . - **Shape shininess** . <small>(v1.0)</small>
-
Other
-
Line color
.
-
Line width
.
-
Point color
. (v1.0)
-
Point size
. (v1.0)
-
Draw style
.
-
Display mode
.
-
-
-
The settings on the Annotation tab apply to Draft Texts, Draft Dimensions and Draft Labels. The following settings can be specified (see Draft Text and Draft Dimension for details):
**Texts** - **Font name** . - **Font size** . This is in fact the default line height, the letters are smaller. - **Line spacing factor** . Not used for dimensions. - **Scale multiplier** . This is the inverse of the scale set in the [Draft annotation scale widget](wiki-test2.php?gitpage=Draft_annotation_scale_widget). If the scale is {{value|1:100}} the multiplier is {{Value|100}}. <small>(v1.0)</small> - **Text color** .
-
Lines and arrows
-
Line width
. (v1.0)
-
Arrow type
.
-
Arrow size
.
-
Line and arrow color
. (v1.0)
-
-
Dimensions
-
Show unit
.
-
Unit override
.
-
Dim line overshoot
. (v0.21)
-
Ext line length
. (v0.21)
-
Ext line overshoot
. (v0.21)
-
Text spacing
.
-
-
-
Press the
Selected button to apply the settings to selected objects or groups. Objects can be selected while the task panel is open.
-
Press the
Annotations button to apply the settings to all Draft Texts, Draft Dimensions and Draft Labels in the current document. (v0.21)
-
Press the Cancel button to finish the command without saving the settings.
Notes
- The settings on the Shape tab, except Draw style and Display mode, are not only used for Draft objects, but also for objects created with other workbenches.
- All settings, except Draw style and Display mode, can also be changed in the preferences. See PartDesign Preferences and Draft Preferences.
- Styles are saved in a file with a fixed name: StylePresets.json which is stored in FreeCAD\'s user Draft folder:
- On Linux it is usually /home/
/.local/share/FreeCAD/Draft/ . - On Windows it is %APPDATA%\FreeCAD\Draft\, which is usually C:\Users\
\Appdata\Roaming\FreeCAD\Draft\ . - On macOS it is usually /Users/
/Library/Preferences/FreeCAD/Draft/ .
- On Linux it is usually /home/
⏵ documentation index > Draft > Draft SetStyle
This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/Draft_SetStyle.md