ElectricalSystem.Create(Connector, ElectricalSystemType)
Method
Description:
Creates a new MEP Electrical System element from an unused Connector.
Creates a new MEP Electrical System element from an unused Connector.
Syntax
public static ElectricalSystem Create(
Connector connector,
ElectricalSystemType elecSysType
)
Parameters
Parameter | Type | Description |
---|---|---|
connector | Connector | The Connector to create this Electrical System. |
elecSysType | ElectricalSystemType | The System Type of electrical system. |
Return Value
Type | Description |
---|---|
ElectricalSystem | If successful a new MEP Electrical System element within the project, otherwise . |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |