I noticed that the conversion of some surfaces to Bhom assigned the same curve loop as both the external boundary and one of the internal openings. Looks like each time we call face.ExternalCurveLoop(), Revit gives a different set of objects, so the below Where(x => x != externalLoop query will give incorrect result:
Description:
I noticed that the conversion of some surfaces to Bhom assigned the same curve loop as both the external boundary and one of the internal openings. Looks like each time we call
face.ExternalCurveLoop()
, Revit gives a different set of objects, so the belowWhere(x => x != externalLoop
query will give incorrect result:https://github.com/BHoM/Revit_Toolkit/blob/4ff3d21861c83bf37a1d2c7aea05fb5cd18e95cd/Revit_Core_Engine/Convert/Geometry/FromRevit/Surface.cs#L50
Steps to reproduce:
Expected behaviour:
Test file(s):