API Help
Eplan.EplApi.HEServices Namespace / PartsService Class / ImportPartsListToSystem Method / ImportPartsListToSystem(String,String,String,ImportMode,Boolean,ImportIdentifier,String,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.
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.
When true the database is compacted after import. This requires exclusive access to the database.

In This Topic
    ImportPartsListToSystem(String,String,String,ImportMode,Boolean,ImportIdentifier,String,Boolean) 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.
    bCompactDatabase
    When true the database is compacted after import. This requires exclusive access to the database.
    Exceptions
    ExceptionDescription
    Thrown in case of invalid parameters.
    An error occurred while importing parts data.
    See Also