Saving layouts, how? - both viewports and toolbars


#1

Hello everyone,

I’m running into two problems;

  1. Every now and then my custom made toolbars or shelfed tools disappear without a way to re-load them except manually recreating the toolbars, and dragging all icons in it again, including self made scripts, icon images etc.

  2. Viewport layout. For some parts of the workflow I like to use a default layout like the example here-under, and I would like to be able to load this layout.


So I would like to know;

  • How to save/load my toolbars
  • How to save/load a viewport layout

Set default view port view to left
#2

Found out where to supposedly save & open toolbars, I have not yet tested it but thought I’d share it in advance:


#3

What you want to do is save a blank file with the viewport layout as you want. Store it somewhere known, then in any document, use the command ReadViewportsFromFile and browse to to your viewport “template”. Viewport layouts can also be stored in your templates directly, just save them with your layout as you want.

The toolbar editor can also be found here…

HTH, —Mitch


#4

Thanks Mitch, that will do just fine, I assume I would be able to make a button with a simple script to execute the “ReadViewportsFromFile:Layout-X.3do” as a command with set parameters?


#5

Yep. First, put a “-” dash in front of -ReadViewportsFromFile. That will bypass the dialog. Then you need to put the full file path in there enclosed in quotes. -ReadViewportsFromFile “C:\filepath\Layout-X.3dm”

–Mitch


#6

Thanks a bunch!