InsertColumn Method (Int32)


Inserts a new column at the specified index relative to the current set of columns.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 16.0.0.0 (16.0.0.0)
Since: 2015

Syntax

C#
public void InsertColumn(
	int index
)
Visual Basic
Public Sub InsertColumn ( _
	index As Integer _
)
Visual C++
public:
void InsertColumn(
	int index
)

Parameters

index
Type: System Int32
An integer index.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException index is invalid index.
Autodesk.Revit.Exceptions InvalidOperationException This operation is forbidden for cells in standard schedule body sections.

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 →