I am working on changing the color of individual cells in a Revit schedule. Ideally, each row will be one background color to represent a specific building type. I am aware that this can be done with conditional formatting, but that method is simply too tedious.
Currently, I have a dynamo graph where I am using some Archi-lab nodes (thanks Konrad), but unfortunately, Konrad even mentions in his package that he only managed to change parameters for schedule titles. I changed a bit of the python code and I know I am quite close, but my lack of object oriented coding knowledge is beginning to catch up with me. I get the error “Only allow to override cell style for header section or column header in body section.” Using Revit API search, I found that in order to change specific parameters for specific cells, I need to “set the TableCellStyleOverrideOptions in the TableCellStyle to override this cell.” Unfortunately, I have no idea how to use the TableCellStyle class to change my parameter.
Anyone have any experience with this?Below is my code and dynamo graph.