NXKnowledge

Content Migration Manager > User's Guide (CMM 1899 Series, Jan 2020) > Part VII: Appendices > B. Batch migration

Perform pre-migration scans

Using the command line migration tool, there are two types of scans you can perform before migrating data: a pre-migration scan; and a scan for out-of-date items. A pre-migration scan performs the steps of migrating to collect data on the items before actually migrating data. To perform this scan, do the following: 1. From the My Teamcenter workspace area, select the items to scan from the hierarchical tree. You can select the following:

  • Teamcenter item
  • Item revision
  • Dataset to migrate You can choose multiple non-related items to migrate.

From the migration menu, select Save Selection for Batch to save the items to an XML file. Choose the type of save from the Save Selection dialog box. The selection file(s) is saved by default to the user's My Documents folder. 3. A login file is also created where the selection file is saved (default is in the My Documents folder). The file is named __login.xml. Open the file for edit and add your Teamcenter login password at the line . You should change the security settings for this file since it contains your password. 4. From the migration menu, select any required options. 5. Open a command prompt window and navigate to the install directory (CMM Install). Enter the following command to start the scan. The parameters can be placed in any order. With CMM, enter: cmmBatch -mode scan -datatype -selection -login [-options ] [-runindir ] With NXM, enter: nxmBatch -mode scan -datatype -selection -login [-options ] [-runindir ]

  • For the SourceCADSystem, enter “i” for I-deas, p for Pro/ENGINEER, c for CATIA V4, c5 for CATIA V5, or s for SolidWorks.
  • The SelectionFile is the file saved in step 2.
  • The LoginFile is the file saved in step 3.
  • The Optionfile is the file saved in step 4. If you don’t enter a file, the default options will be used.
  • The RunInDir is the directory for storing all files generated by the migration. This overrides the CMM Scratch and Report directories in the Options File. Appendix B: Batch migration

Batch migration The Migration Status dialog box is displayed as the pre-migration scan is performed. To perform a scan for out-of-date items, perform the steps as above, but enter the following command to start the scan: (cmmBatch | nxmBatch) -mode outofdate -datatype -selection -login [-options ] [-runindir ]

Source: CMM 1921 download (Support Center PL20201112075217794, CMM1921.7z), NXMigration/Documentation/cmm_1921.pdf, page 228 · retrieved 2026-10-02