# File Import

- Location
- Filters

Set here the complete address of the file to import.

### Places

Choose here the directory (folder) to start searching or the transfer protocol to import the file. Initially the default is the Current working directory. When the dialog is reopen, Places always show the Last folder, even if the last selected option was HTTP or FTP.

When the selected option is HTTP or FTP, the protocol is copied to the Path label below, and the full file name should be entered in the File entry. For example, selecting HTTP and writing www.gamgi.org/dat/molecule/silicates/q10.xml or seleting FTP and writing ftp.gamgi.org/gamgi/dat/molecule/silicates/q10.xml in both cases will import the silica monomer Si(OH)4.

### Folder

Single click on a folder name, to select that folder. Click on .. to go to the previous folder. The current folder is indicated by the Path label below.

### File

Single click on a file name to transport its name to the File entry below. The complete filename is formed by the contents of the Path label plus the File entry. Currently the full file name must have less than 200 characters and the actual file name must have less than 50 characters.

Currently GAMGI can import in the following formats: 1) native XML (extension .xml); 2) xyz (extension .xyz). GAMGI always uses the file extension to decide the file format, so for example a proper xyz file with an extension .xml will be parsed as a XML file and flagged down as an invalid file. When the filename has no extension, GAMGI assumes it is written in its native XML format.

GAMGI accepted formats are described in the documentation in Manuals->Formats and online on Help->Topic->Formats.

GAMGI XML format is a vectorial format, so all information is preserved in the file, including non-default configuration data. Configuration data is always written in the beginning of the file, so it is already loaded when the object data is imported (a necessary step to guarantee that after importing the file the initial state is fully restored again).
Home