Batch Import To Library

The Batch Import To Library Wizard is found on the Tools menu.

This feature is only available if your copy of summit.factory is registered.

The Batch Import To Library Wizard provides a means for you to import several Peak/Summit files to the library in one go.

The Batch Import To Library Wizard has two pages to navigate through:

Select Source Directory Page

The Select Source Directory Page is shown below

This page has the following options

Source Directory

You can type the name of the source directory in this control.

Or if you click the [...] button to the right of the line, this will bring up a file selector dialog.

Scan Subdirectories

If this control is checked, then the Batch Converter will also include any subdirectories that it finds within the source directory when looking for files to convert.

If this control is not checked then any subdirectories in the source directory will be ignored.

Ignore File Errors

If this control is not checked then any errors detected during file loading will halt the conversion process.

If this control is checked then these errors are ignored, but are logged if logging is enabled.

Select Destination Directory Page

The Select Destination Directory Page is shown below

This page has the following options

When an Object being added is already in the Library Provides the action to do if an Object is added to the Library and there is already an identical Object in the library. The choices are:
  • Add to Library (with a new name)
  • Do not add to Library
  • Overwrite Object in the Library
When an Object being added already has the same name as an Object in the Library Provides the action to do if an Object is added to the Library and there is already an Object in the library with the same name. The choices are:
  • Add to Library (with a new name)
  • Do not add to Library
  • Overwrite Object in the Library
Create Log File

If this control is checked then a log file is created in the destination directory.

This log file is called "Log File.txt", and can be opened with any text editor

Using the Batch Importer

Using the importer is quite simple.

Importing a Peak/Summit file takes about 10 seconds, so if you have a lot of files to import, be prepared to leave the importer running for a while! The import of a file will be slower if you have a large library as summit.factory needs to check for duplicate data, so the larger the library the more data the batch importer has to search.

The importer is a simple "Wizard" and you can step through the choice pages using the Prev and Next buttons, or exit the Wizard using the Cancel Button

Select the source and destination directory options and once that is done click on the Finish button to start the Batch Import Wizard.

The Wizard will not allow you to select a directory that doesn't exist.

Once the Wizard starts the progress of importing files is shown in the information pane.

There is a progress bar that shows the progress for all the files that the importer has detected, and a progress bar for the objects in the file currently being imported.

The Wizard also shows how many file errors have been encountered (assuming you have set the options to ignore File errors).

You can cancel the import at any time by pressing the Cancel button, but you may need to wait for summit.factory to finish the current file import before the batch conversion is cancelled.

Once completed, a summary results page is shown that summarises the import.

The Wizard can be dismissed by clicking the Close button.

You can check the results of the import by opening the Log File.txt file (assuming you left logging enabled).

The log file is a simple text file that lists each source file and whether any errors were detected.

All errors are preceded by ** (two stars), so you can use your text editor's find/search facilities to look for ** to quickly find any errors.