LayoutRuleClearSpacing Constructor


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

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.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: SystemDouble
The value of spacing must be in [0, 30000).
justifyType
Type: Autodesk.Revit.DBBeamSystemJustifyType
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

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 →