Eplan Platform API
Eplan.EplApi.MasterData Namespace / MDPartsDatabase Class / ExportParts Method / ExportParts(String,DataFormat) Method
Full output file name. This parameter must not be NULL and must not be an empty string ("").
Format type of export (XML or EDZ).

In This Topic
    ExportParts(String,DataFormat) Method
    In This Topic
    Exports all parts from the system's parts database.
    Syntax

    Parameters

    strFilePath
    Full output file name. This parameter must not be NULL and must not be an empty string ("").
    dataFormat
    Format type of export (XML or EDZ).
    Exceptions
    ExceptionDescription
    Thrown if the strFilePath parameter is NULL.
    Thrown if the strFilePath parameter is an empty string ("") or if the directory specified in the strFilePath parameter does not exist.
    Remarks

    Exports parts only. Does not export other parts management items like addresses, constructions, terminals, accessory lists and accessory placements.

    To export all parts and all other parts management items, use the ExportPartsDatabaseItems(String,DataFormat,Boolean,Boolean,Boolean,Boolean,Boolean,Boolean) method.

    See Also