Autodesk / revit-ifc

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

PR: glitchy geometry cause the type relationships to not be exported #796

Open Moult opened 3 months ago

Moult commented 3 months ago

Problem Description

This is a very, very odd one. I've just been working with a landscape architect who has all sorts of revit floors with subelements for outdoor paving. Naturally these are all rather triangulated looking floors. These floors have various cutouts / voids in them.

We've set the Export Type To IFC As to be "IfcCoveringType".

There is one problematic element. If I export an IFC with that problematic element, then I will get a bunch of IfcCovering for all of these floor slabs, but I will not get any IfcCoveringType and there will be no IfcRelDefinesByType relationship. Therefore I will also lose all type properties.

If I hide that element and re-export the exact same IFC, then I will get the expected behaviour of getting a bunch of IfcCovering with the relating type IfcCoveringType with all of its type properties.

Revit Version

2023.1.x

IFC for Revit Addon Version

24.x.x

Windows Version

11 22H2

AngelVelezSosa commented 3 months ago

If there's any chance you can isolate a couple of the elements that reproduces the issue, we will look at it.