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

    Parameter NameDescription
    strFullLinkFileNameFull link file name of the project, into which the parts (Articles) will be imported.
    strImportFilePathFull file name of the parts list file to import.
    fileformatParameter 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.
    Thrown if an error occurred during import.
    Thrown when the given fileformat parameter isn't a valid converter or such a conversion doesn't exist at all.
    See Also