revit-ifc
revit-ifc copied to clipboard
Incorrect IFC export while using the Revit API
There seem to be some bugs and / or unexpected behavior while exporting to IFC based on the Revit API. While exporting manually with the latest exporter and the latest Revit version everything seems oké. Besides that the file size seems to be 3x as big as the former version. But if we use an automated way, things go wrong.
Based on https://www.revitapidocs.com/2022/03f1bce3-dd39-9deb-c732-db82474cb40b.htm, we can use different IFCVersions. They match the manual version and have a few extra.
IFC4RV (IFC4 Reference View) Gives dislocated geometry in the latest version. And the filesize is 3x as big. IFC4DTV (IFC4 Design Transfer View) Adds in some places more geometry - not sure why. File size is not very different than before.
We need the IFC4RV version.
If it helps to solve this behavior I can send some testfiles. Just tell we what is needed and where to send it to.
picture 1 - IFCRV dislocated geome picture 2 - IFCDTV extra geometry ? picture 3 - expected and correct behavior (old and automated versions and new versions manually)