cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Adding two buttons to the same group

Sekar1
12-Amethyst

Adding two buttons to the same group

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?

3 REPLIES 3
Eike_Hauptmann
13-Aquamarine
(To:Sekar1)

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.

 

Eike_Hauptmann
13-Aquamarine
(To:Sekar1)

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

 

Announcements


Top Tags