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 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 →