IronPython script that will mark all the rows that are currently visible on a table visualization?

If a data table has 100 rows, but only displays 10 rows due to marking from another visulization. Is there a python script I could use that will only mark these 10 rows that are displayed using another marking color?

(1) Answer