I'd like to select any items whose property is KA-01-A, KA-01-B, KA-01-C, ..., KA-01-H (between A and H at the end). I could easily match this with regex /^KA-01-[A-H]$/, but I don't see an obvious way to do this in Revit. I can't do it one by one because I can't fit that many filter rules to do it with a bunch of ORs. Is there a way to do this?
Hi @SometimesInventorMakesMeAngry,
You mean ViewFilter Rules?
Why would OR operaters not work in them, 8 rules (to H) are possible. (What Revit version btw?)
Or depending on the parameter intended use, use a secundary field as a integer/or number.
And use A=1, B=2 etc, now the filters can be reduced and easier set.
First Rule would be: Starts With "KA-01-"
Second Rule wound be: Less than 9
Filling in the 1, 2, 3 etc efford would depend on the elements/parameter, does a single element have "KA-01-A" or many, in the last case a schedule grouped by that parameter would easy to fill in the integers/numbers.
You can create a schedule, add 2 filters to the schedule:
- include KA-01-
- less or equal to KA-01-H
Then your schedule will only show element from KA-01-A to KA-01-H and you can highlight rows in the schedule to select the elements in the model.
Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.