Browse Source

enabling line rendering by default

master
Youen Toupin 3 years ago
parent
commit
4d682f5534
  1. 1
      ahb_cmd_set_part_stage.py

1
ahb_cmd_set_part_stage.py

@ -27,6 +27,7 @@ class AHB_SetPartStage:
obj.addProperty("App::PropertyInteger", "AssemblyHandbook_Stage", "AssemblyHandbook")
if not "AssemblyHandbook_RenderLines" in obj.PropertiesList:
obj.addProperty("App::PropertyBool", "AssemblyHandbook_RenderLines", "AssemblyHandbook")
obj.AssemblyHandbook_RenderLines = True
if obj.AssemblyHandbook_Stage != stageId:
obj.AssemblyHandbook_Stage = stageId
workbench.context.onPartStageChanged(obj)

Loading…
Cancel
Save