How to use the <filter> XML tag in ACT Extension?

albertovisentin
albertovisentin Member Posts: 3 **

Hi! How can i implement a visibility filter using the <filter> XML tag under the <interface> node of an XML extension file (see image below)?
I would like to be able to filter some default Mechanical buttons for a custom ACT solver I'm developing.
I managed to find some some 'ButtonVisibility.xml' examples from other Ansys default Add-ons (Motion, nCode DesignLife) but I didn't manage to find references on how to actually implement and activate the filters as soon as I add my custom solver.

Is there a Python line of code that allows to generate a callback to the <filter> tag?

Thank you in advance for your time and help!