Product.cfg - Replacing the old pro_st3d.cfg file

In a follow-up to the article written by Tegel Zarate here:

http://communities.bentley.com/other/old_site_member_blogs/bentley_employees/b/tegel_zarate_blog/archive/2013/02/25/tip-no-1-prostructures-installation.aspx#comments

I thought that I would mention a change that will likely take place in the MicroStation version of the upcoming ProStructures release.

For years, whenever a user wanted to control the location of their commonly used files such as the Varia, Styles, User Defined Shapes and more, they could do so by editing the 'pro_st3d.cfg' file. This modification, as shown in Tegels article, would allow a user to store these settings on a non-installation path of their harddrive or point to a network drive for a shared resource location. However in the upcoming releases of ProStructures, it seems that this file will no longer be included with the software but instead will be replaced by a different file.

The new file will be called, "Product.cfg" and will be located in the ' <Default Install Folder>\Prg\Config\appl ' directory. This file will be slightly different for the following reasons:

  1. New location for file.
  2. It can be 'Variably Defined' as you will note from the example shown below. (Old hard coded paths for file and directory locations will still work if used.)
  3. The file itself will be better laid out with explainations for each line and what it points to.

This does not mean that the current pro_st3d.cfg will not work. Should you decide to copy your old .cfg file back to the original ' <Default Install Folder>\Prg\Config ' location, then this file will take pecedence and the Product.cfg will be ignored. At least for the time being.

Below is a portion of the new .cfg setup that comes with the Product.cfg file as an example:

"...

#------------------------------------------------------------------------
#
#  product.cfg - ProStructures Application Configuration File
#
#  $Copyright: (c) 2013 Bentley Systems, Incorporated. All rights reserved. $
#
#------------------------------------------------------------------------

...<content removed to reduce post size>...

#------------------------------------------------------------------------
#  Include ProStructures Localization File
#------------------------------------------------------------------------
%if exists ($(PS_WORKSPACE)ps_language.cfg)
%   include $(PS_WORKSPACE)ps_language.cfg
%endif

...<content removed to reduce post size>...

#------------------------------------------------------------------------
#  Load the ProStructures Persistence Stategy
#------------------------------------------------------------------------
EC_EXTENSION_ASSEMBLIES > publishdgn.prostructures.v2.dll

#------------------------------------------------------------------------
#  Set path to find ProStructures Propery Enabler Schema file
#------------------------------------------------------------------------
MS_ECFRAMEWORK_SCHEMAS  > $(_USTN_WORKSPACEROOT)ECSchemas/ProStructures/

#------------------------------------------------------------------------
#  Set path to find ProStructures seed design files
#------------------------------------------------------------------------
MS_SEEDFILES < $(PS_WORKSPACE)Seeds/

#------------------------------------------------------------------------
#  Set path to find ProConcrerte Drawing seed (for Dynamic Views)
#------------------------------------------------------------------------

...<content removed to reduce post size>...

etc..

..."

Note that this may change between now and the next release of ProStructures and though it will not be a critical change or one that you need to make right away, it is one that you will likely want to transition to. To help in the process you may want to hold on to your old pro_st3d.cfg file for the time being and use it to aid you in the setup of your new product.cfg setup.

The new file will provide more flexability and control with the variable options and defined structure and will become the standard for all future releases.

For AutoCAD users, no Product.cfg will be used but the pro_st3d.cfg file will allow for system variables to be used.

 ---- Added Text Below & Updated ---- June 5, 2013

For even more information about this change is SS6 see Tegels BLOG >>> HERE <<<.

Anonymous