# Customize viewport layout

**URL:** <https://discourse.mcneel.com/t/customize-viewport-layout/82523>\
**Category:** Rhino for Windows\
**Created:** [April 28, 2019, 5:48pm UTC](https://discourse.mcneel.com/t/customize-viewport-layout/82523 "2019-04-28T17:48:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![CCBB](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ccbb/32/657590_2.png) [@CCBB](https://discourse.mcneel.com/u/CCBB)\
**Post date:** [April 28, 2019, 5:48pm UTC](https://discourse.mcneel.com/t/customize-viewport-layout/82523/1 "2019-04-28T17:48:37Z")

</div>

I like to set up viewports in 3-view and 4-view a certain way. Is there a way to save my 3- and 4-view layout that I like so my models open or could be quickly set to it\> I see the 4-view icon has a 4-view (left click) and 4-view default option (right click). How do I custom set my 4-view?

I have looked around for help but to no avail  
Thanks!

---

<div class="post-metadata">

**Author:** ![Helvetosaur](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/helvetosaur/32/635974_2.png) [@Helvetosaur](https://discourse.mcneel.com/u/Helvetosaur)\
**Post date:** [April 28, 2019, 5:54pm UTC](https://discourse.mcneel.com/t/customize-viewport-layout/82523/2 "2019-04-28T17:54:48Z")

</div>

You can set up a sort of template file with the viewports set as you like, then save it somewhere. Then use \_ReadViewportsFromFile and browse to your file. You could also create a macro  
`! _-ReadViewportsFromFile “full path to file”` and put it in your startup commands…

---

<div class="post-metadata">

**Author:** ![CCBB](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ccbb/32/657590_2.png) [@CCBB](https://discourse.mcneel.com/u/CCBB)\
**Post date:** [April 28, 2019, 9:03pm UTC](https://discourse.mcneel.com/t/customize-viewport-layout/82523/3 "2019-04-28T21:03:36Z")

</div>

Thank you!

Ideally, I can set my own 4-view layout preferences. It always goes back to the default layouts.

---

<div class="post-metadata">

**Author:** ![pascal](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/pascal/32/479395_2.png) [@pascal](https://discourse.mcneel.com/u/pascal)\
**Post date:** [April 28, 2019, 9:05pm UTC](https://discourse.mcneel.com/t/customize-viewport-layout/82523/4 "2019-04-28T21:05:28Z")

</div>

Hi Clint - I think just use that macro that Mitch pointed out - make a alias with that on it - it should reset the views like `4View` would.

-Pascal

---

<div class="post-metadata">

**Author:** ![CCBB](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/ccbb/32/657590_2.png) [@CCBB](https://discourse.mcneel.com/u/CCBB)\
**Post date:** [April 29, 2019, 1:08pm UTC](https://discourse.mcneel.com/t/customize-viewport-layout/82523/5 "2019-04-29T13:08:43Z")

</div>

Ok, I put it into my F12 key

I put in  
!\_-ReadViewPortsFromFile “C:\Users\Clint\My Drive\CAD goodies\Template\_DimsLinetypes”

It says "Unable to open file \<C:\Users\Clint\My Drive\CAD goodies\Template\_DimsLinetypes\>

---

<div class="post-metadata">

**Author:** ![wim](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/wim/32/747482_2.png) [@wim](https://discourse.mcneel.com/u/wim)\
**Post date:** [April 29, 2019, 1:14pm UTC](https://discourse.mcneel.com/t/customize-viewport-layout/82523/6 "2019-04-29T13:14:12Z")

</div>

Hi - that’s a classic case of “curly quotes”. Make sure that you use straight quotes only.  
I’ll add that case to an open issue - [RH-51712](https://mcneel.myjetbrains.com/youtrack/issue/RH-51712)  
Thanks,  
wim
