User input from Rhino commandline in GH creates infinite loop!

Hi there,
we are trying to create something GH where a user is able to input values from the commandline. We think it is just more convenient for unexperienced users, that’s why we chose not to use a panel.

So it might not be the most elegant way to use the GetString method, but that’s the only thing I was able to think of at this very moment. When I start the script of course it is going to as me permanently to input the “material”. Of course I tried the isActive Boolean to stop it, but honestly it crashed and I was not able to go any further like this.

Any ideas? Any help is highly appreciated. :slight_smile: