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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Toolkit Config.pro

Marcusanthony
14-Alexandrite

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?

 

 

ACCEPTED SOLUTION

Accepted Solutions

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)

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

View solution in original post

4 REPLIES 4

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

 

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

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric
Marcusanthony
14-Alexandrite
(To:tbraxton)

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.

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)

========================================
Involute Development, LLC
Consulting Engineers
Specialists in Creo Parametric

Do you know if ProInputFileRead() also changes config.pro options that refuse to be changed by SetConfigOption()/ProConfigoptSet()?
See https://www.ptc.com/en/support/article/CS334060
"Setting export_profiles_creoview with SetConfigOption() does not of effect in the current session"
The export_profiles_step option is another such "victim" that is immutable during Creo session, as I experienced myself.

Announcements


Top Tags