specklesystems / speckle-sharp

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

Add hosted element area to parameters in Revit. #3539

Open ks-cph opened 1 week ago

ks-cph commented 1 week ago

Description & motivation

Refers to Issue #3530 This change adds the Area of hosted elements within a host to a parameter. So far, no such parameter is available. This becomes especially important for windows and doors where the Area of removed elements can be essential. For instance, prefabricated timber elements are normally produced as a whole, and then these parts are removed, which is somewhat wasteful (even though they may be re-used).

Others will benefit from this change as such essential information is not yet available in Speckle.

Changes:

To-do before merge:

We chose to use the approach described in https://thebuildingcoder.typepad.com/blog/2015/03/ifcexportutils-methods-determine-door-and-window-area.html. However, this solution refers to the Revit.APIIFC.dll which is not part of the Revit Converters or Dynamo Converters, yet.

Validation of changes:

The contribution has been verified with several Revit models where windows and doors are added to walls.

Checklist: