Revit 2025.3 API
| MEPSystemDivide | 
   Divide the phyisical networks in the system and create a new system for each network.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public ICollection<ElementId> DivideSystem( Document ADoc )
Public Function DivideSystem ( ADoc As Document ) As ICollection(Of ElementId)
public: ICollection<ElementId^>^ DivideSystem( Document^ ADoc )
member DivideSystem : ADoc : Document -> ICollection<ElementId>
Parameters
- ADoc Document
- The document.
Return Value
ICollectionElementIdThe id of new created systems.
 Exceptions
Exceptions| Exception | Condition | 
|---|---|
| ArgumentNullException | A non-optional argument was null | 
| InvalidOperationException | The system is not dividable. | 
 Remarks
Remarks
   This function only works for Hvac and Piping system.
See Also