Not applicable
05-05-2020
02:24 PM
Hello,
I'm trying to update a revit plugin for Revit 2021.
The code of the plugin were designed for Revit 2019, but it also works in Revit 2020.
I Followed the guide described here: https://bit.ly/2za2t6i
and it worked for revit 2021 too.
I've seen that revit 2021 API had several changes, one of then regarding the UnitUtils.ConvertFromInternalUnits() method. Now it uses a ForgeUnitID instead of a DisplayUnitType enum member.
My question is: Why the code that's been originally written in the 2019 version works seemlessly in Revit 2021 ?
Thank you!
Solved! Go to Solution.
Link copied