Get English Name of a Parameter

Hello,

I wish to get the English name of a parameter…I’ve seen this code wich returns the BuiltInCategory Enumeration for a given category in Dynamo

Category2BuiltIn = System.Enum.ToObject(BuiltInCategory, Category.Id)

And i thought with myself… Is there anyequivalent to the parameter translation ?

for instance, the parameter “level” available in walls is translated in portuguese to “Nível”. Is there a function wich take this “nivel” as argument and returns the name “level”?

Thanks!

There is no such function to translate the name of a parameter. You can use BuiltInParmater enumeration to always point proper parameter, no matter the language Revit is using:
https://www.revitapidocs.com/2016/fb011c91-be7e-f737-28c7-3f1e1917a0e0.htm
Unfortunately it requires some Python coding.

1 Like

I dont think there is a normal function in Dynamo for that, but it also would just work fine because Dynamo should work just fine in every language.