API Help
Eplan.EplApi.DataModel.EObjects Namespace / Plug Class / Create Method

In This Topic
    Create Method (Plug)
    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.
    Overload List
    OverloadDescription
    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.  
    Creates a Plug object related to a PlugStrip given as a parameter. The plug's function definition will be chosen based on the plug strip's function definition:

    - for "Male and female" plug strips, the plug will get "Male and Female pin" function definition,

    - for "Male" plug strips, the plug will get "Male pin, 2 connection points" function definition,

    - for "Female" plug strips, the plug will get "Female pin, 2 connection points" function definition

     
    Creates a Plug object related to a PlugStrip given as a parameter. The plug's function definition will be chosen based on the plug strip's function definition:

    - for "Male and female" plug strips, the plug will get "Male and Female pin" function definition,

    - for "Male" plug strips, the plug will get "Male pin, 2 connection points" function definition,

    - for "Female" plug strips, the plug will get "Female pin, 2 connection points" function definition

     
    Creates a Function object placed on a Eplan.EplApi.DataModel.Page given as a parameter and sets it Eplan.EplApi.DataModel.MasterData.SymbolVariant together with LogicalArea. (Inherited from Eplan.EplApi.DataModel.Function)
    Creates a Function object placed on a Eplan.EplApi.DataModel.Page given as the first parameter and having a Eplan.EplApi.DataModel.Function.FunctionDefinition taken from Eplan.EplApi.DataModel.FunctionDefinition passed as the second parameter. (Inherited from Eplan.EplApi.DataModel.Function)
    Creates a Function. It is not placed on any Eplan.EplApi.DataModel.Page. and having a Eplan.EplApi.DataModel.Function.FunctionDefinition taken from Eplan.EplApi.DataModel.FunctionDefinition passed as the second parameter. (Inherited from Eplan.EplApi.DataModel.Function)
    Creates a SymbolReference. It is placed on the page passed as a parameter, using a given SymbolVariant. (Inherited from Eplan.EplApi.DataModel.Function)
    Creates a Function. It is not placed on any Eplan.EplApi.DataModel.Page. Its category is taken from Eplan.EplApi.DataModel.MasterData.SymbolVariant. (Inherited from Eplan.EplApi.DataModel.Function)
    See Also