Add a spot slope dimension.
Revit roof slope annotation.
You simply input a slope in degrees that anything greater than is problematic.
For slope representation enabled in an elevation or section view select arrow or triangle.
Optional change the following on the options bar.
Because revit is annotating the hip not the face of the roof.
Then in revit you get into the view you wish to re colour probably a 3d view is apt then hit run.
This depends on how you ve modelled but if you ve clicked on the defines slope you could approach it like so.
How to set up the dimension for roof slope in degree go to manage tab project units slope change the units as decimal degrees articleid ka93g00000008wy articlenumber 000251817.
In the type selector select the type of spot slope to place.
Revit snaps to the cornerpitch of the roof.
Enter a value.
Click annotate tab dimension panel spot slope.