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

bug(revit): duplication receiving light fixtures into revit #2438

Open
5 tasks done
dtnaughton opened this issue Apr 14, 2023 · 4 comments
Open
5 tasks done

bug(revit): duplication receiving light fixtures into revit #2438

dtnaughton opened this issue Apr 14, 2023 · 4 comments
Assignees
Labels
bug Something isn't working revit issues related to the revit connector.

Comments

@dtnaughton
Copy link
Contributor

dtnaughton commented Apr 14, 2023

Prerequisites

Originally flagged here on community forum, but creating issue for better tracking.

What package are you referring to?

speckle-sharp, revit connector (V22)

Describe the bug

Sending light fixtures from Revit to Speckle to consume in another Revit model is duplicating objects when using ‘Update’ feature on receive.

To Reproduce

Send these light fixtures (qty: 100) to Speckle and consume in another Revit model:
image

Update the location of lights (qty: 100) to align, and send to Speckle again, once again consuming into the other Revit model:
image

Final result (qty 200):

image

Expected behavior

The lighting fixture objects are superimposed upon on another, rather than updating the objects, leading to a qty of 200, as opposed to 100.

Screenshots

System Info

If applicable, please fill in the below details - they help a lot!

Desktop (please complete the following information):

  • Windows 10

Failure Logs

Additional context

Proposed Solution (if any)

Optional: Affected Projects

@dtnaughton dtnaughton added the bug Something isn't working label Apr 14, 2023
@jsdbroughton jsdbroughton added the revit issues related to the revit connector. label Apr 14, 2023
@teocomi
Copy link
Member

teocomi commented May 4, 2023

Hey @dtnaughton can you still repro with the latest release? Otherwise, can you share your sample file for testing, please?

@dtnaughton
Copy link
Contributor Author

I just tested with v2.14.0-rc1. If I keep the instance of Revit open for both receives, the objects update without duplication. However, if I close the instance of Revit and reopen between receiving the first commit and the second, the duplication occurs on the second receive.

This is tested using Revit 22. Here's an XYZ stream with the data from the model. To recreate, I received the commit objs into a different Revit model than the source one. Github doesn't support attaching Revit file types, so I will send you the source model in a DM on the community forum.

@JR-Morgan
Copy link
Member

JR-Morgan commented May 11, 2023

I'll investigate, I recently discovered we are converting (ToSpeckle) lighting fixtures as Network objects. I'm thinking potentially our update behaviour of networks is bugged in some way.

@clairekuang mentioned the possibility that we could simply send Lighting Fixtures not as Networks, but simply RevitFamilyInstances.
But ideally we'd also ensure Networks can be updated.

@clairekuang, are you aware of any current issues with networks and update mode?

@teocomi
Copy link
Member

teocomi commented May 11, 2023

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
No open projects
Status: 📋 To Do
Development

No branches or pull requests

5 participants