From 287642d34a710b7d8910ee0a662d748f04b76159 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Thu, 19 Apr 2018 18:01:12 +0800 Subject: [PATCH] assembly: fix workplane command activation --- assembly.py | 1 + 1 file changed, 1 insertion(+) diff --git a/assembly.py b/assembly.py index bdb5a95..b4815d7 100644 --- a/assembly.py +++ b/assembly.py @@ -1870,6 +1870,7 @@ class AsmWorkPlane(object): bbox = shape.BoundBox pla = utils.getElementPlacement(shape,mat) else: + shape = None element = elements[0] ret = Assembly.find(element[0],element[1], relativeToChild=False,keepEmptyChild=True)