c# - How to get all parameter choices in Revit? -


there element's parameter has 5 choices (combobox's style). know how current selected one, there way retrieve 4 other choices?

they stored in similarobjecttypes elementset.

foreach (element elem in elemset) {     parameter param = elem.get_parameter(paramname);      if (param != null)     {         var similar = elemparam.similarobjecttypes;          foreach (element choice in similar)         {             string choicename = choice.name;         }     } } 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -