Eplan Platform API
Eplan.EplApi.HEServices Namespace / DeviceService Class / CreateTerminalDevice Method / CreateTerminalDevice(Project,String,String,String,String,Boolean) Method
The project in which the new terminals will be.
This parameter determines the DT of the new terminals.
The article's part number.
The article's variant.
Numbering pattern.
If set to true, the terminals are numbered by level.

In This Topic
    CreateTerminalDevice(Project,String,String,String,String,Boolean) Method
    In This Topic
    Creates new terminals for a new or existing DT according to a particular numbering pattern. The terminals are generated from the function templates of the selected part, with the numbering pattern defining the terminal designations. The first terminal generated becomes the main terminal per device and receives the selected part.
    Syntax

    Parameters

    oProject
    The project in which the new terminals will be.
    strFullDeviceTag
    This parameter determines the DT of the new terminals.
    strPartNumber
    The article's part number.
    strPartVariant
    The article's variant.
    strNumberingPattern
    Numbering pattern.
    bNumberByLevels
    If set to true, the terminals are numbered by level.
    Exceptions
    ExceptionDescription
    Is thrown in case of invalid arguments.
    Is thrown, if some of the arguments are NULL.
    A necessary internal interface for creating devices could not be created.
    If an error occurred while creating terminals.
    Remarks
    If the chosen article is not a multilevel terminal, the parameter bNumberByLevels will be set to false.
    See Also