From 91970fa3df00f6f4759e8d77f4a3636ed7f5e1f8 Mon Sep 17 00:00:00 2001 From: "Zheng, Lei" Date: Mon, 15 Jul 2019 17:41:55 +0800 Subject: [PATCH] assembly: handle FC without topo naming --- assembly.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/assembly.py b/assembly.py index 22d95c0..8ad2d7a 100644 --- a/assembly.py +++ b/assembly.py @@ -631,7 +631,10 @@ class AsmElement(AsmBase): # level compound will be made inside updatePlacement() to contain the # part's placement. shape = Part.makeCompound(shape) - shape.ElementMap = info.Shape.ElementMap + try: + shape.ElementMap = info.Shape.ElementMap + except Exception: + pass self.updatePlacement(info.Placement,shape) return True