API Help
Eplan.EplApi.HEServices Namespace / DeviceService Class / ImportDeviceList Method / ImportDeviceList(String,String,Format) Method
Full link file name of the project into which the device list will be imported.
Full file name of the device list file to import.
Format of the import file\: By default the following file formats are available\: XML or CSV. The enum FILE_FORMAT defines the available values. If an invalid format is set, the file is expected to be XML.

ImportDeviceList(String,String,Format) Method
This function imports a device list into a given project.
Syntax

Parameters

strFullLinkFileName
Full link file name of the 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 FILE_FORMAT defines the available values. If an invalid format is set, the file is expected to be XML.
Exceptions
ExceptionDescription
Invalid parameters found.
Null was passed to a parameter.
The internal interface for importing a device list could not be created.
An error occurred during the import of a device list. Please refer to the exception message.
Thrown when given parameter fileFormat isn't valid converter or such conversion doesn't exist at all.
See Also