Q) work area end expression or script
Hi. There's a lot of searching in the community.
I'm trying to solve the problem below using a script.
I want to put the indicator in a specific layer and finish the work area end.

For example, as shown in the attached photo,
When there's a layer of '01~06', I want to set the working area only to the activated '01~04' layer.

What method and script should I write to solve my problem?
