Skip to content

Commit

Permalink
Update PraUtils.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Dec 17, 2021
1 parent eb0ed5d commit 7502770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/PraUtils.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public static string RealString(double a)
/// <returns></returns>
public static string GetParameterType(this Autodesk.Revit.DB.Parameter parameter)
{
#if REVIT_2021
#if REVIT_2018 || REVIT_2019 || REVIT_2020 || REVIT_2021
ParameterType pt = parameter.Definition.ParameterType; // returns 'Invalid' for 'ElementId'
string s = ParameterType.Invalid == pt ? "" : "/" + pt;
#else
Expand Down

0 comments on commit 7502770

Please sign in to comment.