LayoutRuleFixedDistance 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 LayoutRuleFixedDistance(
	double spacing,
	BeamSystemJustifyType justifyType
)
Visual Basic
Public Sub New ( _
	spacing As Double, _
	justifyType As BeamSystemJustifyType _
)
Visual C++
public:
LayoutRuleFixedDistance(
	double spacing, 
	BeamSystemJustifyType justifyType
)

Parameters

spacing
Type: SystemDouble
The value of spacing must be between 0 and 30000.
justifyType
Type: Autodesk.Revit.DBBeamSystemJustifyType
The type of the justification, it's corresponding to the items in the element properties dialog.

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 →