Page 1 of 1

How to batch-shift show-levels?

Posted: Thu Dec 19, 2024 11:42 am
by kleemax
When working with the show levels it often happens that I need to insert another hide level, e.g. I have things in hide level 16, but I need another level between 16 and all. What do I dot then? I shift all things in level 16 to 15 and before that all things in level 15 to 14 and before that all things in level 14 to 13 etc. That is cumbersome and work-intensive also because I first need to find all things in a certain level, mark them all, assign new level check if I have missed something etc.
What I would like to do is tell vensim to shift everything in levels 10 to 16 one level down (-1).
Is there a way to do this? if not, consider this a feature request.
Moreover even if there is no way to do this in the software, could you conceive a way to do this by search and replace in the mdl text file? I am asking because I do not know how the show levels are coded...

Re: How to batch-shift show-levels?

Posted: Thu Dec 19, 2024 11:48 am
by Administrator
I'll have to raise this as a feature request.

It's straightforward to move selected items to a different hide level, but that's not what you want. Essentially you want to shuffle everything down/up.

There is no straightforward way to do this at present.

We could implement a "sketch layer" manager, and allow the user to insert/delete/move the various layers. That would do what you need I think. I'll ticket it.

Re: How to batch-shift show-levels?

Posted: Thu Jan 16, 2025 11:44 am
by kleemax
That's exactly what I would need. Thanks for considering to implement it.