I want to write an ifc file where all objects get a guid from the source.
In my source dataset (rooms) there is already a primary key (in guid format). I want to keep this key in the exported objects (IfcSpace). I have tried to set different attributes with this value (ifc_id, ifc_unique_id, GlobalId), but the ifc writer always generates a new guid for each object.
How can I arrive to export an already existing guid for each object?