Draft: fix issues with grid spacing parameter

This commit is contained in:
0penBrain
2022-05-18 08:45:02 +02:00
parent d92c018eb6
commit 272ab6ff72
3 changed files with 11 additions and 5 deletions

View File

@@ -172,9 +172,9 @@ def get_param_type(param):
elif param in ("constructiongroupname", "textfont",
"patternFile", "template", "snapModes",
"FontFile", "ClonePrefix", "overrideUnit",
"labeltype") or "inCommandShortcut" in param:
"labeltype", "gridSpacing") or "inCommandShortcut" in param:
return "string"
elif param in ("textheight", "tolerance", "gridSpacing",
elif param in ("textheight", "tolerance",
"arrowsize", "extlines", "dimspacing",
"dimovershoot", "extovershoot", "HatchPatternSize"):
return "float"