I want to assign an object to a variable

Two questions about grasshopper.

Wouldn’t there be a way to store multiple objects each in a Brep and then put it in a list-like component for selection? It would be helpful if you could tell me if there is a better way.
Also, I would like to know if there is a way to replace the object from a circle to a square so as to overwrite the value of the variable. thank you.

Hello,
Like this?

streamFilter.gh (9.5 KB)

2 Likes

Hello.
that’s right! Exactly what I was looking for.
Thank you for your help.