How add new tab in ribbon Rhino7 C#

hi , i want add tab in ribbon like this


waht should I do to implement it.

You should check out the Workspace editor. Adding a new toolbar (which you call a tab) is described there.

thank you. I have read the post and find that is just a modification to my current computer. But I hope that after installing the plugin, the user ribbon can also be modified accordingly. Could you please use code to make this modification, or add any configuration files to the installation package so that users can load the ribbon directly

You should be able to add your modifications to a separate RUI file, that can be distributed together with your plug-in. You should have two files with the same name, and extensions RHP (plug-in) and RUI (user interface) and Rhino will load the RUI automatically when the plug-in is loaded.

MyPlugIn.rhp
MyPlugIn.rui

thank you . I have modified the ribbon


but could you tell me how to save the ribbon with the .rui file extension.
Can you take a screenshot to indicate which button I should click on.

thank you