Open emyoulation opened 2 months ago
This indeed seems to have to do with the way the rule is written. The rule uses the advanced feature of "creating its own GUI element". This is not supported by FilterParams. Maybe I will try to fix this at some point.
Issues like this are one reason I don't want to encourage people to use FilterParams. It is not thoroughly tested and I am not confident that it is robust enough for general use. And this problem proves that point - as well as the other issues. FilterParams was intended to be just a proof-of-concept.
Actually, I think that FilterParams may a very effective litmus test for whether a rule is consistent with guidelines.
In use, I suspect it is a far better tool than you fear.
Filter Params rendered the filter very strangely.
1) The filter name and check box parameters are indented way to the right of their labels 2) checkboxes are shown as values 3) the color fills are fragmented (2 shades of grey fill and 5 shades of blue fill.)
I created a 2-stage custom filter using Mathias Kemmer's addon rule PersonsInFamilyFilterMatch ( infamilyrule.py ) of the FilterRules addon rule pack.
I think that part of the problem is the way the addon rule is written. It certainly is SLOOOOW. And the source is internally remarks as having some ugly hacks. (I will ask Matt to open a Discourse discussion about optimizing it. This could serve as an example of how to improve rule coding.)