Skip to main content
14-Alexandrite
August 5, 2024
Solved

Toolkit Config.pro

  • August 5, 2024
  • 1 reply
  • 1527 views

Hello all,

 

I am trying to change a configuration option using C++ toolkit. But I am facing issue to know the correct syntax. Can anybody please provide me with syntax?

 

 

Best answer by tbraxton

If you want to change only a single option setting directly without loading files, then consult this article: 

Article - CS122393 - How to Get / Set / Restore / Delete a configuration option (single/multivalued) through Toolkit customization in Creo Parametric (ptc.com)

1 reply

tbraxton
22-Sapphire II
22-Sapphire II
August 5, 2024

Load a config file with the change to the option(s).

 

Function ProInputFileRead() with PRO_CONFIG_FILE as file_type to load config file.

14-Alexandrite
August 5, 2024

Is there no method to change value to one configuration option value from yes to no?

 

I am trying to change config.pro option value.

tbraxton
22-Sapphire II
tbraxton22-Sapphire IIAnswer
22-Sapphire II
August 5, 2024

If you want to change only a single option setting directly without loading files, then consult this article: 

Article - CS122393 - How to Get / Set / Restore / Delete a configuration option (single/multivalued) through Toolkit customization in Creo Parametric (ptc.com)