Hello,
I’ve been having a few issues with the dropdownlist menu item in Maxscript. Basically, I have various values (mainly float values) in a dropdown list that the user can select. If I use basically “<dropdownlist>.selection” I get the number of the item in the array, so far example if I had something like this,
(random example)
#("1.0", "5.5", "10.4", "20.8", "50.5","100.1", "200.05")
and I want to get the value contained in the selection, using “.selection” returns the number of the item, but not the actual value it contains (so instead of 100 I would get 6 instead of 100).
To “fix” this I just use a case statement which works fine, but seems a bloated way of doing things.
So is this a syntax/logic error on my part, or something else?
Thanks for your time.