Eplan Platform API
Eplan.EplApi.HEServices Namespace / DeviceService Class / ImportDevicesText Method / ImportDevicesText(Project,String,String,String,Int32,Int32,Boolean) Method
Project into which the devices will be imported.
Full file name of the devices file to import.
Name of the import scheme.
Char to separate column values of the text.
The position of the head line that will be used to asssign the column values at the import.
The count of head lines that will be skipped at the import.
Additional dialog for adjust devices import.

In This Topic
    ImportDevicesText(Project,String,String,String,Int32,Int32,Boolean) Method
    In This Topic
    This function imports devices from an text file into a given project.
    Syntax

    Parameters

    Parameter NameDescription
    oProjectProject into which the devices will be imported.
    strImportFilePathFull file name of the devices file to import.
    strSchemeNameName of the import scheme.
    strSeparatorChar to separate column values of the text.
    nHeadLinePosThe position of the head line that will be used to asssign the column values at the import.
    nHeadLineCountThe count of head lines that will be skipped at the import.
    bAdjustDialogAdditional dialog for adjust devices import.

    Return Value

    Result is returned as array of StorableObjects.
    Exceptions
    ExceptionDescription
    Invalid parameters found.
    Null was passed to a parameter.
    The internal interface for importing devices could not be created.
    An error occurred during the import of devices. Please refer to the exception message.
    See Also