Eplan Platform API
Eplan.EplApi.HEServices Namespace / PartsService Class / ImportPartsList Method / ImportPartsList(String,String,Format) Method
Full link file name of the project, into which the parts (Articles) will be imported.
Full file name of the parts list file to import.
Parameter for setting the predefined file formats XML and CSV. The enumeration PartsService.Format defines the necessary values. If an invalid value is set, the file is expected to be XML.

In This Topic
    ImportPartsList(String,String,Format) Method
    In This Topic
    Method to import a parts list file into the project.
    Syntax

    Parameters

    strFullLinkFileName
    Full link file name of the project, into which the parts (Articles) will be imported.
    strImportFilePath
    Full file name of the parts list file to import.
    fileformat
    Parameter for setting the predefined file formats XML and CSV. The enumeration PartsService.Format defines the necessary values. If an invalid value is set, the file is expected to be XML.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid \arguments.
    An error occurred during import.
    Thrown when given parameter fileformat isn't valid converter or such conversion doesn't exist at all.
    See Also