InsertCombinedParameterField Method


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

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.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.GenericIListTableCellCombinedParameterData
The combined parameters array.
fieldName
Type: SystemString
The field name.
index
Type: SystemInt32
The index in the list of fields.

Return Value

The new field.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentNullException A non-optional argument was null
Autodesk.Revit.ExceptionsArgumentOutOfRangeException 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 →