GetCellText Method


Table View Get Cell Text Method

Gets the cell's text based on its type

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public string GetCellText(
	SectionType sectionType,
	int row,
	int column
)

Parameters

sectionType SectionType
The requested section type
row Int32
Row Number in the Section
column Int32
Column Number in the Section

Return Value

String
The text for the given cell
Exceptions
Exception Condition
ArgumentException The sectionType is not a valid type for this view.
ArgumentOutOfRangeException The given row number row is invalid. -or- The given column number column is invalid. -or- A value passed for an enumeration argument is not a member of that enumeration
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 →