Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get human readable name for BuiltInParameterGroup enumeration values

Using the Revit API is there a way to get the human readable version of the BuiltInParameterGroup enumeration values (Dimensions, Materials and Finishes, etc)?

like image 333
skeletank Avatar asked Aug 17 '26 06:08

skeletank


1 Answers

I found this post on the Autodesk forums that shows how to use the LabelUtils class.

string humanReadableGroup = 
  LabelUtils.GetLabelFor(BuiltInParameterGroup.PG_MATERIALS);
like image 180
skeletank Avatar answered Aug 18 '26 18:08

skeletank



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!