LayoutRuleClearSpacing Constructor


Constructor of LayoutRuleFixedDistance. Create LayoutRuleFixedDistance with the values passed in.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)

Syntax

C#
public LayoutRuleClearSpacing(
	double spacing,
	BeamSystemJustifyType justifyType
)
Visual Basic
Public Sub New ( _
	spacing As Double, _
	justifyType As BeamSystemJustifyType _
)
Visual C++
public:
LayoutRuleClearSpacing(
	double spacing, 
	BeamSystemJustifyType justifyType
)

Parameters

spacing
Type: System Double
The value of spacing must be in [0, 30000).
justifyType
Type: Autodesk.Revit.DB BeamSystemJustifyType
The type of the justification, it's corresponding to the items in the element properties dialog.

Remarks

The value of spacing must be in [0, 30000), but in fact the spacing should not be too small or too great.

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 →