Skip to main content
12-Amethyst
May 2, 2019
Question

what overrides pro_format_dir command in the config.pro file

  • May 2, 2019
  • 1 reply
  • 7331 views

Is there something that can override the pro_format_dir command in the config.pro file?

 

What I am trying to understand is this?  Some users at our company have a line in their config.pro file that says:  "pro_format_dir wtpub://Windchill/Libraries/CAD Administration/Formats", but other users have the line: "pro_format_dir c:\pro_stds\formats".  In either case if, any user has a modified drawing format that they select from their local drive, it is overwritten with the format (of the same name) stored in Windchill.  This is what we want to happen.  I am just trying to understand what tells Creo to go to Windchill for the formats when the pro_format_dir command is set to c:\pro_stds\formats.

 

Thanks.

1 reply

23-Emerald III
May 2, 2019

It sounds like your users may have multiple config.pro settings for pro_dformat_dir.

If you are using Windchill, it should be pointing to the Windchill library.

 

Be sure the config.pro file in the <Creo_loadpoint>\text folder is pointing to a wtpub://<Server_name>/Libraries/<whatever folder you use>.

Also be sure that ALL users have registered Windchill to Creo using the same <Server_name>! This is a MUST for using Windchill folders. If they do not that may be why they are seeing c:\pro_stds|formats as their format location.

 

Also, be sure that the users do NOT have pro_format_dir in a local config.pro pointing to c:\pro_stds|formats.

If your users have pro_format_dir pointing to  wtpub:\\<my_server_name>/Libraries, where <my_serevr_name> is what they used for Windchill-Creo registration, it may still work.

 

To prevent users from overriding required settings, use the config.sup file in the Text folder!

Blackhawk12-AmethystAuthor
12-Amethyst
May 2, 2019

Hello Ben,

 

I do not see a config.sup file in my text folder.  I did find a config.pro file in the text folder, but it does not contain the "pro_format_dir" command.

 

Many users do have pro_format_dir pointing to C:\pro_stds\formats.  Even with this setting, Creo will pull the up to date formats from Windchill.  Here is a scenario that I tested, I opened a format from a user's C:\pro_stds\format folder.  I edited some text in that format and saved it as a backup to C:\pro_stds\formats.  Then I erased my memory and opened a new workspace.  I then created a new drawing and selected the format that I just edited from C:\pro_stds\formats.  Before I opened the drawing, I could see the preview of the drawing format and I could see that the changes were there.  But, when I opened the drawing in Creo, the format did not have the new text and matched the original format stored in the Windchill Library.  Again, this is good just don't understand how Creo knows to do this.

23-Emerald IV
May 2, 2019

I could be wrong, but I don't think Creo will pull anything from that folder if it already exists in Windchill.  When Creo is connected to Windchill, it will always look in Windchill first for the objects.  Now if you set Windchill to offline (in Creo), I bet it would pull from that folder.