Custom Menu Creation


#1

Hi,

We have tried to create a Custom Menu in Rhino. Kindly give the samples for Custom Menu creation in Rhino.

We have referred the below link. When clicking the link, It shows “Not Found”.

http://wiki.mcneel.com/_media/legacy/en/CSMenuTest.zip

Thanks,
Pushpa


(Menno Deij - van Rijswijk) #2

You should create a RUI file using the Workspace Editor (Tools=>Toolbar Layout; then choose the Tools=>Workspace Editor).

This is best practice for making custom menus. In your RUI file you can put commands of your plug-in in the macro for each menu item.

See http://developer.rhino3d.com/guides/rhinocommon/create-deploy-plugin-toolbar/ for more information (a RUI file can contain a toolbar, but also a custom menu).