Store & Restore Views

2 votes
Version: 
1.5
Date Updated: 
07/29/2022
Author Name: 
Branko Živković

srv
Simple tool for storing and restoring different viewports.

Additional Info: 

This tool supports different viewports: orthographic and non-orthographic
Top, Bottom, Front, Back, Left, Right, Orthographic, Perspective, Camera and Light
All data are saved with the *.max file (no external files), so it's very important to save
max scene after you finish adding or deleting viewport presets.

How it works: the process is self-explanatory and there is some tooltips on the buttons.
To restore any view, just use double-click on the list item.

update 1.1 (request for fix by titane357)
- fixed some minor bugs (restoring views after you reopen maxfile)
- now script save last Rollout position on the screen
update 1.2 (request for fix by Juliano Salazar Rocha)
- changed some code: before MAX 2022.1 there was no support to converting string value to point2 value
update 1.3 - code optimizations
update 1.4
- fixed bug reported by rachka
update 1.5 (request for fix by rachka)
- now the list is sorted in ascending order

Version Requirement: 
2017.1 +
AttachmentSize
bga_store_restore_views_v1.5.ms7.34 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
barigazy's picture

...

Thanks @titane357 for checking this out.
The tool is updated to version 1.1.
Now everything should work properly.

bga

barigazy's picture

...

One of the main purposes of this tool, at least for me, is for keeping (saving) specific positions during modeling of large architectural scenes.
In this way, endless zooming and scrolling is avoided.
Modeling in camera view is very annoying and adding additional cameras (to store specific position) in the scene which already has a tone of cameras for final render, IMO it's not so smart move.

;)

bga

titane357's picture

Hi, Sorry but I tested the

Hi,
Sorry but I tested the script in max2022, french win 10.
I create some views ( I verified it works ) I save the file.
Close it. Then re-open, script window is empty... :-(
( another one : position window is always centered )

JokerMartini's picture

Why not just create a camera

Why not just create a camera if you want the view to be saved? It's the same thing and saves with the file

John Martini
Digital Artist
http://www.JokerMartini.com (new site)

barigazy's picture

...

That's not the problem, but what would be the purpose of that file?
All view data are stored in custom attribute which is connected to 0 layer.
Every time when you open the file, the view data will be there.

bga

titane357's picture

Thanks. But it would be great

Thanks. But it would be great if it save view in file.

trick's picture

Simple...

....but oh so neat :)

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.