How to get two side by side windows in the viewport

Hi, I want to have my viewport setup into two different windows side by side, one for a perspective view and the other for a orthographic view. I know you can spilt a view vertically but then you have to drag and reshape the layout every time you want to do that. Is there an easy way to do this.

Hi Tommy -

You can start with a new file from your preferred template, and, once you have set up the two viewports as you want, you can save that - otherwise empty - file (as a template).
In other files that you need this viewport layout, you can then use the ReadViewportsFromFile command to get that set-up from that template file.
-wim

1 Like

Would it be possible through a script or a macro to open that template file?

Hi Tommy -

Yes. For the macro version of most commands, put a dash in front of the command name.
-ReadViewportsFromFile accepts the path to a file.
-wim

1 Like

Thank you for your help.