Revit 2025 API
Table |
Gets the spec describing values of a cell, if applicable.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ForgeTypeId GetCellSpec( int nRow, int nCol )
Public Function GetCellSpec ( nRow As Integer, nCol As Integer ) As ForgeTypeId
public: ForgeTypeId^ GetCellSpec( int nRow, int nCol )
member GetCellSpec : nRow : int * nCol : int -> ForgeTypeId
Parameters
Return Value
ForgeTypeIdIdentifier of the spec, or empty if the cell does not contain a number with units.

Exception | Condition |
---|---|
ArgumentException | The given row number nRow is invalid. -or- The given column number nCol is invalid. |
See Also