Answers for "DisplayUnitType revit api"

C#
0

DisplayUnitType revit api

//Pre 2021
                        DisplayUnitType displayUnitType = fp.DisplayUnitType;
                        value = UnitUtils.ConvertFromInternalUnits(nullable.Value, displayUnitType).ToString();
                        //2021
                        ForgeTypeId forgeTypeId = fp.GetUnitTypeId();
                        value = UnitUtils.ConvertFromInternalUnits(nullable.Value, forgeTypeId).ToString();
Posted by: Guest on September-08-2021

C# Answers by Framework

Browse Popular Code Answers by Language