Activate and Deactivate a Hole under condition

I am a new user of NX Journaling forum.

Is there a posibility to activate a hole when a user's variable is "true" and deactivate the same hole when the variable is "false".

I tried to do that with an expression but I don't find the solution. Should I use another solution ? Perhaps with journal or programming ?

Thank you for helping me.

P. Serré

It sounds like you want "suppression by expression"; this will suppress/unsuppress a feature based on the value of an expression.

https://docs.plm.automation.siemens.com/tdoc/nx/12/nx_help/#uid:edit_fea...

This is exactly what I was looking for. It works perfectly.
Thank you so much