Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Hi ,
I have created a ribbon manually. through my toolkit application i am creating a button using ProCmdActionAdd, ProCmdIconSet and ProCmdDesignate. But Iam not able to use same set of functions to create another button. i don get any error but no buttons are getting created . could any one please guide me on this?
You need to add it manualy to your ribbon and then export your ribbon definition to your application text directory.
Br,
Eike
thank you so much.
I have couple of other queries:
1. Is it possible to add a ribbon or a group through code ?
2. If not, then the only way to add ribbon or group is by manual procedure ie, file ->customize ->Ribbon.
1. AFAIK it's not possible to do it only by code.
2. The way described by PTC is to build a "toolkitribbonui.rbn" file inside the text directory of your toolkit application.
-> Customize your ribbons manually
-> Save it from the Creo Parametric Options Editor
--> Customize --> Ribbon --> Export --> Save the Auxiliary Application User Interface.
Br,
Eike