Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
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?
Solved! Go to Solution.
If you want to change only a single option setting directly without loading files, then consult this article:
Load a config file with the change to the option(s).
Function ProInputFileRead() with PRO_CONFIG_FILE as file_type to load config file.
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:
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.