Eplan Platform API
Eplan.EplApi.DataModel.EObjects Namespace / Terminal Class / Create Method / Create(TerminalStrip,Page,SymbolVariant) Method
TerminalStrip where the Terminal will be located on
Eplan.EplApi.DataModel.Page where the Terminal will be placed. If page is NULL terminal won't be placed.
Eplan.EplApi.DataModel.MasterData.SymbolVariant representing the graphical symbol of the terminal

Create(TerminalStrip,Page,SymbolVariant) Method
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 third parameter. The page where terminal will be placed is taken from the second page parameter. If NULL, an unplaced terminal will be created.
Syntax

Parameters

ts
TerminalStrip where the Terminal will be located on
page
Eplan.EplApi.DataModel.Page where the Terminal will be placed. If page is NULL terminal won't be placed.
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