- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I want to retrieve a list of possible values for a given parameter.
Fx. if we look at the Phase Created parameter of a given element, the parameter can only be the phases contained within the open project - how do I retrieve this list?
I found this old stackoverfllow question where it doesn't seem possible, but has anything changed in that regard?
For context:
I'm making a GUI where you can filter doors, and I want to be able to filter based on any parameter of the doors - the list of parameters I get with GetOrderedParameters() on a given door.
When the user chooses a parameter like width I show a textbox, but if they select something like Phase Created I want to show a combobox containing the values you can choose.
Any ideas or workaround is also greatly appreciated I feel like I've emptied out my own ideas besides hardcoding based on the phases of the project for the Phase Created parameter, but I would like a more elegant solution.
Solved! Go to Solution.