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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Toolkit Config.pro

SS4598
12-Amethyst

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
tbraxton
21-Topaz II
(To:SS4598)

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
tbraxton
21-Topaz II
(To:SS4598)

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
SS4598
12-Amethyst
(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.

tbraxton
21-Topaz II
(To:SS4598)

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