specklesystems / speckle-sharp

.NET SDK, Schema and Connectors: Revit, Rhino, Grasshopper, Dynamo, ETABS, AutoCAD, Civil3D & more.
https://speckle.systems
Apache License 2.0
372 stars 170 forks source link

Civil3d 2021 connector needs support for the unit "USSurveyFeet" #827

Closed shashwatmott closed 2 years ago

shashwatmott commented 2 years ago

While building the Civil3d 2021 connector from source, it fails to send items if the units for the file are "USSurveyFeet" while it does fine with other units.

To reproduce the error, change the Insertion Scale Drawing Units for the file to US Survey Feet and try to send an alignment from Civil 2021 to the server.

The problem seems to stem from Unit.cs in speckle-sharp/Core/Core/Kits

image

image

clairekuang commented 2 years ago

Thanks for reporting this! Should be a quick fix, will try to squeeze it in for our next release coming up soon 👍

shashwatmott commented 2 years ago

Thank you so much! Looking forward to it.