Repository navigation
fix(elements): a plumbing fixture whose type draws nothing visible is left out, as Revit's export leaves it out (#1496) (RE-363) - #1538
Merged
Conversation
… left out, as Revit's export leaves it out (#1496) (RE-363)
DrunkOnJava
force-pushed
the
feat/1496-family-types-drawing-nothing
branch
from
November 9, 2026 02:11
ce5a3c4 to
7d02d82
Compare
DrunkOnJava
marked this pull request as ready for review
November 9, 2026 02:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1496. Follows #1513 (RE-363), which has landed.
Summary
A plumbing fixture whose type's saved graphics at Fine detail decode cleanly to no surface, with a branch left out as not visible, is left out and counted as
element_record_family_type_draws_nothing. Revit's exporter writes such an instance only when it has a body. RE-363 section 2 scores this category on every model with an export, with no false negative. Other categories are written whatever their type draws: a first version applied the rule to every family instance and left out 91 Generic Models on Snowdon Towers Structural, a file with no Revit export, where nothing supported it (RE-363 section 7). If the check can't run, every fixture is written andwarningssays so.Testing
Unit tests are banned here. Measure run 42534365349 on
ce5a3c4aagainst #1513's headad607125, every model: 117 of 118 exports are byte for byte, and only RE1 Plumbing moves. There the extraIfcSanitaryTerminalgoes (elements 124 to 123), connections not in Revit's export go from 2 to 0, values Revit does not write from 2 to 0, and different stays 0 with equal at 313.same-project gatespasses.tests/element_records_2025.rsnow expects RE1 Plumbing's fixtures to equal Revit's.