API Help
Eplan.EplApi.HEServices Namespace / DeviceService Class / ExportDeviceList Method / ExportDeviceList(Project,String,Format) Method
Project from which the device list will be exported.
Full file name of the device list file to export.
Format of the export 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 exported as XML.

In This Topic
    ExportDeviceList(Project,String,Format) Method
    In This Topic
    This function exports the device list of a given project. It is used for exporting devices from the planning list (but neither all devices from the project nor all from the bill of materials).
    Syntax

    Parameters

    oProject
    Project from which the device list will be exported.
    strExportFilePath
    Full file name of the device list file to export.
    fileFormat
    Format of the export 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 exported as XML.
    Exceptions
    ExceptionDescription
    Invalid parameters found.
    Null was passed to a parameter.
    The internal interface for exporting a device list could not be created.
    An error occurred during the export of a device list. Please refer to the exception message.
    Thrown when given parameter fileFormat isn't valid converter or such conversion dosesn't exist at all.
    See Also