SetLayoutFixedNumber Method


Set the Layout property to FixedNumber.

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

Syntax

C#
public void SetLayoutFixedNumber(
	int number,
	SpacingRuleJustification just,
	double gridlinesRotation,
	double offset
)
Visual Basic
Public Sub SetLayoutFixedNumber ( _
	number As Integer, _
	just As SpacingRuleJustification, _
	gridlinesRotation As Double, _
	offset As Double _
)
Visual C++
public:
void SetLayoutFixedNumber(
	int number, 
	SpacingRuleJustification just, 
	double gridlinesRotation, 
	double offset
)

Parameters

number
Type: SystemInt32
just
Type: Autodesk.Revit.DBSpacingRuleJustification
gridlinesRotation
Type: SystemDouble
offset
Type: SystemDouble

Remarks

When changing the Layout to FixedNumber, you must also simultaneously set the Number, Justification, GridlinesRotation, and Offset properties.

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 →