How to get parameters that have values as Combobox.

qoreodlf37
Enthusiast
Enthusiast

How to get parameters that have values as Combobox.

qoreodlf37
Enthusiast
Enthusiast

Hi, I'm trying to get parameters that have values as combobox.

qoreodlf37_0-1732153665880.png

I know that parameter has combobox when parameter's Storage Type is ElementId.
But some of Integer parameters has combobox.

 

And I find out that GetDataType() of Integer parameters having combobox have 'Empty TypeId'.

qoreodlf37_1-1732154134737.png

 

Is it right that all Integer parameters having combobox have 'Empty TypeId' when GetTypeId()?

 

Thank you!

 

0 Likes
Reply
Accepted solutions (1)
116 Views
2 Replies
Replies (2)

Mohamed_Arshad
Advisor
Advisor
Accepted solution

Hi @qoreodlf37 

 

    This question has been discussed in Revit API forum, Revit API don't have support for this. Kindly check the below link for additional references.

 

Reference Links

 

https://stackoverflow.com/questions/40789198/revit-api-how-to-retrieve-possible-values-for-parameter... 

 

https://forums.autodesk.com/t5/revit-api-forum/retrieve-list-of-possible-values-for-a-parameter/td-p... 

 

Hope this will helps 🙂

Thanks & Regards,
Mohamed Arshad K
0 Likes

qoreodlf37
Enthusiast
Enthusiast

Sad news.. but Thank you!!😂

0 Likes