Tips and Techniques
V5R7 Batch Migrate V4 to V5 by David Anderson
Here is a help file to show how to set up and use the V4-V5 Batch Migration tool to automatically convert V4.model files to V5.CATPart files. There are advantages and disadvantages at the bottom of the document that you may want to review.
Procedures
To run a batch migrate of multiple V4.model files to a copy/paste special/CATIA_SPEC V5.CATPart, do the following:
- Go to the V5 Online Docs to 'Infrastructure/V4 Integration/Functionality Description/Migration in Batch Mode/Converting Version 4 Model Data into Version 5 in Batch Mode'
- You will see a CNEXT command: CNEXT -batch -e CATV4ToV5Migration
- Copy the '-batch -e CATV4ToV5Migration' portion of the command
- Go to your desktop and create a New Shortcut and follow these steps:
- Browse the location to: …\Program Files\Dassault Systemes\B07\intel_a\code\bin
- Scroll down and select CNEXT and OK
- In the location field after the "…CNEXT.exe", put a space and paste your copied command (i.e. "…CNEXT.exe" -batch -e CATV4ToV5Migration)
- Rename your shortcut (example: V4-V5 Migration) and select Finish
- From your Desktop, launch the new ICON
- Browse for a Target Directory to place all your converted models
- Select the Open File ICON in the lower left corner to select all your V4.model files
- Use the Options… to set up Project Tables or other V4 to V5 information
- Wait and watch the status bar!
- Read the Migration Report window to determine the migration status
- This log file can be saved as a text file to review if there are problems with a conversion
- Go to the Target Directory and open your new V5.CATPart files!
Advantages
- Quick and easy to convert one or multiple V4.model files
- Does all the work for you
- Gives you a log file (.txt) to review if necessary
- Does an automatic update of the copied/pasted V5.CATPart
- Works on 3D and 2D data
- Can incorporate Project Table, Draw/Space, model dimension, etc… information for more accurate file conversions
- Seems to be at least as dependable as the manual method
Disadvantages
- 'Works on 3D and 2D data' is a relative term
- Doesn't work well on very complex solid, surface or 2D models (about the same dependability as the manual mode)
- Desktop tool must be set up manually
David Anderson
EADS Matra Datavision, North America
39255 Country Club Drive, Unit B-22
Farmington Hills, MI 48331
Direct: (248) 489-0220 ext. 19 / Fax (248) 489-0222
http://www.us.matradatavision.com/
|