MaxSpacing Property


Identifies the maximum spacing between rebar in rebar set.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2009

Syntax

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

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentOutOfRangeException When setting this property: The maxSpacing isn't bigger than 0.0.
Autodesk.Revit.ExceptionsInapplicableDataException This rebar element represents a single bar (the layout rule is Single).

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 →