Gets the analysis data on the specified segment.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public MEPNetworkSegmentData GetSegmentData( int segmentId )
Parameters
- segmentId Int32
- The segment id to be retrieved.
Return Value
MEPNetworkSegmentDataThe calculated data of this segment. Be aware that the segment data may be invalid if the calculation failed.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The input must be a valid segment id. |
