Autodesk / revit-ifc

IFC for Revit and Navisworks (2019+)
485 stars 196 forks source link

Wall function foundation and retaining export error #117

Open gvanolst opened 5 years ago

gvanolst commented 5 years ago

When I set a wall function tot foundation or retaining i get the error: Unexpected errors occurred while exporting these elements to the IFC file. This happens after the update to 19.2.

dvrvb commented 5 years ago

Hi, I suspect that probably there is something happening in the mapping of the Revit Category to the IFC Class. With the default mapping (all 4 are mapped to IfcWall), the resulting IFC is OK. With a custom mapping (see screenshot), the resulting IFC is still OK. (see rvt and ifc in zip) Probably you can post a little sample with the issue. Regards, Dirk 2019-07-01 wall foundation retaining.zip

image
gvanolst commented 5 years ago

Thanks for your reply. When I use IfcWall it works fine but when I use IfcFooting I receive an error. Using IfcWall in the exportmapping and IfcExportAs IfcFooting results also in an error. What is causing this error? The export you made is working fine.

dvrvb commented 5 years ago

Hi, I can confirm that IfcExportAs isn't working anymore for a wall. A Revit Wall with IfcExportAs=IfcFooting, still generates an IfcWall. 2019-07-01 wall IfcExportAs IfcFooting.zip

At the moment only the mapping in the export options is working fine. What is the cause? That's something the developers probably could answer. BTW, I don't get an error with a single wall. Are there in your testmodel also other objects, next to that wall, that could probably cause the error? Regards, Dirk

gvanolst commented 5 years ago

For me the export mapping is still not working when I use IfcFooting. 2019-07-01 wall foundation ifcfooting.zip I'm using Revit 2019.2 and IFC exporter 19.2.0

dvrvb commented 5 years ago

I noticed that I was already using 19.2.1 RC. With 19.2.0 there is indeed an error!

image

But that error seems to be fixed in 19.2.1 RC.

The issue remains that IfcExportAs=IfcFooting is not working.

dvrvb commented 5 years ago

A little additional note: a Wall is indeed exportable as IfcFooting (with the use of IfcExportAs) but only for f.i. a Model in Place from the Category Walls. A 'standard' system family is only exportable as IfcFooting when the function is set on foundation or retaining: in that case the mapping of the Category to IfcFooting is hardcoded in the exporter.