I think you guys are both complicating this too much. Just set up a Boolean Gate/Dispatch component with the list in and a boolean toggle switch. Hook the rest of the stream up to A and when you change the toggle to False it will stop the stream.
Best, Damien On Mar 4, 6:28 am, urbansurgery <[email protected]> wrote: > I also do this a lot, but rather than script it its oftentimes easier > still to use a Cull Pattern component with a Boolean Parameter (red > circle icon) as the pattern input. It is literally then all or nothing > of whatever you pop into the Cull. If you need to have separate > streams that then process on after the switch then use multiple culls > and one switch linked to them all > > Jonathon > > On Mar 4, 11:09 am, PJ <[email protected]> wrote: > > > I do this a lot using a simple scripting component to intentionally > > 'break' chunks of the model. You just need a VB or C# component with > > the stream that you want to control and a boolean (or slider) as an > > input. Then just code in an if statement which checks if the boolean > > is true and if so outputs your stream. (Otherwise the output stream > > will be empty and anything that needs it as an input won't work). > > > Paul > > > On Mar 4, 3:05 am, JaH <[email protected]> wrote: > > > > Hello all, > > > > Does anyone have idea how could I make kind of switch which would stop > > > or run certain part of the script. > > > My thing got really big and I am also doing few things in a different > > > way , just to see the results, so i am afraid that it will become too > > > heavy. I am keeping thing in Preview OFF but I believe that GH is > > > still doing the calculations behind... > > > Or the solution is good old manual dis/connecting? > > > > Thx > > > J- Hide quoted text - > > > - Show quoted text -
