Man Posted March 7, 2019 Share Posted March 7, 2019 I have a dropdown to select between 3 strings and a "Result" string that pulls the value based on the dropdown. I'm wondering if there's a more preferred approach because if I want to add/remove an option I have to change it in 3 or 4 places. I figured out my initial question of why everything isn't evaluated as expected when you first create a node when I set up this example, but I left it broken in the attached files. If I change the default value of "dropdown" to "option1" it will work as expected. dropdown_test.hda Quote Link to comment Share on other sites More sharing options...
3dome Posted March 15, 2019 Share Posted March 15, 2019 I'm at work right now so can't look at your file, so I don't know how you set it up. But the way I'd do it is create a menu, as tokens I'd give it one, two, three with respective labels option1, option2, option3 and in the result parm use `chs("menu")` (or whatever the name of the menu parm) hope this helps Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.