Documente Academic
Documente Profesional
Documente Cultură
Revit
Thank you all very much! That was exactly it. I appreciate the help, this forum really is a great
resource!
cnealy can you post your results. I’ve been fighting with the exact same thing for a week and found
this post today. I’ve tired all the different post suggestions with lacing giving me the same results
either way. I’m also having a problem that the value is never stored in the filter.
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.
image.png2008x574 82.9 KB
image.png844x601 68.4 KB
image.png845x601 71 KB
Oct '17
Finally got it sorted out. Lacing was killing me but it was all in the part where you added the "Not " to
the name that helped keep the list down to the number of items in the list. I used “” and it worked just
fine.
Thanks everyone on this one. Now to move on to applying the filters & create different colors for
each one.
Create Filters From Workset Names Picking Worksets & Categories.png3602x1154 323
KB
Check out the OverrideGraphicSettings.ByProperties node in the Revit OOTB dropdown (Revit-
>Filter->OverrideGraphicSettings). I did something similar with a script I wrote. Combine this
with View.SetFilterOverrides and by playing with some of those inputs, you should get to where
you need to be.
Oct '17
When you worked on your script did you set it up to batch process the filters you created? I was
messing around today with the both of those and was just now figuring out how I can send lists to
the View.SetFilterOverrides node. When we start a project we can over 100 electrical panels that
we usually manually create the worksets, then filters for. I was working it up to read those panel
names from a spreadsheet and take care of all that manual work for us. The part that I haven’t got
ironed out yet is how to create different colors for each of the filters. This is what I’m playing with
right now.
1
Mar 6
HI @awilliams
do you have any solution if i want to make 2 filter at the same time.
Filter A … rule greater X
Filter B … rule greater Y
(same parameter) …
Thanks
ASK.PNG1112x498 48.9 KB
Suggested Topics
Topic