Eplan Platform API
Eplan.EplApi.HEServices Namespace / PartsService Class / ExportPartsList Method / ExportPartsList(Project,String,Format) Method
Project of which the parts list will be exported.
Path and file name of the export file. The extension is added automatically.
Parameter for setting the predefined export formats XML and CSV. The enumeration PartsService.Format defines the necessary values. If an invalid value is set, the file will be exported as XML.

In This Topic
    ExportPartsList(Project,String,Format) Method
    In This Topic
    Method to export the parts list of a project to an XML/CSV \file.
    Syntax

    Parameters

    oProject
    Project of which the parts list will be exported.
    strExportFilePath
    Path and file name of the export file. The extension is added automatically.
    fileFormat
    Parameter for setting the predefined export formats XML and CSV. The enumeration PartsService.Format defines the necessary values. If an invalid value is set, the file will be exported as XML.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid \arguments.
    Thrown if an error occurred during export.
    \Internal action for exporting the parts list was not found. (Missing rights?).
    Thrown when given parameter fileFormat isn't valid converter or such conversion doesn't exist at all.
    See Also