- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have got a value, that I convert with UnitUtils.ConvertToInternalUnits(value, SpecTypeId.MassPerUnitArea) for Revit 2022 and Revit 2023 and with UnitUtils.ConvertToInternalUnits(value, ParameterType.MassPerUnitArea) for Revit 2020 and Revit 2021.
I set the result to a Autodesk.Revit.DB.Parameter.
When I edit the type parameters, it works with Revit 2020, but I see a completely different value with Revit 2021, 2022 and 2023
My code works with other units for all Revit versions.
Has anyone knowledge about that issue?
Solved! Go to Solution.