Batch import file structure
The batch import file must be structured as follows:
<gfxImport importFolder=""> <import importFile="" importType="" display="" /> <import importFile="" importType="" display="" /> … </gfxImport>
where:
- importFolderis an optional attribute specifying the folder where the import files are located. For example, importFolder="C:\Imports". If the importFolder attribute ispresent, the file specified in the importFile attribute is assumed to exist in this folder, otherwise the file is assumed to exist in the same folder as the batch import file.
- importFileis the name of the XML file to import. For example, importFile="Pump.xml". This attribute is required and cannot contain a path.
- importTypeis an optional attribute that can set tocreateorupdate. This attribute defines whether the import operation will create new graphic objects or update existing objects. This attribute overrides the setting in theBatch Import Filedialog box of the Graphics Import Export Wizard.
- displayis an optional attribute defining the name of the graphic display to import into. For example, display="Pump". If the display attribute is set to '*', the XML file will be imported into all the graphic displays. If this attribute is omitted, the display with the same name as the XML file is used.
Provide Feedback