Skip to main content
1-Visitor
December 13, 2019
Question

Adding two buttons to the same group

  • December 13, 2019
  • 1 reply
  • 1191 views

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?

1 reply

15-Moonstone
December 16, 2019

You need to add it manualy to your ribbon and then export your ribbon definition to your application text directory.

 

Br,

Eike

Sekar11-VisitorAuthor
1-Visitor
December 16, 2019

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.

 

15-Moonstone
December 16, 2019

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