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

Create(PlugStrip) Method
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

Syntax
public void Create( 
   PlugStrip ps
)

Parameters

ps
A PlugStrip where the plug will be located.
Exceptions
ExceptionDescription
Thrown when the Plug cannot be created.
Thrown when ps parameter is null.
See Also