| 1. | Create a VB API application with complete command definition, which includes specifying command label, help text, large icon name, and small icon name. Designate the command using IpfcUICommand.Designate(). |
| 2. | Start the VB API application and ensure that it has started or connected to Creo Parametric. The commands created by the VB API application will be loaded in Creo Parametric. |
| 3. | Click . The Creo Parametric Options dialog box opens. |
| 4. | Click Customize Ribbon. |
| 5. | In the Customize the Ribbon list, select a tab and create a new group in it or create a new tab and a group in it. |
| 6. | In the Choose commands from list, select TOOLKIT Commands. The commands created by the VB API application are displayed. |
| 7. | Click Add to add the commands to the new tab or group. |
| 8. | Click . The changes are saved to the toolkitribbonui.rbn file. The toolkitribbonui.rbn file is saved in the text folder specified in the VB API application registry file. For more information refer to the section on About the Ribbon Definition File. Note
The Save the Auxilliary Application User Interface button is enabled only if you set the configuration option tk_enable_ribbon_custom_save to yes.
|
| 9. | Click Apply. The custom settings are saved to the toolkitribbonui.rbn file. |
| 10. | Reload the VB API application or restart Creo Parametric. The toolkitribbonui.rbn file will be loaded along with the VB API application. |
| 1. | Click . The Creo Parametric Options dialog box opens. |
| 2. | Click Customize Ribbon. |
| 3. | In the Customize the Ribbon list, select a tab and create a new group in it or create a new tab and a group in it. |
| 4. | In the Choose commands from list, select TOOLKIT Commands. The commands created by the VB API application are displayed. |
| 5. | Click Add to add the commands to the new tab or group. |
| 6. | Click . The modified layout is saved to the toolkitribbonui.rbn file located in the text folder within the VB API application directory, that is, <application_dir>/text Note
The Save the Auxilliary Application User Interface button is enabled only if you set the configuration option tk_enable_ribbon_custom_save to yes.
|
| 7. | Click OK. |
| • | file_name - Specify the name of the ribbon definition file including its extension. The default search path for this file is:
|

| 1. | Click . The Creo Parametric Options dialog box opens. |
| 2. | Click Customize Ribbon. |
| 3. | In the Customize the Ribbon list, select a tab and create a new group in it or create a new tab and a group in it. |
| 4. | In the Choose commands from list, select TOOLKIT Commands. The commands created by the VB API application are displayed. |
| 5. | Click Add to add the commands to the new tab or group. |
| 6. | Click . The Save UI Customization dialog box opens. |
| 7. | Select a VB API application and Click Save. The modified layout is saved to the .rbn file of the specified VB API application. The Save UI Customization dialog box is shown in the following image: |

| 1. | A hash sign (#) followed by the label, as specified in the ribbon definition file. |
| 2. | The label as specified in the ribbon definition file and as displayed in the ribbon user interface. |
| 3. | The translated label. |
| 4. | Add an empty line at the end of each label entry in the file. |
#TK_TAB
TK_TAB
<translation for TK_TAB>
<Empty_line>
#TK_GROUP
TK_GROUP
<translation for TK_GROUP>
<Empty_line>
| 1. | Click . The Creo Parametric Options dialog box opens. |
| 2. | Click Customize Ribbon. |
| 3. | In the Choose commands from list, select TOOLKIT Commands. All the commands added by legacy applications are listed. |
| 1. | Load the the VB API applications in Creo Parametric so that the commands created in these applications are available in the Customize Ribbon user interface. |
| 2. | Modify the ribbon user interface layout and save the changes to the toolkitribbonui.rbn. |
| 3. | Copy the toolkitribbonui.rbn to the location <application_text_dir>/ribbon. |
| 4. | Reload the VB API application or restart Creo Parametric. The .rbn file will be loaded along with the VB API application and the commands will be visible in the ribbon user interface if its accessibility will be visible. |