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

    oProject
    Project into which the devices will be imported.
    strImportFilePath
    Full file name of the devices file to import.
    strSchemeName
    Name of the import scheme.
    strSeparator
    Char to separate column values of the text.
    nHeadLinePos
    The position of the head line that will be used to asssign the column values at the import.
    nHeadLineCount
    The count of head lines that will be skipped at the import.
    bAdjustDialog
    Additional 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