Eplan Platform API
Eplan.EplApi.DataModel.EObjects Namespace / Terminal Class / Create Method / Create(TerminalStrip,SymbolVariant) Method
TerminalStrip where the Terminal will be located on
Eplan.EplApi.DataModel.MasterData.SymbolVariant representing the graphical symbol of the terminal

In This Topic
    Create(TerminalStrip,SymbolVariant) Method
    In This Topic
    Creates a Terminal object related to a TerminalStrip given as a parameter and having a Eplan.EplApi.DataModel.Function.Category equal to TERMINAL. Its graphical symbol is taken from a Eplan.EplApi.DataModel.MasterData.SymbolVariant given as the second parameter.
    Syntax
    public void Create( 
       TerminalStrip ts,
       SymbolVariant variant
    )
    public:
    void Create( 
       TerminalStrip^ ts,
       SymbolVariant^ variant
    ) 

    Parameters

    ts
    TerminalStrip where the Terminal will be located on
    variant
    Eplan.EplApi.DataModel.MasterData.SymbolVariant representing the graphical symbol of the terminal
    Exceptions
    ExceptionDescription
    Thrown when the Terminal cannot be created.
    Thrown when ts parameter is null.
    Thrown when variant parameter is null.
    Thrown when the function has already been created.
    Thrown when the variant does not represent a Terminal.
    See Also