diff --git a/Xbim.Ifc/Extensions/IfcStoreGeometryExtensions.cs b/Xbim.Ifc/Extensions/IfcStoreGeometryExtensions.cs index ec4f98ae6..fcc8b2e5d 100644 --- a/Xbim.Ifc/Extensions/IfcStoreGeometryExtensions.cs +++ b/Xbim.Ifc/Extensions/IfcStoreGeometryExtensions.cs @@ -67,6 +67,7 @@ public static void SaveAsWexBim(this IModel model, BinaryWriter binaryStream, IE { binaryStream.Write((Int32)(r.Population)); var bounds = r.ToXbimRect3D(); + bounds = XbimRect3D.TransformBy(bounds, t); var centre = t.Transform(r.Centre); //write out the centre of the region binaryStream.Write((Single)centre.X);