From 4d682f55344f661d4614cdfe7d221785a3f63fea Mon Sep 17 00:00:00 2001 From: Youen Toupin Date: Sat, 25 Dec 2021 12:40:26 +0100 Subject: [PATCH] enabling line rendering by default --- ahb_cmd_set_part_stage.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ahb_cmd_set_part_stage.py b/ahb_cmd_set_part_stage.py index 8edf8f4..523d572 100644 --- a/ahb_cmd_set_part_stage.py +++ b/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)