yes this can be useful its something i have implemented myself a couple of times by a non VB method
Jonathon On Apr 16, 5:26 pm, Marc Syp <[email protected]> wrote: > Hi Guys... > > First of all, thanks for all the great work and generous spirit in > this group. I figured that since I have gained much by following > these topics I would finally contribute something that might be > helpful. I was desperate to solve my boolean problem so I dug into > the GH Primer (2nd edition) and starting learning VBScript. > > You can find my component here: > > http://grasshopper3d.googlegroups.com/web/BooleanGenerator.ghx?hl=en&... > > Inputs: > > "length" specifies the length of the Boolean list. By default all > values are "True" > "index" specifies the index positions to substitute a "False" value. > This can be supplied as a flattened list or a list with paths. > > Anyway, this is child's play to you veterans out there, but for VB > beginners, perhaps this will be handy. I developed this specifically > to use with the Cull by Repeating Bit Mask component, because there is > no "Cull N" component. I've always been frustrated with Cull Nth > because it doesn't allow you to eliminate the Nth component only once, > not EVERY Nth component. With this VB component, you can just give a > list of index positions to eliminate from your list. Then hook up the > component to your original geometry or data and you have a way of > selectively deleting based on other operations in your script. > > Hope it's helpful. > > Marc
