Hi,
What i want to achive is to move an building storey and its elements to an elevation.
I can click on an single element->object properties->write in 193200 on Location Z, and the elements move upp like it should.
but if i select more than 1 object, nothing happens... What am i doing wrong ?
I have also tried to use ifcopenshell and move the site and also building storey, but i when i try to open the model its in the same elevation..... Please help.
filename = '/skolebygg.ifc'
ifc_file = ifcopenshell.open(filename)
site = ifc_file.by_type('IfcSite')[0]
elevation_adjustment = 193200
Adjust the site elevation
if site.RefElevation is not None:
site.RefElevation += elevation_adjustment
else:
print("Site elevation is not set. Please check your model.")
ifc_file.write('/skolebygg.ifc')