assembly: handle FC without topo naming

This commit is contained in:
Zheng, Lei 2019-07-15 17:41:55 +08:00
parent 42f3ed25ca
commit 91970fa3df

View File

@ -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