GetParamValue Method


Gets the cell's text based on its type

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

Syntax

C#
public string GetParamValue(
	SectionType sectionType,
	int nRow,
	int nCol
)
Visual Basic
Public Function GetParamValue ( _
	sectionType As SectionType, _
	nRow As Integer, _
	nCol As Integer _
) As String
Visual C++
public:
String^ GetParamValue(
	SectionType sectionType, 
	int nRow, 
	int nCol
)

Parameters

sectionType
Type: Autodesk.Revit.DB SectionType
Section of the desired parameter value
nRow
Type: System Int32
Row Number of the Section
nCol
Type: System Int32
Column Number of the Section

Return Value

The cell's text

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException The given row number nRow is invalid. -or- The given column number nCol is invalid. -or- Thrown if there is no parameter at this cell -or- A value passed for an enumeration argument is not a member of that enumeration
Autodesk.Revit.Exceptions InvalidOperationException Thrown if attempt to call on a template

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 →