Autodesk / revit-ifc

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

Recreating intelligent walls upon import. #337

Open theoryshaw opened 3 years ago

theoryshaw commented 3 years ago

Any particular reason this file doesn't recreate intelligent walls upon import?

This file, recreates intelligent walls upon import.

AngelVelezSosa commented 3 years ago

I didn't debug it, but I would say it has to do with the wall footprint. Basically, in Revit, a wall is an axis that is vertically extruded, and has complicated logic for determining wall joins to other walls. It can be quite tricky via the API (internal or external) to reverse engineer the correct wall join information corresponding to a wall footprint that represents the post-clip information. I believe that if there is an IfcRelConnectsPathElements, it tries harder.

theoryshaw commented 2 years ago

by footprint you mean the Curve2D on the GRAPH_VIEW context?