Filtering a Category via Scripting

231 viewsScripting
0

Hello,

Has anyone had any luck with filtering a category in the tray with items that are in groups?

For example, I’m trying to filter the GRP category in the picture below to select Group 1 so that my filter items are only showing Sub1, Sub2, and Sub3.

Any help is greatly appreciated.

Thanks, Andy

Montecristo Unselected an answer May 10, 2024

P.S.: Are you aware of the Idea portal, where you can post enhancement requests?
https://quantrix.com/answers/questions/categories/idea-portal/

0

Hi Montecristo, I am not sure if you need script for that. I assume you would like to be able to choose which group to filter. To achieve group filtering you can use expression in cell filtering and constrain input to select which group to filter.

Expression in E1 cell filter: @level(F;1) = Matrix5::

Expression in Constrain input in Select group: @level(Matrix3::F;1)

Tahir

Gilbert Posted new comment May 11, 2024

Tahir,
Again, cool demonstration of what cell filters can do.

I assume that Andy WANTS to use script, to force a certain look on the matrix.
But also your solutions is able to be scripted: just set the value of the Selection Cell on the right by script – and all done.
If you use collapse or cell filter has probably a very similar result.
@Andy: Hope you’re happy with one of these two solutions. Could you please report back what you did choose and why?
Gilbert

You are viewing 1 out of 2 answers, click here to view all answers.