Exporting V4 Piping Lines

This task shows how to export your V4 piping lines to V5.
The piping line data in V4 is converted to XML format using this process, and can then be imported into your V5 application using the Importing Line IDs function. This task should be performed only after you have a satisfactory mapping table because this process looks for attributes in the mapping table.

You also need to copy the file PlantShipLineIDImport.dtd from intel_a\startup\EquipmentAndSystems\Piping\SampleData to intel_a\startup\EquipmentAndSystems\MigrationDirectory\LineLists\ImportFiles.

1. Place a copy of the V4 Process_Shared.model, which contains the V4 shared piping lines, into the V4Models directory in your V5 application. The default location for this directory is intel_a\startup\EquipmentAndSystems\MigrationDirectory\LineLists.

You can ftp this file to V5 or use any other method for transferring it. The data in this file will be used to generate the XML data.

The model you use to export piping line data does not have to be Process_Shared.model. Any piping model can be sent to this program and its line data exported to an import file.

2. To start the process of converting the V4 lines to XML format, open a command prompt window, change to the directory intel_a\code\command and enter the following at a DOS prompt:

CATAecV4ToV5LineIDs.bat Process_Shared

(For Unix enter: CATAecV4ToV5LineIDs.sh Process_Shared ) Click Enter. After the conversion process ends the generated XML file will be placed in the LineLists\ImportFiles directory.

It is normal for some attributes to be not transferred to V5 from V4. You can ignore any messages you get during the conversion process that read "...no V5 attribute in table." However, there may be some attributes that you do want to add to V5, such as Unit Name. In such cases you must create the attribute in V5 using the Feature Dictionary, re-export the V5 feature dictionary, add the new attribute to the mapping table and repeat the process of importing piping lines described here.
3. You can now use the Import Line IDs function in Piping Design to import the piping lines in the XML file into your application.