Creating a .sup file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Creating a .sup file?
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!
Creo 4.0 / M060
Solved! Go to Solution.
- Labels:
-
General
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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:
- 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
- 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
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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\
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
All mapkeys in the config.sup will get loaded - not only one mapkey. It will however prevent users from creating their own mapkeys - which is likely undesirable. I'd like PTC to implement this product idea to allow for admins to create an 'official' set of mapkeys stored in the config.sup that users can't overwrite and then still allow users to have their own mapkeys.
https://community.ptc.com/t5/Creo-Ideas/Allow-Mapkeys-in-both-config-sup-and-config-pro/idi-p/457453
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
"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.
Creo 4.0 / M060
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
And it needs to be in your loadpoint TEXT folder, not the start in...just to be clear.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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:
- 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
- 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
- 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