Closed l-schmidt closed 7 months ago
@l-schmidt I can't reproduce this based on your screenshot. Could you transfer the problematic filters to an empty model and post that here? Looking at your Dynamo screenshot I see at least one OR rule that had no issue so I'm thinking this is caused by something else, most probably a combination of parameters and selected categories.
@l-schmidt I am going to close this for now. Feel free to re-open with a sample model of your issue.
gah, I missed your comments. this is from a client's project file, so I can't share directly, but I will try to reproduce in another file that I can send you. I do see that there is another OR that is working. very strange... I will do more investigating and get back to you
Okay, I ripped the Filters into an empty file and was able to reproduce. Here is a link to download the .rvt and .dyn file: https://parallaxteam.sharefile.com/public/share/web-sc73a8a32025349079eeddc8aa6f16391
I don't think I can re-open this issue...
Thanks, I'll have a look.
@l-schmidt - This looks good on my end:
Are you sure you're using the latest Clockwork release? I did some work on this node for the last release (2.6.0) and it shouldn't produce a null result for this type of filter.
https://github.com/andydandy74/ClockworkForDynamo/wiki/Version-History#bug-fixes-1
Took me a little while to figure out how to check my version... and you're right. It is 2.4.0. 🤦
Describe the bug I am using the node ParameterFilterElement.FilterRuleString to extract filters and their rules from a Project File. I extracted 113 Filters using this node, and most rules come out fine. A handful return null, which I realized they are all OR Rules.
Steps to Reproduce Used node, and works as expected, except for OR Rules. Some screenshots below, for reference:
Item 3 is an OR Rule. Here it is in Dynamo:
And here it is in the Filter Dialog in Revit:
Expected behavior I expect the rule to output the same as the others in this node.
My setup
Operating System: Windows 10
Revit version: Revit 2024.2
Dynamo version:
Clockwork version: 2.x