ImportPartsListToSystem(String,String,String,ImportMode,Boolean,ImportIdentifier,String) Method
In This Topic
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
Exception | Description |
ArgumentException | Thrown in case of
invalid parameters. |
BaseException | An error occurred
while importing parts
data. |
See Also