Filter, only 1 family visible

Filter, only 1 family visible

j-davelaar
Enthusiast Enthusiast
3,901 Views
8 Replies
Message 1 of 9

Filter, only 1 family visible

j-davelaar
Enthusiast
Enthusiast

Good day,

 

I couldn't find an answer online, so I come here, seeking for knowledge.

In Revit I want to create a 3D view which shows 1 family.

If this family does not have a value in parameter x, then there is a red surface pattern, if this family does have a value in parameter x, then there is a green surface pattern.

 

Until now I only managed to get this working with a lot of view filters, but I was wondering:

Can I only make 1 family visible with view filters (hide everything, except for family X)?

 

Knipsel.PNG

0 Likes
Accepted solutions (1)
3,902 Views
8 Replies
Replies (8)
Message 2 of 9

RDAOU
Mentor
Mentor

@j-davelaar 

 

Why lots of filters?! Unless there is something in the question which I missed, it is  2 filters using 1x Y/N instance Parameters added to that family category in the project or in the family

 

If X = Yes it is Red Surface pattern is overriden to Solid  red

If X = No Surface pattern is overriden to Solid  Green

 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 3 of 9

j-davelaar
Enthusiast
Enthusiast

The family I want to isolatie is a Generic Model.

 

View template

Model Categories:

Generic Model

 

Filter:

Hide families starting with Detail/Invisible

Hide families starting with Boringen

Make families with parameter X filled in green

Make families with parameter X not filled in red

 

--------------------

 

Yet I still have some families in my view that I dont want to see.

 

jdavelaar_0-1628151529962.png

 

0 Likes
Message 4 of 9

j-davelaar
Enthusiast
Enthusiast

The families which are still visible, but which I don't want visible are also Generic Model and do have the parameter, but the draftsman doesn't need to fill them in at those families.

Only at the big cage family.

0 Likes
Message 5 of 9

RDAOU
Mentor
Mentor
Accepted solution

What type of parameter is X?

In one filter you use more than one condition...example: name starts with abc AND X =1

 

Can yiu share an image of your filters dialogue?

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


0 Likes
Message 6 of 9

j-davelaar
Enthusiast
Enthusiast

Parameter X = text parameter

Parameter X is also a project parameter for a lot of categories

 

jdavelaar_0-1628152255949.png

 

jdavelaar_1-1628152273908.png

 

jdavelaar_2-1628152287462.png

 

 

 

0 Likes
Message 7 of 9

j-davelaar
Enthusiast
Enthusiast

Would it be a solution to just add rules to that first filter until every unwanted object is filtered out?

0 Likes
Message 8 of 9

RDAOU
Mentor
Mentor

Basically yes...but you have to rethink the logic of the filtering. What is filtered out and what is left in there for the next condition to work on..and use Add Set Add Rule to combine

 

And if one parameter is not suitable use another... example: put all those families you want to work with on a workset or a user defined parameter common to all theose families and you would save yourself the two or 3 OR name conditions and simply use Workset as a filter parameter...att to it the other parameter from the third image and your filter is done using 2 conditions... 

 

 

YOUTUBE | BIM | COMPUTATIONAL DESIGN | PARAMETRIC DESIGN | GENERATIVE DESIGN | VISUAL PROGRAMMING
If you find this reply helpful kindly hit the LIKE BUTTON and if applicable please ACCEPT AS SOLUTION


Message 9 of 9

ToanDN
Consultant
Consultant
You only need two filters: equal X and not equal X.
0 Likes