Sets the segment height.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public void SetSegmentHeight( int segmentIndex, double height )
Parameters
- segmentIndex Int32
- Index of the segment.
- height Double
- New height for the segment.
Exceptions
Exception | Condition |
---|---|
ArgumentException | segmentIndex must be between 0 and the last second of all segments. |
ArgumentOutOfRangeException | The given value for height must be greater than 0 and no more than 30000 feet. |