Eplan Platform API
Eplan.EplApi.HEServices Namespace / PlcService Class / ExportData Method / ExportData(Project,String,String) Method
Project of which the PLC data will be exported.
A PLC configuration project. If you pass an empty string, all PLC data contained in the P8 project will be exported.
Full name of the output file without an extension. The filename extension is added automatically.

In This Topic
    ExportData(Project,String,String) Method
    In This Topic
    Exports PLC data in the PLC standard exchange format (.pbf files) using the PlcDcXMLExchangerUniversal converter.
    Syntax

    Parameters

    oProject
    Project of which the PLC data will be exported.
    strConfigurationProject
    A PLC configuration project. If you pass an empty string, all PLC data contained in the P8 project will be exported.
    strOutputFileName
    Full name of the output file without an extension. The filename extension is added automatically.
    Exceptions
    ExceptionDescription
    Thrown in case of missing parameters.
    Thrown in case of invalid arguments, e.g. the given Project does not exist or isn't valid.
    \Internal interface for exporting PLC data could not be created.
    An error occurred during the export.
    Remarks
    In order to export PLC data using specific PLC data converter, use the overloaded ExportData method together with the GetAvailableConverters method. If the given directory in the full file name does not exist, it will be created.
    See Also