API Help
Eplan.EplApi.HEServices Namespace / PartsService Class / ImportPartsListToSystem Method / ImportPartsListToSystem(String,String,String,ImportMode,Boolean) Method
Full file name
Converter long name, see Eplan::EplApi::ApplicationFramework: and Eplan::EplApi::ApplicationFramework: namespace.
Full file name of the configuration file. Details about configuration file structure are described in "Parts Management: Configuration Files for the Import and Export of Data" chapter of P8 Help.
Import mode. The enumeration PartsService.ImportMode defines the supported values. If an invalid value is set, the value AppendNewRecords = 0 will be used.
Specifies if multilanguage properties of records should be updated with another language rather then be replaced.

ImportPartsListToSystem(String,String,String,ImportMode,Boolean) Method
Imports part list to the system database.
Syntax

Parameters

strFilePath
Full file name
strConverter
Converter long name, see Eplan::EplApi::ApplicationFramework: and Eplan::EplApi::ApplicationFramework: namespace.
strCfgFilePath
Full file name of the configuration file. Details about configuration file structure are described in "Parts Management: Configuration Files for the Import and Export of Data" chapter of P8 Help.
mode
Import mode. The enumeration PartsService.ImportMode defines the supported values. If an invalid value is set, the value AppendNewRecords = 0 will be used.
bAdditionalLanguage
Specifies if multilanguage properties of records should be updated with another language rather then be replaced.
Exceptions
ExceptionDescription
Thrown in case of invalid parameters.
An error occurred while importing parts data.
See Also