Create a Custom Options Panel (Similar to Zebra Options)


I am trying to find out how I can create an options panel that works similar to how the Zebra command’s panel does (that is, when I run the plugin I am working on).

I want the user to be able to select options that they want to perform using this interface. Currently I ask the user to type in a number in the command line for the action they wish to take. So far I am having trouble finding out how to create the options panel. I would also like to know how I can link my plugin with the panel once I get it set up.

Any help is appreciated.

Hi @robert.beck12569,

The Zebra panel, another analysis modes panels, is implemented as an MFC control bar. In the Rhino C/C++ SDK, you can use the CRhinoUiDockBar class. I believe there are a couple of examples of it being used in the Rhino developer samples repo on GitHub.

– Dale