Hide rebar in section

I made a lot of sections (100+) to detailing foundation beams these beams connect against each other.
If i rebar these beams (in view) also the rebar from intersecting beams are visible.
What i want to make is the rebar in these sections invisible with Element Hide or View Visibility States using Dynamo.
I don’t know where to begin to identify these sections can you help me to start.

Thnks Edwin.