Changing Category selection via Scripting

3.90K viewsScripting
0

Hello,
Need some help with scripting, any help will be greatly appreciated.

The issue is when a user changes a selection on the category to view data in one matrix, when the user goes to another table he has to change the category selection again to view data for that matrix.

We have a model that uses the same category tiles across multiple matrix tables. What I would like to do is create a canvas where we can use that same category and somehow have it change all other tables in the model to that very same selection via scripting. Is there any groovy language/scripting code already available to use?

0

Hi ag5360,

I was doing some modelling and actually found some built in Quantrix functionality which eliminates the need for scripting.

In the toolbar go to View>Synchronize Views. This ensures that any canvases, charts and matrices which share a category in the filter tray are all set to the same.

Using this is probably better than using a script as if a category name were to change, all of the scripts using it would become invalidated! Introducing a lot more re-work!

Regards,

James

0

Just, WOW!

I was headed in a much more complicated direction. This works beautifully!

Thank you very much!!!

0

Hi,

Is this similar to what you were looking for? Let me know if this solves your problem..

Regards,
James