Skip to main content
1-Visitor
July 10, 2017
Solved

Creating a .sup file?

  • July 10, 2017
  • 5 replies
  • 6038 views

I need to know how to create a .sup file and have Creo read it on startup.

 

I've tried exporting my config, manually adding the ".sup" extension and then moving that file to my start folder (same one my config.pro is located) to see if it will overwrite that test command option.  No luck.  Anyone that can point out what I am doing incorrectly?

 

Thanks!

Best answer by TomU

Here is the official word from PTC technical support (CS28227😞

 

Process of setting configuration options upon start:

  • Default settings for all options are hard coded into Creo Parametric
  • If a particular option is present in more than one configuration file, Creo Parametric applies the most recently loaded/read setting
  • At startup, Creo Parametric first reads in a protected system configuration file called config.sup
  • config.sup file in the text directory of the installation overwrites option values and blocks them from being further overwritten by config.pro files read in the order:
  1. config.pro file in the text directory of installation
    • text directory in Pro/ENGINEER and Creo Elements/Pro 5.0 is under <installation>/text
    • text directory in Creo Parametric is under <installation>\Common Files\<datecode>\text
  2. config.pro file in the HOME directory (with Creo Parametric all versions all datecodes, requires administrator rights):
    • by default the HOME directory is set to the operating system environment variable %HOMEDRIVE%%HOMEPATH% for the user
    • %HOME% can be set explicitly to modify the HOME Directory
  3. config.pro file in the startup directory when launching Creo Parametric (working directory)
    • How to configure the startup directory, refer to CS23977, to set a config.pro for multiple machines, a mapped network drive can be set as the startup directory
  •  The local configuration files (config.pro, config.win, and menu_def.pro) in startup directory are last to be read and override any conflicting configuration file option entries
  • The config.pro file does not, however, override any config.sup entries

5 replies

23-Emerald IV
July 10, 2017

config.sup files are only read from the loadpoint (where Creo is actually installed).  Should be in a folder like C:\Program Files\PTC\Creo 3.0\M120\Common Files\text\

23-Emerald III
July 10, 2017

Either copy an existing config.pro and rename to config.sup or create a new text file with the name config.sup.

It needs to be in the loadpoint text  folder.

 

23-Emerald III
July 10, 2017

You do NOT want to take your existing config.pro file and save it as config.sup!

There are limitations to a config.sup file that do not allow all options of the config to be useful. One example is a mapkey command. You would only get the first mapkey in the config.sup loaded into Creo and no others.

 

23-Emerald III
July 10, 2017

Sorry, that is very true. I was thinking more of just creating the file and stripping out all the stuff to use as a base.  But that wasn't clear at all.

Config.sup should be relatively small with only the options that are "forbidden" to be changed. Be very careful what you add to it.

erine1-VisitorAuthor
1-Visitor
July 10, 2017

"load point" and "start in" locations are two separate things, correct?

 

As for contents of the .sup being the same as .pro, I made a different text file with only "accuracy_lower_bound" at a different number to test .sup.

 

I chunked the .sup file in the "load point," restarted Creo and that setting was niether locked/different from the .pro file when i checked out my current session config settings.  I also tried putting it in my "start in" location and that did not work, either.

 

edit: added a screenshot file.

23-Emerald III
July 10, 2017

Text folder would more likely be in program files...like this

C:\Program Files\PTC\Creo 3.0\M070\Common Files\text

except the creo 3 and the m070 part

 

Start in is where you're shortcut "start-in" is, not where the shortcut is actually at. Look at the properties for the shortuct:

start-in.jpg

TomU23-Emerald IVAnswer
23-Emerald IV
July 11, 2017

Here is the official word from PTC technical support (CS28227😞

 

Process of setting configuration options upon start:

  • Default settings for all options are hard coded into Creo Parametric
  • If a particular option is present in more than one configuration file, Creo Parametric applies the most recently loaded/read setting
  • At startup, Creo Parametric first reads in a protected system configuration file called config.sup
  • config.sup file in the text directory of the installation overwrites option values and blocks them from being further overwritten by config.pro files read in the order:
  1. config.pro file in the text directory of installation
    • text directory in Pro/ENGINEER and Creo Elements/Pro 5.0 is under <installation>/text
    • text directory in Creo Parametric is under <installation>\Common Files\<datecode>\text
  2. config.pro file in the HOME directory (with Creo Parametric all versions all datecodes, requires administrator rights):
    • by default the HOME directory is set to the operating system environment variable %HOMEDRIVE%%HOMEPATH% for the user
    • %HOME% can be set explicitly to modify the HOME Directory
  3. config.pro file in the startup directory when launching Creo Parametric (working directory)
    • How to configure the startup directory, refer to CS23977, to set a config.pro for multiple machines, a mapped network drive can be set as the startup directory
  •  The local configuration files (config.pro, config.win, and menu_def.pro) in startup directory are last to be read and override any conflicting configuration file option entries
  • The config.pro file does not, however, override any config.sup entries