GetCellText Method


Gets the cell's text based on its type

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

Syntax

C#
public string GetCellText(
	SectionType sectionType,
	int row,
	int column
)
Visual Basic
Public Function GetCellText ( _
	sectionType As SectionType, _
	row As Integer, _
	column As Integer _
) As String
Visual C++
public:
String^ GetCellText(
	SectionType sectionType, 
	int row, 
	int column
)

Parameters

sectionType
Type: Autodesk.Revit.DB SectionType
The requested section type
row
Type: System Int32
Row Number in the Section
column
Type: System Int32
Column Number in the Section

Return Value

The text for the given cell

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException The sectionType is not a valid type for this view.
Autodesk.Revit.Exceptions 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 →