TotalLengthRounding Property


Rebar Rounding Manager Total Length Rounding Property

The rounding for Bar Length and Total Bar Length parameters.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double TotalLengthRounding { get; set; }

Property Value

Double
Exceptions
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.
Remarks
IsActiveOnElement property has to be true. TotalLengthRounding is meaningless if IsActiveOnElement is false.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →