GetSurfaceLayout Method


Default Divide Settings Get Surface Layout Method

Gets the default Divided Surface layout for U or V gridlines.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public SpacingRuleLayout GetSurfaceLayout(
	UVGridlineType gridlines
)

Parameters

gridlines UVGridlineType
U-gridlines or V-gridlines.

Return Value

SpacingRuleLayout
The layout spacing rule.
Exceptions
Exception Condition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration
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 →