This task shows you how to convert a CATIA Version 4 library into a CATIA Version 5 catalog. | |||||||||||||||||||||||||||||||||||||
Before embarking on any conversion make sure you are
familiar with the concepts described in "About Catalogs" in the CATIA -
Component Catalog Editor User's Guide.
It would also be instructive to read "Converting CATIA Version 4 Library Objects into CATIA Version 5 CATPart Documents". |
|||||||||||||||||||||||||||||||||||||
Migrating the Data Structure
The batch operation creates a catalog chapter for each DETAIL
type library family (see Creating a Catalog in the CATIA -
Component Catalog Editor User's Guide). The keywords relating to the library family are converted into catalog keywords as shown in the table below. These keywords define the associated chapter. |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
The Library structure is migrated into a catalog structure, with the
following architecture:
The multi-file catalog has the following benefits:
|
|||||||||||||||||||||||||||||||||||||
Migrating the Actual Data Bear in mind the following:
|
|||||||||||||||||||||||||||||||||||||
For more information about the copying of V4 data to V5, see Copying CATIA Version 4 Model Data to CATIA Version 5. |
|||||||||||||||||||||||||||||||||||||
Consequences of Migration on
Filenames
In Windows, it is extremely important to be aware of the consequences of migration on filenames. Before reading any further see "About Filenames" in the CATIA - Infrastructure User's Guide. In view of the restrictions described in this section, the following default conversion table will apply to new CATPart documents converted from library objects:
National characters will be replaced by default by _xxx where xxx is the ASCII code of the character replaced. The default correspondence table can be modified but you cannot avoid the replacement of these characters. If, for example, you delete the line l''*' the table will be declared invalid. The two characters most likely to occur are:
which correspond to the characters used in V4 model names as replacements for the blank character " " and slash character "/" respectively. To avoid excessively long document names it is advisable to modify the default conversion table. Only national characters and those characters not supported by Windows can be declared in the correspondence table. For example, you cannot decide that you want to change all characters from "a" to "w". If you have declared all the national characters not supported by Windows, you can replace the national characters supported by Windows as follows:
As a consequence, "a" will be replaced by "A". The scenario described below shows the consequences of:
|
|||||||||||||||||||||||||||||||||||||
Conversion of very large V4
Libraries
The conversion of very large V4 libraries uses a lot of resources (memory, CPU and disk space for generated files). In case the batch fails before the end of the conversion due to any reason (lack of memory, individual detail conversion failure, disk full) you can restart it using the Rattrap mode that will continue the job starting from where it was just before the failure. Following are guidelines regarding this special process mode:
Take care not using this RATTRAP mode for any other reason. At any time, you are able to check the converted catalog, using the File / SaveAs capability on the generated catalog file. Choosing "txt" format will output a printable text file that dumps the catalog structure, enabling to quickly identify missing converted details, for example. |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
If, in the CATScript file, you chose
SIMULATION the batch operation will:
If more than one occurrence of the same V5 name is detected the older CATPart documents are overwritten. You are therefore strongly advised to modify the conversion table so that CATParts are not created with the same name. If, in the CATScript file, you chose MIGRATION the batch operation will generate:
If a library is migrated to the same directory twice the catalog (both catalog and CATParts) generated by the previous migration is overwritten by the new one. If, in the CATScript file, you chose RATTRAP the program locates the last converted objects then continues with the next ones. It will generate:
The library is migrated to the same directory and the catalog files generated by the previous migration is overwritten by the new one. |
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||
|