Enabling and disabling toolbar buttons programatically


I develop a Rhino plugin that has two states - one for setting up problems to solve, and one for viewing results. At the moment, we run one toolbar that contains some buttons that work in both states, and some buttons that only work in one or other of the program states.

Is it possible to programatically enable and disable buttons in a Rhino toolbar? I think the most elegant solution might be to grey-out buttons that are not currently relevant.


Hi @tj1,

Sorry, no.

– Dale