How to displace the IFC Site without moving objects.
I have a project with multiple designers.
We can coordinate them automagically in BIMCollab or Bonsai without issues, even as a couple of them have the IFCSITE definition some kilometres away of the definition of the main designer.
My problem comes when the Facility Management subcontractor tried using the IFC files, as its custom solution places the IFCSITE of each file in the 0,0,0 of its visualization module.
Do I have a patch or automation in Bonsai to displace the IFCSITE with correction of the location vector of the objects (I mean, so that they are still in the same absolute location when looking them in BIMCollab or Bonsai)?
The patch "OffsetObjectPlacements" doesn't do what I need as it moves only the IFCSITE, moving the objects in my usual coordination software.
It worked halfway there with "ResetAbsoluteCoordinates" with a manual offset, and then text editing the IFCSITE, IFCBUILDING and IFCBUILDINGSTOREY definitions.
Comments
If you want to automate it, your best bet is to use Python and call https://docs.ifcopenshell.org/autoapi/ifcopenshell/api/geometry/index.html#ifcopenshell.api.geometry.edit_object_placement with a matrix and
should_transform_children
to be set to False.