powered by CADENAS

Manual

Manual

1.9.4. Replace_std.cfg - Adjust paths after Update

In the configuration file replace_std.cfg replacement projects can be specified.

Example: DIN 912 is replaced by ISO 4762.

SECTION

KEYS

VALUE

norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj

ALLOW_OLD

0 or 1

norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj

EXPORT_OLD

0 or 1

norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj

CREATENR_OLD

0 or 1

norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj

NEW1

norm/ din_en_iso/ schrauben/ zylinderschrauben/ din_en_iso_4762.prj

norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj

NEW2

Further projects to be listed can be stated. These are incremented with NEWx.

norm/din_en_iso/schrauben/zylinderschrauben/din_912.prj

NEW3

Another project

In PARTdataManager these projects are marked by an icon.

Obsolete standard without substitution

Obsolete standard replaced by minimum one other part family

Obsolete standard replaced by minimum one other part family and the obsolete standard is locked

Icons - Index tree

Icons - Index tree

After an update from V8 to higher version it can be the case, that the path statements in the configuration file are not correctly anymore. Then the script file migrate_replace_std_v8_v9.vbb can be used, in order to adjust the paths in the configuration file replace_std.cfg.

Field of application for the script

The script can be used in customization projects, where own standard catalogs are used.

What does the script effect?

The script reads in the old replace_std.cfg and compares the entries with the current catalog status, in order to check, whether the paths under SECTION and under VALUE are correctly for each line SECTION-NEW1, SECTION-NEW2, etc.

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

Furthermore a log file replace_std_updated.log is created. It contains a respective entry for each line:

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

The following values for the column "status" are possible:

  • still OK

  • updated

  • noMatchFound

After the script has finished, you can check with the help of the log file, which paths have not been found, etc.

The script is not available in the installation. If needed please contact the CADENAS Consulting team.

Also see Section 1.7.3.3, “ replace_std.cfg ”.