Parameter type changes to custom in Revit 2021.1

gopinath.rajendran
Enthusiast
Enthusiast

Parameter type changes to custom in Revit 2021.1

gopinath.rajendran
Enthusiast
Enthusiast

Angular Speed
Cost per Area
Cost Rate Energy
Cost Rate Power
Diffusivity
Distance
Flow per Power
Isothermal Moisture Capacity
Mass per Time
Power per Flow
Power per Length
Rotation Angle
Stationing Interval
Thermal Gradient Coefficient for Moisture Capacity

 

The parameters with the above types are automatically changed to custom after creation.

 

ParameterInfo.PNG

0 Likes
Reply
981 Views
4 Replies
Replies (4)

jeremytammik
Autodesk
Autodesk

Thank you for your note.

 

Could you please explain a little bit more, please?

 

Is this a problem for you?

 

Are you happy with this?

 

Would you like me to report this to the development team?

 

Do you think it is unexpected behaviour?

 

Thank you.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes

jeremytammik
Autodesk
Autodesk

For safety's sake, I passed on your report to the devteam right away to ask them whether this is intentional and expected or not.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder

0 Likes

gopinath.rajendran
Enthusiast
Enthusiast

Looks like we don't have API support(for creating) for these parameter types.

0 Likes

jeremytammik
Autodesk
Autodesk

The development team replied:

 

Yes, it's intentional, but I recognise it as a limitation.

 

A future major release of Revit will offer a better experience.

 

The reason behind it is that the new data types in this list can be identified by ForgeTypeId but do not map to values in the deprecated UnitType enumeration or the ParameterType enumeration (which will be deprecated in future releases of Revit). You can use these new data types to create parameters in the Revit user interface, but if you try to read the ParameterType value in the API, you'll get Custom. However I believe our customer can use the Definition.GetSpecTypeId() method to distinguish between these Custom parameters.

 

You are absolutely correct: currently no support for these parameter types.

 

That support will come in a future major release of Revit.

  

It is in fact also already available in the current preview release.

 



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder