assembly: explicit copy shape in AsmElement

This commit is contained in:
Zheng, Lei 2018-07-16 13:05:19 +08:00
parent 4eb9910b02
commit 3e06e1212f

View File

@ -307,7 +307,7 @@ class AsmElement(AsmBase):
info = getElementInfo(self.getAssembly().getPartGroup(),
self.getElementSubname())
shape = info.Shape
shape.transformShape(info.Placement.toMatrix())
shape.transformShape(info.Placement.toMatrix(),True)
# make a compound to keep the shape's transformation
shape = Part.makeCompound(shape)
shape.ElementMap = info.Shape.ElementMap