Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

Filter Selection Criteria "Empty" or "NonEmpty"?

9 ANTWORTEN 9
GELÖST
Antworten
Nachricht 1 von 10
DavidThirlwell
9069 Aufrufe, 9 Antworten

Filter Selection Criteria "Empty" or "NonEmpty"?

Is there any way to Filter in Revit (e.g. Schedule Filter or View Filter) based upon Empty or Non Empty parameter fields? This is critical for non-numeric parameters.

 

Perhaps there's a special operator that works since * and ? don't...  

 

Without an Empty/NonEmpty criteria, all other Criteria Arguements require at least one character to filter on, but it just makes sense that someone would want to filter either all elements that have or don't have empty parameters.

 

For Example: I have a custom PSI parameter for all structural concrete elements and I want to be able to turn off all elements that have a value entered. Since this is a Number parameter, I am able to setup Filters based-upon >, <, = criteria to show hide what I need (e.g. PSI Is Greater Than 1).  But, I also use Comment parameters (i.e. Text parameters) that are structured and I have not found a way to Filter based-upon whether those parameter fields are empty or not.

 

All comments/suggestions are welcome!  I've attached images of the available Criteria for Numerical fields and Text fields.

 

 

 

 

If you find someone's post helpful, give it Kudos. If it answers your question, mark it as an answer.
9 ANTWORTEN 9
Nachricht 2 von 10
L.Maas
als Antwort auf: DavidThirlwell

Often what will work is to say greater than and leave the value blank

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Nachricht 3 von 10
DavidThirlwell
als Antwort auf: DavidThirlwell

Thanks! It turned-out I needed the less than with blank value, but either one works. Thank you Enllnt!
If you find someone's post helpful, give it Kudos. If it answers your question, mark it as an answer.
Nachricht 4 von 10
c.barribaud
als Antwort auf: DavidThirlwell

With revit 2019, I can't leave the label ampty

 

Capture.PNG

 

Do you have an idea ?

Nachricht 5 von 10
ennujozlagam
als Antwort auf: c.barribaud

yes you can just leave the filter by: set to none. thanks

 

none.JPG





Remember : without the difficult times in your LIFE, you wouldn't be who you are today. Be grateful for the good and the bad. ANGER doesn't solve anything. It builds nothing, but it can destroy everything...
Please mark this response as "Accept as Solution" if it answers your question. Kudos gladly accepted.
Nachricht 6 von 10
c.barribaud
als Antwort auf: ennujozlagam

Hello,

 

I want to filter by Assembly Mass with blank value (by defaut in REVIT) so I can use none.

Nachricht 7 von 10
ennujozlagam
als Antwort auf: c.barribaud

my understanding you want to leave it empty? if yes set to none. thanks





Remember : without the difficult times in your LIFE, you wouldn't be who you are today. Be grateful for the good and the bad. ANGER doesn't solve anything. It builds nothing, but it can destroy everything...
Please mark this response as "Accept as Solution" if it answers your question. Kudos gladly accepted.
Nachricht 8 von 10
c.barribaud
als Antwort auf: ennujozlagam

By defaut REVIT don't add a value in parameter and I want to filtre parameter "Assembly Mass" where ther is no value.

 

If I put equal to 0, it doesn't work. How to do ?

Nachricht 9 von 10
Anonymous
als Antwort auf: c.barribaud

It works for me here. I can leave the value empty and it works for finding empties.

 

Empty.jpg

Nachricht 10 von 10
paul.t.macknight
als Antwort auf: c.barribaud

I know this is a little past due, but this is an issue with the way Revit handles comparing numeric values (e.g. mass, volume, area, etc.), which I can't really blame them for. How do you compare 0 and an empty string ""? What do you set "" to? Null? 0? How do you know you're capturing the intent of the user?

 

You could use the same argument for when these parameters are, somehow, blank (e.g. when a room is "not placed"), except they know that these values are, essentially, 0, and that a user will want to filter based on whether these odd values exist, so they will have the value of either 0 or -1. If one of these parameter values is truly blank, then there is likely something else wrong, either with the file or the family, as Revit does not like leaving numeric values as truly blank.

 

So, these parameters require a value, but you should get the desired results by setting in the filters:

"<parameter name>"  "<is less than/is less than or equal to>"  "0". This works 

 

If that is not the case, then there is likely something else wrong. If you still want help, let me know what family you're using (as I don't recall off the top of my head what contains an "assembly mass" parameter), and I can see what needs to be done.

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report