Hi. I am trying to get Grasshopper to simulate ocean wave movement and how it responds to wave barriers. However, when creating the script for the wave barrier, I encountered the error ‘Error running script: ‘Brep’ object is not iterable [20:1]’ referring to my Barrier Geometry’s connection to the Python script.
Any advice on how to resolve this problem?
Below is a screenshot of the error in GH & Python:-
Thanks for the response and for resolving the error! After running the script I also noticed that the barriers do not seem to work.
I intended for the waves to react to the barrier and change the way the waves propagate. However, I can’t seem to work out how to get it to achieve that.