Rotate multiple material pattern

I’m working on this storage facility where I have a lot of spaces with individual acoustic ceilings. I need to rotate the pattern lines 90 degrees on 90% of those ceilings. Is there any simple way (for beginners) to do this in Dynamo? I want to learn it and this could be my first assignment to understand it.

Thanks in advance