specklesystems / speckle-sharp

.NET SDK, Schema and Connectors: Revit, Rhino, Grasshopper, Dynamo, ETABS, AutoCAD, Civil3D & more.
https://speckle.systems
Apache License 2.0
370 stars 170 forks source link

Revit: Area of cut openings such as windows and walls in host elements is not available when converted. #3530

Open ks-cph opened 3 months ago

ks-cph commented 3 months ago

Prerequisites

What package are you referring to?

server (backend)

Describe the bug

When converting walls with hosted elements, e.g. windows and doors, the area of these openings is relevant for different use cases. However, no parameter converted represents the area of the hosted element within the host. While we expected that the parameter HOST_AREA_COMPUTED would correspond to this desired value, we found out that this is not always the case (see https://thebuildingcoder.typepad.com/blog/2015/03/ifcexportutils-methods-determine-door-and-window-area.html).

To Reproduce

Export from Revit to Speckle.

Expected behavior

We would expect a parameter representing the area of the hosted object within the host as illustrated in the following image.

Screenshots

Description