Shall we automatically extract nested geometries from facade elements? #1373
Labels
type:feature
New capability or enhancement
type:question
Ask for further details or start conversation
Description:
Recently I bumped against an issue related to querying solids and physical bounds of a curtain wall. I noticed that although a curtain element has a bounding box and solid representation with volume and area, its faces and edges collections are empty 🤯
This results with
GeometryPrimitives
query returning nothing due to the following lines:Revit_Toolkit/Revit_Core_Engine/Query/GeometryPrimitives.cs
Lines 72 to 73 in f22d01a
The above trickles down to
Solids
,Faces
,PhysicalBounds
etc. queries, which all return nothing now. As long as this is correct if we map the process 1:1 against the curtainElement
object, is seems a bit counterintuitive that we need to query each individual panel and mullion each time we want to get the geometry of a facade element.It tempted to me to add a few lines extracting panels and mullions inside
GeometryPrimitives
query (usingBH.Revit.Engine.Core.Query.ICurtainGrids
), but it feels like a risky shortcut taken it touches the core of the entire geometry extraction process. So I wanted to check with everyone (@enarhi in particular, taken it is facade business) how do you feel about making the change:All comments welcome.
The text was updated successfully, but these errors were encountered: