Revit 2025.3 API
| Table | 
   Gets custom field id from the cell.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public Guid GetCustomFieldId( int row, int col )
Public Function GetCustomFieldId ( row As Integer, col As Integer ) As Guid
public: Guid GetCustomFieldId( int row, int col )
member GetCustomFieldId : row : int * col : int -> Guid
Parameters
- row Int32
- The row of the cell.
- col Int32
- The column of the cell.
Return Value
GuidReturns custom field id from the cell. If this cell is not of type CellType.CustomField it will return an empty Guid
 Exceptions
Exceptions| Exception | Condition | 
|---|---|
| ArgumentException | The given row number row is invalid. -or- The given column number col is invalid. | 
See Also