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(revit): instance display mesh fix once and for all🤞 #2755

Closed
wants to merge 2 commits into from

Conversation

clairekuang
Copy link
Member

Description & motivation

Community-provided test file on the 2.15 announcement in the forum showed that some instances (with .HasModifiedGeometry() = false ) still have incorrect display value meshes on send.

This fix will always retreive the instance geometry rather than the symbol geometry when converting definitions, and then untransform the instance geomtry - hopefully this will be the most reliable approach to accurate display meshes + transforms.

To-do before merge:

  • test as many user-provided revit files as possible, especially those with previously out of place instances

Screenshots:

Before:
image

After:
image

Validation of changes:

Tested on Revit2023 & 2024:

  • face based instances
  • simple wall
  • rool wall floor hosted instances
  • sample architectural model
  • sample structural model

@clairekuang clairekuang requested a review from connorivy July 12, 2023 12:36
@clairekuang clairekuang added revit issues related to the revit connector. bug Something isn't working labels Jul 12, 2023
@notion-workspace
Copy link

@teocomi teocomi added this to the 2.15 milestone Jul 13, 2023
@connorivy
Copy link
Contributor

This PR was superseded by #2771

@connorivy connorivy closed this Jul 14, 2023
@clairekuang clairekuang deleted the revit/claire/instance-display-fix branch September 5, 2023 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working revit issues related to the revit connector.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants