Thread: Creo 3.0 and config.win
11-10-2015, 03:31 PM #11
- Join Date
- Jul 2005
Mine is in my working directory, which is the directory that CReo starts in.
Here is the text from Creo help:
Click File ▶ Options. In the Creo Parametric Options dialog box that opens, click Customize Ribbon tab.
2.Use the Customize Ribbon tab to customize the ribbon.
3.Click Import/Export ▶ Export all Ribbon and Quick Access Toolbar customizations.
4.The Export dialog box opens. The default file name creo_parametric_customization.ui is displayed in the File name box. The default directory is \User Profiles\<current user>\My Documents.
5.If required, type a new name in the File name box and browse to the location of your choice.
11-10-2015, 04:00 PM #12
- Join Date
- Dec 2008
First it's a bit puzzling that a voice saying "Export ALL ..." turns out to be two options to "Export ONLY" Then it looks like some preferences are related to the user and some to the running directory. But if in the config.pro the option is set to use the prefs from running directory it shouldn't save to the user cache, at least for me it's working like that.
11-10-2015, 06:58 PM #13
If you change the menu, Creo saves the file without user intervention. I just checked by removing an icon in the quick launch menu. The file on disk was saved immediately, no questions asked.
If you set the option, that changes where Creo saves the file from the cache folder to the working directory.
11-11-2015, 01:10 PM #14
OOTB, the files are placed in your load directory. When one changes/saves/creates a personal .ui file, it will save it in the windows default save area (c:/users/....) or the "start in" folder described in the launch icon unless otherwise directed. This is where it starts in order to be microsoft window certified/compatible. That is why it goes to the "mysterious" folder. It's for the computer illiterate to operate software successfully until needs dictate change.
With some "customization", one can control where these files, and others, are retrieved and stored. Using the admin version of the .ui for example, (creo_parametric_admin_customization.ui) it can be doled out from a central location to users each time they open creo and/or if it has been changed thru a batch file start-up scheme. once loaded, then it will load any .ui file it finds in the execution path for individual personal touches/needs.
Just some fodder for thoughtRon
11-11-2015, 02:20 PM #15
There's a decent amount of confusion about the creo_parametric_customization.ui files.
I'm not sure if there's one present OOTB or not, but I've never seen one in the loadpoint. There really isn't any way for Creo to save it to the loadpoint or read it from there, unless you set the Windows environment variable PTC_WF_ROOT to point to the loadpoint (which doesn't sound like a good idea at all).
By default, it saves from the cache folder buried down in the Windows user folders. The only control you have is:
- Set the config.pro option load_ui_customization_run_dir to yes to save it to your working directory.
- Set the Windows environment variable PTC_WF_ROOT to change the location of the cache folders.
It's different than how config.pro and the old config.win files work. Was it done for Windows compliance? Maybe, but if so, why wasn't the location of the config.pro files changed?
11-11-2015, 08:08 PM #16
from the manual:
"Creo Parametric automatically saves all user interface custom settings to the creo_parametric_customization.ui file that is located in the %appData%\Roaming\PTC\ProENGINEER\Wildfire\.wf\.Se ttings\.. The customizations of the ribbon, Quick Access toolbar, and Graphics toolbar that you make without opening the Creo Parametric Options dialog box are also automatically saved.
If the value of the load_ui_customization_run_dir configuration option is set to yes, then Creo Parametric saves the creo_parametric_customization.ui file to the run directory.
You can save creo_parametric_customization.ui as creo_parametric_admin_customization.ui and place it at creo loadpoint/text to store the CAD administrator settings. The creo_parametric_customization.ui file overrides the creo_parametric_admin_customization.ui file. "
So I understood it mostly right....
regarding location changes...I would have to assume (not knowing) because of the difference between the .win and .ui usage?
btw, I do not have that config option enabled - I push the admin ui file to local users. I have many mapkeys tied to the ribbon so I want to be sure all gets it.Ron
11-11-2015, 08:24 PM #17
I feel a bit foolish, you are right and I had forgotten that the creo_parametric_admin_customization.ui file must go into the loadpoint/text folder.
I should have remembered (and I should have checked my system) because we push an admin file into the loadpoint and let users define their own creo_parametric_customization.ui file in the cache folder which we set via the PTC_WF_ROOT environment variable.
The user file must be located in the cache or the working directory (if the config option is set), however.
The help is a bit misleading as it implies that a user file negates the admin file, it does not. We load both here and both work. I assume that what it means is that if there is a conflict in that both files modify the same part of the UI, the user file will win, but I'm not certain.
11-12-2015, 03:42 PM #18
- Join Date
- Jul 2005
I wasn't aware of the admin version. Sounds like the .sup version of the config.pro where the config.sup trumps the config.pro but maybe backwards.