draftguitools.gui_annotationstyleeditor Namespace Reference

Classes

class  AnnotationStyleEditor
 

Variables

dictionary DEFAULT
 
 param = App.ParamGet("User parameter:BaseApp/Preferences/Mod/Draft")
 

Variable Documentation

◆ DEFAULT

dictionary draftguitools.gui_annotationstyleeditor.DEFAULT
Initial value:
1 = {
2  "FontName": ("font", param.GetString("textfont", "Sans")),
3  "FontSize": ("str", str(param.GetFloat("textheight", 100))),
4  "LineSpacing": ("str", "1 cm"),
5  "ScaleMultiplier": ("float", 1),
6  "ShowUnit": ("bool", False),
7  "UnitOverride": ("str", ""),
8  "Decimals": ("int", 2),
9  "ShowLines": ("bool", True),
10  "LineWidth": ("int", param.GetInt("linewidth", 1)),
11  "LineColor": ("color", param.GetInt("color", 255)),
12  "ArrowType": ("index", param.GetInt("dimsymbol", 0)),
13  "ArrowSize": ("str", str(param.GetFloat("arrowsize", 20))),
14  "DimensionOvershoot": ("str", str(param.GetFloat("dimovershoot", 20))),
15  "ExtensionLines": ("str", str(param.GetFloat("extlines", 300))),
16  "ExtensionOvershoot": ("str", str(param.GetFloat("extovershoot", 20))),
17  }

◆ param

draftguitools.gui_annotationstyleeditor.param = App.ParamGet("User parameter:BaseApp/Preferences/Mod/Draft")