LayoutRuleClearSpacing Constructor


Layout Rule Clear Spacing Constructor

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

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public LayoutRuleClearSpacing(
	double spacing,
	BeamSystemJustifyType justifyType
)

Parameters

spacing Double
The value of spacing must be in [0, 30000).
justifyType 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

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 →