Add a set of exist components to the Electrical System.
Namespace: Autodesk.Revit.DB.Electrical
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Syntax
| C# |
|---|
public bool AddToCircuit(
ElementSet components
) |
| Visual Basic |
|---|
Public Function AddToCircuit ( _
components As ElementSet _
) As Boolean |
| Visual C++ |
|---|
public:
bool AddToCircuit(
ElementSet^ components
) |
Return Value
If successful, all the components will add to the system. Otherwise
nullNothingnullptra null reference (Nothing in Visual Basic) is returned.
Remarks
See Also