Launching a command from a panel button (

Say you have a command that you type into the command line to launch. Is it possible to launch the same command by programming a button on a panel?


Absolutely, and that is the recommended approach when working with non-modal user interface elements like panels. Use the RhinoApp.RunScript function for this.