- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Everyone,
I try to solve a problem since a moment, but I did not find the solution yet.
I use REVIT 2019.
In this version I use "SetRules" Method in a macro which has to create Parameter filters.
This Method works today in REVIT 2019.
But When compiling the code, I have a warning message. It warns me against the Method "SetRules" which is deprecated and will not be available anymore in the next version of REVIT.
It suggests me to use the method "SetElementFilter" instead of "SetRules".
But I Don't find any example of this new Method.
Moreover these two methods Don't have the same entry argument.
Setrules has a list of Filterrule as entry argument
SetElementFilter would have ElementFilter as entry argument
Could someone help me concerning this problem? Can we have a example that works?
On Autodesk
Thank you Very much
LD
Solved! Go to Solution.
