DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
328 stars 184 forks source link

Fix CurtainPanel.ByElements node returning null as soon as curtain wall contains doors or windows #3053

Closed AdrianaStanica closed 3 months ago

AdrianaStanica commented 3 months ago

Purpose

This is a quick fix for this issue in which CurtainPanel.ByElements node returns null if the curtain wall has doors or windows. This change fixes only part of the problem, meaning that now the node will display the list of curtain panels, while curtain windows or curtain door elements will be displayed as null values in that list. Returning doors and windows as well will be treated as a separate issue.

This PR has a lot of changes because of reformatting the file according to current coding standards.

REVIT-219424

Declarations

Check these if you believe they are true

Reviewers

@Mikhinja