Rhino 8 RUI, Buttons, and Aliases

Ok I have a lot of questions about toolbars in regards to packages developed in the script editor so I’m going to post them in hopes someone can help.

  1. When publishing a project, the rui file is created. Cool. How do I customize that? I can add macro buttons to it via editing it in Rhino and resaving, but this brings other problems (see point 3). Is it advisable to instead translate the macro commands to python to make a proper command?
  2. This great post details some workarounds regarding order of buttons. Can there be an easier way they editing the files directly? And how do I add separators?
  3. After i have edited the rui file, how do I get it back into the yak file? Would be great if there was a toolbar editor as part of the script editor for plugins. Maybe that is in the works. Otherwise it looks like I might have to compile it manually?

I know other packages have toolbars that look customized with separators and whatnot, so I think its just a matter of me not understanding how to do it, so any pointers would be greatly appreciated!

1 Like