Skip to main content
14-Alexandrite
Aug 5, 2024 11:28 AM UTC
Solved

Toolkit Config.pro

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?

 

 

tbraxton
tbraxtonAnswer
22-Sapphire II
Aug 5, 2024 12:08 PM UTC

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)

4 replies

tbraxton
22-Sapphire II
Aug 5, 2024 11:31 AM UTC

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

 

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

Translate
14-Alexandrite
Aug 5, 2024 12:02 PM UTC

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.

Translate
tbraxton
tbraxton22-Sapphire IIAnswer
22-Sapphire II
Aug 5, 2024 12:08 PM UTC

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)

Translate