Creates a new CriticalPathCollector that visits the analytical segments on the network critical path.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public CriticalPathCollector( Document doc, MEPNetworkSegmentId segmentId )
Parameters
- doc Document
- The document of the analytical network.
- segmentId MEPNetworkSegmentId
- The analytical segment to identify the network. Note that this segment is not required to be on the critical path.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The network segment id is invalid. |
ArgumentNullException | A non-optional argument was null |