Designating the Command
 
Method Introduced:
This method allows you designate the command as available in the Customize Ribbon tab in the Creo Parametric Options dialog of Creo Parametric. After a VB API application has used the method IpfcUICommand.Designate() on a command, can add the button associated with this command into the Creo Parametric ribbon user interface.
If this method is not called, the button will not be visible in the Toolkit Commands list in the Customize Ribbon tab in the Creo Parametric Options dialog of Creo Parametric.
The arguments to this method are:
Label—The message string that refers to the icon label. This label (stored in the message file) identifies the text seen when the button is displayed. If the command is not assigned an icon, the button label string appears on the toolbar button by default.
Help—The one-line Help for the icon. This label (stored in the message file) identifies the help line seen when the mouse moves over the icon.
Description—The message appears in the Customize Ribbon tab in the Creo Parametric Options dialog box and also when Description is clicked in Creo Parametric.
MessageFile—The message file name. All the labels including the one-line Help labels must be present in the message file.
* 
This file must be in the directory <text_path>/text or <text_path>/text/<language>.
Was this helpful?