How to batch-shift show-levels?

Use this forum to post Vensim related questions.
Post Reply
kleemax
Senior Member
Posts: 150
Joined: Tue Jan 26, 2016 3:50 pm
Vensim version: PRO

How to batch-shift show-levels?

Post 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...
Administrator
Super Administrator
Posts: 4834
Joined: Wed Mar 05, 2003 3:10 am

Re: How to batch-shift show-levels?

Post 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.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391

Units are important!
http://www.bbc.co.uk/news/magazine-27509559
kleemax
Senior Member
Posts: 150
Joined: Tue Jan 26, 2016 3:50 pm
Vensim version: PRO

Re: How to batch-shift show-levels?

Post by kleemax »

That's exactly what I would need. Thanks for considering to implement it.
Post Reply