TotalLengthRoundingMethod Property


Identifies the total length rounding method

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since: 2016

Syntax

C#
public RoundingMethod TotalLengthRoundingMethod { get; set; }
Visual Basic
Public Property TotalLengthRoundingMethod As RoundingMethod
	Get
	Set
Visual C++
public:
property RoundingMethod TotalLengthRoundingMethod {
	RoundingMethod get ();
	void set (RoundingMethod value);
}

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException When setting this property: A value passed for an enumeration argument is not a member of that enumeration
Autodesk.Revit.Exceptions DisabledDisciplineException When setting this property: None of the following disciplines is enabled: Structural.
Autodesk.Revit.Exceptions InvalidOperationException When setting this property: IsActiveOnElement property is false.

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →