Description
Prerequisites
- I read the contribution guidelines
- I checked the documentation and found no answer.
- I checked existing issues and found no similar issue.
- I checked the community forum for related discussions and found no answer.
- I'm reporting the issue to the correct repository (see also speckle-server, speckle-sharp, specklepy, speckle-docs, and others)
What package are you referring to?
Revit converter
Describe the bug
When copying the same linked model several times, Speckle converts them only once. The issue occurs when sending everything by view or selection.
To Reproduce
- Open Revit
- Link a file
- Copy the file several times
- Send to Speckle
Expected behavior
We would expect each instance of the copied link to be converted.
System Info
- Version 21.02
- Revit 2024
Proposed Solution (if any)
When reading selected elements, you must track their origin, including which version of the linked document they refer to.
Currently, the implementation relies on a unique ID to prevent elements from being converted multiple times. However, the issue is that these copied elements share the same “unique” ID and refer to the same Document. One way to distinguish them is by using the RevitLinkInstance.
We understand that this repository may no longer be your primary focus, but please consider this approach when working on version 3 of the connectors.