GetCalculatedValueText Method


Gets the calculated value text for a cell from the instance view.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)

Syntax

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

Parameters

sectionType
Type: Autodesk.Revit.DBSectionType
The section type.
row
Type: SystemInt32
The row.
column
Type: SystemInt32
The column.

Return Value

The calculated value text.

Exceptions

ExceptionCondition
Autodesk.Revit.ExceptionsArgumentException The sectionType is not a valid type for this view.
Autodesk.Revit.ExceptionsArgumentOutOfRangeException 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 →