This pair of snippets demonstrates how to set individual elements within tables. These models are intended to be used as part of a workflow (placed into a larger model) and, as such, they do not have input/output operators.
The first model, SetNewClassName, shows how to rename a specific class name attribute string. For example, if you had an input thematic raster file whose class names were stored in an attribute named "Class_Name", you could use this snippet to replace the existing stirng for row (class) 6 with a new string 'Something Different' to ensure greater standardization of your data products.
The second model, SetTableElement, enables you to set a specific element of a table, such as the Color associated with that row.
Note that both models implement the same 'Set Table Element' submodel.
|Set Table Element submodel (identical for both models)|