Set component for CmdButton?

I’m working on a definition to create rhino commands from on a series of pulldown menus. Currently the selections go from a value listener, to a python script that makes the rhino command, to a CmdButton component. Because a a ui element is being driven by a value listener it’s causing issues. Is there a set component that works with cmdbutton, or some other way to send values from a pulldown list to a button?

no, not currently. If there’s a fixed list of possible commands, you could create them all and use the pulldown/value listener to hide/show the relevant ones

1 Like