ElectricalSystem.Create
Description:
Creates a new MEP Electrical System element from an unused Connector.
Creates a new MEP Electrical System element from an unused Connector.
Overloads (2):
Create(Connector,ElectricalSystemType)
public static ElectricalSystem Create(
Connector connector,
ElectricalSystemType elecSysType
)
-
connectorThe Connector to create this Electrical System.
-
elecSysTypeThe System Type of electrical system.
Return Value
nullNothingnullptr
If successful a new MEP Electrical System element within the project, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
-
A non-optional argument was null
-
A value passed for an enumeration argument is not a member of that enumeration
-
None of the following disciplines is enabled: Mechanical Electrical Piping.