I have created some IfcBuildingElementProxys using xBim to enrich an IFC file, gave them a geometry using the swept solid representation type. I followed the IFC schema in generating these objects. I am able to view the newly created elements in all kind of softwares that understand the IFC (BIMVision, FZKViewer, Revit,…), so far so good, Until a colleague makes a remark about the distances between these new elements.
To simplify the issue at hand, the screenshot below showcases one of the elements, its hard coded coordinates are (40.0, 40.0, -5.0) when creating the IfcCartesianPoint, but when the IFC file is generated and viewed, the actual position is at (120.0, 120.0, -8), and for the life of me I can’t figure out how is it happening. I tried different values like (2.0, 2.0, 0) but I get the position at (6.0, 6.0, 0).
Any idea or insight what I could be doing wrong?
Any help is much appreciated.