Add the second command on Rhino Plugin in C++ SDK for Rhino 5


I build a Rhino Plugin in C++ SDK for Rhino 5. Initially there is a command. However, I want add the second command. I followed guide to use command wizard to generate code and past in .cpp file. The code can be build. However, when I run it. In Rhino 5, I cannot use the second command I build. Software told me that is unknown command. Is there anything wrong with my code. Please give me some suggestion. Thanks!

(Menno Deij - van Rijswijk) #2

First run the command that is already known by Rhino. This will load the plug-in. When the plug-in is loaded, Rhino will discover the new command. Then you can run the new command.


It works, Thanks a lot