speckle-sharp
speckle-sharp copied to clipboard
bug(revit): receiving element2d set at incorrect elevation
Prerequisites
- [x] I read the contribution guidelines
- [x] I checked the documentation and found no answer.
- [x] I checked existing issues and found no similar issue.
- [x] I checked the community forum for related discussions and found no answer.
- [x] 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?
speckle-sharp, revit connector - bug is present in v2.13.0. I have not tested if this bug was introduced in the latest release or existing from a previous version.
Describe the bug
Receiving element2d into Revit (v22) appears to generate a level at the correct elevation, but then sets a height offset on object creation placing it at an incorrect elevation.
To Reproduce
Receive data from this stream into Revit 22.
Expected behavior
Floor and analytical surface should be created at correct elevation.
Screenshots
Objs in speckle server 3D viewer:

Objs once received in Revit.

System Info
If applicable, please fill in the below details - they help a lot!
Desktop (please complete the following information):
- Windows
Failure Logs
N/A