Revit 2025.3 API
Rebar |
The rounding for shared parameters used by rebar.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public double SegmentLengthRounding { get; set; }
Public Property SegmentLengthRounding As Double Get Set
public: property double SegmentLengthRounding { double get (); void set (double value); }
member SegmentLengthRounding : float with get, set
Property Value
Double
Exception | Condition |
---|---|
ArgumentException | When setting this property: The given value for value is not a number |
ArgumentOutOfRangeException | When setting this property: The rounding value is not a positive value. |
InvalidOperationException | When setting this property: IsActiveOnElement property is false. |

IsActiveOnElement property has to be true. SegmentLengthRounding is meaningless if IsActiveOnElement is false.
See Also