Could somebody please help me out with this conversion from Deprecated ParameterType to ForgeTypeId for Revit 2022 Api?
The 'old' code has a line like:
if (parameter.Definition.ParameterType == ParameterType.Text) ....
What would be the 2022 equivalent for it?
It seems that the left side may be:
if (parameter.Definition.GetDataType() == ????) ....
but for some reason I cannot find what do I have to use on right side of the operation 😞 There must be something I am overlooking.
Thanks in advance.
Solved! Go to Solution.
Link copied