API Help
Eplan.EplApi.HEServices Namespace / PlcService Class / ImportData Method / ImportData(Project,String,ImportMatch) Method
Project into which the PLC data will be imported.
Full file name of the file to import.
Matching criteria for PLC data import.

ImportData(Project,String,ImportMatch) Method
Imports PLC data from a file. This method may be used to import PLC data in the PLC standard exchange format (.pbf files) using the PlcDcXMLExchangerUniversal converter. In order to import PLC data using specific PLC data converter, use the overloaded ImportData method together with the GetAvailableConverters method.
Syntax

Parameters

oProject
Project into which the PLC data will be imported.
strFullName
Full file name of the file to import.
eImportMatch
Matching criteria for PLC data import.
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 importing PLC data could not be created.
An error occurred during the import.
See Also