RVTDocs.com

MEPSection.GetSegmentLength

Method
Description:
Get the length for the specified segment id in this section.
Syntax
public double GetSegmentLength(
	ElementId segmentId
)
Parameters
Parameter Type Description
segmentId ElementId The element id which can be duct segment and pipe segment.
Return Value
Exceptions
Exception Condition
ArgumentException The ElementId segmentId does not correspond to a valid section segment member.
ArgumentNullException A non-optional argument was null