Skip to main content
16-Pearl
December 18, 2023
Question

ribbon xml keywords reference

  • December 18, 2023
  • 1 reply
  • 6977 views

Good evening,

 

Is there a document that explains the keywords of a xml file describing the part of the ribbon of a company module (that can be found in the installation directory (eg C:\Program Files\PTC\Creo Elements\Direct Drafting 20.4.1.0\Modules\)?

The reason is that Drafting used to die on my pc when I add or modify a panel on the ribbon of my module.

Also, I personally think that modifying with a text editor the xml file is easier.

 

Another question: is it possible to have several language in the same xml file, the language being automatically selected by Drafting according to the current locale (similar to the DGETTEXT system?

Should be possible, since changing the locale on Drafting with CHANGE_LOCALE do change the labels on the ribbon.

 

KotomEng_0-1702923276131.png

KotomEng_1-1702923443350.png

 

KotomEng_2-1702923564619.png

 

1 reply

Kotom-Eng16-PearlAuthor
16-Pearl
December 20, 2023

Vladimir,

 

The first link is for Model Manager and, unfortunately, cannot be applied to Drafting. Keywords are not the same. For example, the action keyword for Model Manager is "Action", for Drafting, it is "command". And most of Drafting keywords has no equivalent in Model Manager.

 

The Model Manager guide does not tell how to localize, which could have given a clue for Drafting.