Abaqus - How to visualize elements on a model that exceed a certain strain threshold?

I have a model that has a failure criteria for its elements. If it exceeds a certain amount of certain, it fails. I want to output this data and ignore strain that's much higher. Then I want to calculate a percentage of the total elements that fail since that will determine if the model itself failed. I plan to develop this in script. Currently, I got a finished model with its script without the visualization.

I need some help with this as I am not sure how to proceed.

Abaqus ​​​​​​​