ImportDeviceList(Project,String,Format) Method
In This Topic
This function imports a device list into a given project.
Syntax
Parameters
- oProject
- Project into which the device list will be imported.
- strImportFilePath
- Full file name of the device list file to import.
- fileFormat
- Format of the import file\: By default the following file formats are available\: XML or CSV. The enum Format defines the available values. If an invalid format is set, the file is expected to be XML.
Exceptions
Exception | Description |
ArgumentException | Invalid parameters found. |
ArgumentNullException | Null was passed to a parameter. |
ApplicationException | The internal interface for importing a
device list could not be created. |
Eplan.EplApi.Base.BaseException | An error occurred during the import of
a device list. Please refer to the
exception message. |
Eplan.EplApi.HEServices.Exceptions.InvalidConverter | Thrown when given parameter fileFormat isn't valid converter or such conversion dosesn't exist at all. |
See Also