Revit 2025 API
Table |
Sets a cell's category and parameter Id
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public void SetCellParamIdAndCategoryId( int nRow, int nCol, ElementId paramId, ElementId categoryId )
Public Sub SetCellParamIdAndCategoryId ( nRow As Integer, nCol As Integer, paramId As ElementId, categoryId As ElementId )
public: void SetCellParamIdAndCategoryId( int nRow, int nCol, ElementId^ paramId, ElementId^ categoryId )
member SetCellParamIdAndCategoryId : nRow : int * nCol : int * paramId : ElementId * categoryId : ElementId -> unit
Parameters

Exception | Condition |
---|---|
ArgumentException | The given row number nRow is invalid. -or- The given column number nCol is invalid. -or- The paramId or categoryId is not valid. |
ArgumentNullException | A non-optional argument was null |
See Also