Revit 2026 API
Table |
Gets custom field id from the cell.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.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
| Exception | Condition |
|---|---|
| ArgumentException | The given row number row is invalid. -or- The given column number col is invalid. |
See Also