Eplan Platform API
Eplan.EplApi.DataModel.EObjects Namespace / Plug Class / Create Method / Create(PlugStrip,SymbolVariant) Method
A PlugStrip where the plug will be located.
A Eplan.EplApi.DataModel.MasterData.SymbolVariant of the plug.

In This Topic
    Create(PlugStrip,SymbolVariant) Method
    In This Topic
    Creates a Plug object related to a PlugStrip given as a parameter. The created plug will get its symbol and function definition from the Eplan.EplApi.DataModel.MasterData.SymbolVariant parameter.
    Syntax
    public void Create( 
       PlugStrip strip,
       SymbolVariant variant
    )
    public:
    void Create( 
       PlugStrip^ strip,
       SymbolVariant^ variant
    ) 

    Parameters

    Parameter NameDescription
    stripA PlugStrip where the plug will be located.
    variantA Eplan.EplApi.DataModel.MasterData.SymbolVariant of the plug.
    Exceptions
    ExceptionDescription
    Thrown when the Plug object cannot be created.
    Thrown when any of the parameters is null.
    See Also