API Help
Eplan.EplApi.HEServices Namespace / PartsService Class / ImportPartsListToSystem Method / ImportPartsListToSystem(String,String,String,ImportMode,Boolean,ImportIdentifier,String) 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.
Import Identifier. The enumeration PartsService.ImportIdentifier defines the supported values.
Specifies a field mapping scheme. This parameter may be an empty string in which case the scheme last used in GUI will be taken.

ImportPartsListToSystem(String,String,String,ImportMode,Boolean,ImportIdentifier,String) 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.
importIdentifier
Import Identifier. The enumeration PartsService.ImportIdentifier defines the supported values.
strFieldMappingScheme
Specifies a field mapping scheme. This parameter may be an empty string in which case the scheme last used in GUI will be taken.
Exceptions
ExceptionDescription
Thrown in case of invalid parameters.
An error occurred while importing parts data.
See Also