1.8.3. Replace_std.cfg - Adjust paths after update

In the Configuration file replace_std.cfg replacement projects.

Example: DIN 912 is replaced by ISO 4762.

SECTION

KEYS

VALUE

norm/din_en_iso/screws/cylindrical screws/din_912.prj

ALLOW_OLD

0 or 1

norm/din_en_iso/screws/cylindrical screws/din_912.prj

EXPORT_OLD

0 or 1

norm/din_en_iso/screws/cylindrical screws/din_912.prj

CREATENR_OLD

0 or 1

norm/din_en_iso/screws/cylindrical screws/din_912.prj

NEW1

standard/ din_en_iso/ screws/ cap screws/ din_en_iso_4762.prj

norm/din_en_iso/screws/cylindrical screws/din_912.prj

NEW2

You can specify additional projects to be listed. These are incremented with NEWx.

norm/din_en_iso/screws/cylindrical screws/din_912.prj

NEW3

Further project

In PARTdataManager, these projects are marked with an icon.

Old standard deleted without replacement

Old standard replaced by at least one other parts family

Old standard replaced by at least one other parts family and old standard blocked

Symbols - Directory tree

Symbols - Directory tree

Application area for the script

The script can be used for customer projects in which own standard catalogs are used.

What does the script do?

That Script reads the old replace_std.cfg and compares the Entries with the current catalog status to verify that the paths under SECTION and under VALUE for each row SECTION-NEW1, SECTION-NEW2, etc. are correct.

If not, it searches for the project names. According to the found correct paths, a new configuration file is replace_std_updated.cfg applied.

In addition, a log file is created replace_std_updated.log . This contains a corresponding entry for each line:

The .log is structured as a tabstop-separated CSV file and contains the columns "status", "old" and "new".

The following values are possible for the "status" column

  • still OK

  • updated

  • noMatchFound

When the script has finished running, the .log can be used to determine which paths were not found, etc.

The script is not available in the installation. If required, please contact the CADENAS consulting team.

See also Section 1.6.3.2, “ replace_std.cfg ”.