papsphilip 8 Posted April 11 How can i get the ordered menu labels in VEX? I know how to do this in Python but what about VEX? Share this post Link to post Share on other sites
acey195 185 Posted April 13 By default you will fetch the tokens if you use chs() on an ordered menu parameter. if you use chi() it will give you the index in the list. Do you need to have 2 strings (the token and the label separately) ? If not you can just copy the label value to the token value. For fetching the actual label string.. I'm actually not sure for VEX from the top of my head. Share this post Link to post Share on other sites
papsphilip 8 Posted April 13 awesome! thank you @acey195 1 Share this post Link to post Share on other sites
freko12 1 Posted April 24 Any way to do this in python ? Share this post Link to post Share on other sites
papsphilip 8 Posted April 27 menu = node.parm('parm') // get the parm index = menu.evalAsInt() // get the current index label = menu.menuLabels()[index] // get the label of the index try this Share this post Link to post Share on other sites