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

How do you manage your Pro/ENGINEER configuration files?

Highlighted

Re: How do you manage your Pro/ENGINEER configuration files?

Our config for Creo based on the following four config - files:

1. config.sub

-- all setting which are essential for your configuration

2. config.pro (install dir)

-- basic configuration

3. config.pro (working dir) [fixed due Windchill]

-- standard configuration

-- created by a start script, based on

--- language

--- with / without Windchill

--- user ID

4. User config

-- loaded by the user via a mapkey

--> as standard all user shall start with a basic configuration, then it is easier to locate "config mistake" by the user.

Re: How do you manage your Pro/ENGINEER configuration files?

We use a script that copies the config.pro and sup to the C:\temp folder each time Creo launches. The configs in C:\temp folder are linked (mklink /d <link> <target>) to the load point text directory. This ensures that the latest config.pro and sup are available every time the users launch and also makes sure that they can have both a home directory config.pro and a start up config.pro.

True, the use could remove or modify the config.pro and sup in the C:\Temp folder but only for one session. So far, we have not had any issues with this.

Re: How do you manage your Pro/ENGINEER configuration files?

Where are the ones of you that run Windchill storing the master copy of your config.pro and config.sup before you copy it out to the users. Is it possible to copy it out from a Windchill Library in the startup script before Creo starts or do you have to maintain them on your network somewhere?

Re: How do you manage your Pro/ENGINEER configuration files?

We are in the process of joining several business units in a global Windchill database. In order to make sure everyone is playing nicely, we would like to set the basic required settings in a config.sup and have each machine copy it to their PROE_TEXT_DIR each time they launch. We have been successfully copying the file from our local server at our BU, but now that we're going global, we want it in Windchill.

We were using this line in our .bat file, and it worked great:

copy %PRO_STDS%\scripts\aquapart\config.sup %PROE_TEXT_DIR%\config.sup

I tried to revise it based on the way database locations are set in the config.pro, and came up with this:

copy wtpub://Aquapart/Libraries/CAD Components/Settings/NA\NA_config.sup %PROE_TEXT_DIR%\config.sup

Unfortunately, that doesn't work. The first error I got said it didn't recognize the wtpub, so I removed that. It now says it is a syntax error.

Can anyone help?

Re: How do you manage your Pro/ENGINEER configuration files?

If I understand correctly, you want to maintain the corporate standard config.pro and config.sup files inside Windchill.  This is not a practical approach as Creo does not access Windchill until after it has launched, read the config.pro/sup files, and prompted the user for login.  Most of the Creo schema (templates, formats, library objects, etc.) are managed cleanly in Windchill because Creo There are a few files in the Creo configuration that aren't meant to be managed inside Windchill (launch scripts, pro/sup, psf files, .ui, etc.).  These should still be managed from a network location or a source control system like BitBucket.

Copy and other file copy commands commonly available in Windows won't recognize a URL (wtpub://...) as a source location.  You could Google for custom commands to copy from a URL to disk but now you need to make the utility available to all users.  Then you would have to store and pass Windchill credentials for each user and this will most likely be a security issue.  It is just a messy, ugly way of working.


FYI: All currently supported Creo workstations include robocopy by default.  Robocopy is preferred over copy because it will copy the files if they are different and will not waste time or network resources copying if they have not changed.  Syntax example...

robocopy /mir %PRO_STDS%\scripts\aquapart %PROE_TEXT_DIR% /IF config.sup config.pro tree.cfg

Re: How do you manage your Pro/ENGINEER configuration files?

Thank you for that info. It stinks that we have a document control system and cannot use it to control these documents, but so be it. The BU admins will have to be notified and responsible for copying corporate files to local networks for installation.

I'll make the revisions to our .bat file to use robocopy. Thank you for that tip.