GroupHeaders Method (Int32, Int32, Int32, Int32)


Groups schedule header cells.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Since: 2014

Syntax

C#
[ObsoleteAttribute("This method will be obsolete from 2015. Use GroupHeaders(int, int, int, int, String) instead.")]
public void GroupHeaders(
	int top,
	int left,
	int bottom,
	int right
)
Visual Basic
<ObsoleteAttribute("This method will be obsolete from 2015. Use GroupHeaders(int, int, int, int, String) instead.")> _
Public Sub GroupHeaders ( _
	top As Integer, _
	left As Integer, _
	bottom As Integer, _
	right As Integer _
)
Visual C++
[ObsoleteAttribute(L"This method will be obsolete from 2015. Use GroupHeaders(int, int, int, int, String) instead.")]
public:
void GroupHeaders(
	int top, 
	int left, 
	int bottom, 
	int right
)

Parameters

top
Type: System Int32
The index of the top row of the selected headers.
left
Type: System Int32
The index of the left column of the selected headers.
bottom
Type: System Int32
The index of the bottom row of the selected headers.
right
Type: System Int32
The index of the right column of the selected headers.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException Headers could not be grouped.

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 →