Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 6 commits into from
Mar 12, 2024

Conversation

AdrianaStanica
Copy link
Collaborator

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

  • The code base is in a better state after this PR
  • Is documented according to the standards
  • The level of testing this PR includes is appropriate
  • User facing strings, if any, are extracted into *.resx files
  • Snapshot of UI changes, if any.

Reviewers

@Mikhinja

…n cases when some curtain panels are doors or windows
}
else
{
result.Add(null);
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the actual code change

@Mikhinja Mikhinja merged commit 1e4e4b8 into master Mar 12, 2024
9 checks passed
@Mikhinja Mikhinja deleted the stanica/REVIT-219424/fix_curtain_panel_bug branch March 12, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CurtainPanel.ByElements fails
2 participants