Exporting Parts from a V4 Model

This task shows you how to export parts from a V4 model for use as catalog parts in V5, using the batch program method. This step can be used as an alternative to exporting the part geometry explained in Migrating V4 Parts to V5.

This process migrates part geometry and connector data directly from details in the V4 model, including Outside Diameter data. If you have TubeDimensions and EndStyle tables available in V5, then NominalSize and EndStyle data will also be migrated and added to the V5 part. The TubeDimensions table must have correct mapping between OutsideDiameter and NominalSize. The EndStyle table must be a normal V5 encode/decode table, with the decoded end style data representing V4 end-type data from the V4 PRJ (project) table. It should be in the same order as in the V4 PRJ, because the V4 model only contains the end-type number and not the end-type text.

Before executing this batch program you must set up the tubing mapping table for each detail you want migrated. See Modifying the Mapping Table for more information.

Unless you set the variable AECMIGR_DIRECTORYPATH to a different location prior to executing the batch shell, the V4 model from which parts will be exported should reside in the following directory: ...intel_a\startup\EquipmentAndSystems\MigrationDirectory\SampleV4Models.

The TubeDimensions and EndStyle tables should be in: ...intel_a\startup\EquipmentAndSystems\MigrationDirectory\TubingSystems\V5_Migrated_Tables

The Tubing mapping tables should be in: ..intel_a\startup\EquipmentAndSystems\MigrationDirectory\Dictionary\MappingTable

1. Place your V4 model in the V5 directory listed above. You can ftp it or place it there using any other method you prefer.
2. In V5, open a command prompt window and change to the directory: ...intel_a\code\command. Enter the following line and press Enter: set AECMIGR_DIRECTORYPATH=C:\...intel_a ...\MigrationDirectory or to your own location if diferent. (In Unix, enter 'export' instead of 'set').

Enter the following line and press Enter: CATAecV4ToV5ModelParts.bat     XXX.model where XXX is the name of your V4 model.

In Unix execute the following command: CATAecV4ToV5ModelParts.sh     XXX.model

3. The generated parts will be placed in the directory: ...MigrationDirectory\TubingSystems\V5_Generated_CATParts.
4. Place these parts in your V5 parts catalog and modify your specifications catalog.