How to get parameters that have values as Combobox.

How to get parameters that have values as Combobox.

qoreodlf37
Enthusiast Enthusiast
242 Views
2 Replies
Message 1 of 3

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
Accepted solutions (1)
243 Views
2 Replies
Replies (2)
Message 2 of 3

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 🙂


Mohamed Arshad K
Software Developer (CAD & BIM)

0 Likes
Message 3 of 3

qoreodlf37
Enthusiast
Enthusiast

Sad news.. but Thank you!!😂

0 Likes