Hi PSTCHOART,
Here’s a version that will save/load a file with the views data. Note that I have also made a change to the SetTransform routine to correct a problem you can get when loading a views file. (Sometimes loading a view can flip the model upside down but the code change should stop it happening.)
HTH,