Creating Filter Rules - List Manipulation

Of course, see my full script below:

The premise is that it reads any element of “category:Part” in the model (our company uses Parts to make pour drawings for concrete), reads the value of the shared parameter Pour ID that we made, filters it by unique ID, removed the empty ones, and creates a filter where you apply it, turn off the visibility, and all parts that don’t have the requisite Pour ID are hidden.

For example, if you want to only see Base Slab 101 (BS-101), you make a filter called Not BS-101 (where the Pour ID does not contain BS-101) and turn visibility off. My script makes one filter for each unique Pour ID.

Hope this helps!

1 Like