Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

C# 2019 inquiring about "Parameter Exists" of ParameterFilterRuleFactory.

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
klkl12234
235 Views, 4 Replies

C# 2019 inquiring about "Parameter Exists" of ParameterFilterRuleFactory.

Hello, I am inquiring about "Parameter Exists" of ParameterFilterRuleFactory.

All filters applicable within "public class ParameterFilterRuleFactory" have been found.

 

FilterRule filterRule = ParameterFilterRuleFactory.CreateEqualsRule(paramId, f.ParameterValue, true);

FilterRule filterRule = ParameterFilterRuleFactory.CreateNotEqualsRule(paramId, f.ParameterValue, true);

FilterRule filterRule = ParameterFilterRuleFactory.CreateGreaterRule(paramId, f.ParameterValue, true);

...

"Parameter exists", Except for one thing.

Is there a way?

 

Thank you for your time.

4 REPLIES 4
Message 2 of 5

Hi @klkl12234,

 

I am unable to clearly get your question and would request for more information. 

  Moturi George,     Developer Advocacy and Support,  ADN Open
Message 3 of 5

Press the vv.

 

I want to add data as add-in in the "Filters" tab of "visibility/graphics override for 3D View : Navisworks Out View"

Edit/New..

 

Press the "Edit/New.." button to add 

"equals",

"does not equals",

 "is greater than"

"is greater than or equal to",

"is less than", 

"is less than or equal to",

etc...

from Filter Rules

 

The sources for this are as follows.

ParameterFilterRuleFactory.CreateEqualsRule(paramId, f.ParameterValue, true);

ParameterFilterRuleFactory.CreateNotEqualsRule(paramId, f.ParameterValue, true);

ParameterFilterRuleFactory.CreateGreaterRule(paramId, f.ParameterValue, true);

etc...

 

It's all there, but there's no "parameter exists".캡처.PNG

Message 4 of 5

@klkl12234,

 

I now get your question.

Unfortunately, the filter rule you are looking for is not supported yet in Revit based on the documentation given and also on the Revit UI Filters 

 

https://www.revitapidocs.com/2019/f17be87a-a682-5fcc-8ebc-1449952461ff.htm

 

Well, it won't hurt to submit this as a wish to the Revit Idea Station.


Whenever you require new or enhanced Revit product or Revit API functionality, the Revit Idea Station is the place to go.

 

Please search there for a corresponding wish list entry for the suggested functionality and add your comments to it, or create a new one, if none already exists:


https://forums.autodesk.com/t5/revit-ideas/idb-p/302

  Moturi George,     Developer Advocacy and Support,  ADN Open
Message 5 of 5

Thank you for your reply.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Rail Community