Sort list to put in dropdown input


#1

I’m using Form package to get a dropdown input whenever I run the script.
The issue is that the keys displayed in the dropdown isn’t in numerical order. As far as I can tell it just display them in the order the output “unique keys” provide. But how do I change this?

Udklip%20bygningsID%20liste


#2

you can use data-shape package for user inputs.
it’s sort the inputs automaticly.


#3

Yeah I actually ended up using data-shapes. But I don’t have the dropdown data node or the ++ node. Do I have the wrong version of dynamo? I’m using revit 19 and dynamo that comes with that.


#4

Yeah. Try updating the dynamo and the data-shapes package. Your problem will be solved.:slight_smile:

https://dynamobim.org/download/