InsertCombinedParameterField Method


Adds a combined parameter field at the specified position in the list.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 17.0.0.0 (17.0.1090.0)
Since: 2017

Syntax

C#
public ScheduleField InsertCombinedParameterField(
	IList<TableCellCombinedParameterData> data,
	string fieldName,
	int index
)
Visual Basic
Public Function InsertCombinedParameterField ( _
	data As IList(Of TableCellCombinedParameterData), _
	fieldName As String, _
	index As Integer _
) As ScheduleField
Visual C++
public:
ScheduleField^ InsertCombinedParameterField(
	IList<TableCellCombinedParameterData^>^ data, 
	String^ fieldName, 
	int index
)

Parameters

data
Type: System.Collections.Generic IList TableCellCombinedParameterData
The combined parameters array.
fieldName
Type: System String
The field name.
index
Type: System Int32
The index in the list of fields.

Return Value

The new field.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL
Autodesk.Revit.Exceptions ArgumentOutOfRangeException index is not a valid insert position.

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 →