Converting a Version 4 Session into CATIA Version 5 with the V4 To V5 Migration Batch

This task shows you how to convert a CATIA Version 4 Session into CATIA Version 5.

In order to allow the Batch to operate properly and to find the models within the .session document, you need to specify the path, to follow these steps to activate the Search Order operation:

  • Selecting the Tools > Options command. The Options dialog box appears with the category tree in the left-hand column.

  • In the General category of the Options Tree, select General and click the Document tab:
  • Select Other folders in the Linked Document Localization box and press the Configure... button.

  • The Other folders  dialog box is displayed:

  • Select the file path in which the .model documents are stored and click OK.
    If you forget to set the Search Order and you launch the Batch, the migration report will contain the following message: "Error during migration".

For more details about the error type, double-click the first line. Here is a list about the models' path that could not be found by the Batch.

For information, the CARTSESSION.session document that will be migrated, in our example, looks like this:

It is not necessary to open this Session before the Batch migration. Keep in mind that the Batch's result is different from opening a Session in CATIA V5. For more information about this operation, refer to Opening a CATIA Version 4 Session in CATIA Version 5.

Only a V4 Session saved "References only" can be read or migrated in CATIA V5.
Before launching the batch tool, you have to make sure that your environment is correctly set up.

On Windows, the Batch's environment is installed during CATIA's installation. On UNIX, you have to set up this environment before starting the session. For more information about this, see CATIA Infrastructure User's Guide - Starting a session on UNIX.

 

Launching the Batch via the PLMV4ToV5 Migration Batch

  1. Select a .session document (in our example CARTSESSION.session):

  2. Specify the directory name in which the data will be created (by default the data are created in the same place where the first selected V4 document is stored) by clicking on the button . Then click Open.

  3. Perform Specification Check on the V4 documents. For more information, see Checking V4 Model Data Before Copying It to V5 : Interactive Checker

  4. Press the Migrate button in order to convert the V4 Session into V5 Documents.

    The Migration report can be seen by double-clicking the file generated in Batch Monitor > Process tab. The Migration report is also generated at the location given as Target Directory for Results. In the Report the message is OK i.e., the .models and their components have been converted into CATIA V5.

  5. Double-click the first line in order to have more details about the models contained in the .session document.

    As a consequence, you have access to the V4 data (CARTSESSION.CATProduct), in CATIA V5 in the directory you had chosen above:

  6. The CATProduct looks like this: