# How to load a custom layout at startup?

**URL:** https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322
**Category:** Xsi
**Tags:** general
**Created:** [February 26, 2002, 10:16pm UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322 "2002-02-26T22:16:29Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![freduard](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/f/67e7ee/32.png) [@freduard](https://forum.highend3d.com/u/freduard)
#### Post date: [February 26, 2002, 10:16pm UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/1 "2002-02-26T22:16:29Z")

</div>

Every time I start XSI it will launch the “Softimage XSI Suite” - layout by default. How can I make it launch a custom one?

Fred

---

<div class="post-metadata">

### Author: ![lee0](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/l/5daacb/32.png) [@lee0](https://forum.highend3d.com/u/lee0)
#### Post date: [March 1, 2002, 5:56am UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/2 "2002-03-01T05:56:48Z")

</div>

I’m trying to fix this prob too. ☹  
I also want to set camera settings with one click. On startup.  
can I start a script on startup. to do all these things ??

Help us please.

---

<div class="post-metadata">

### Author: ![character0](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/c/ba8739/32.png) [@character0](https://forum.highend3d.com/u/character0)
#### Post date: [March 1, 2002, 6:29pm UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/3 "2002-03-01T18:29:14Z")

</div>

if you goto Layout\>Edit Layout, you should be able to customize your windows and have certain custom psets or toolbars show upon the start up of XSI. When you’ve made your adjustments just go back to Layout\>Edit LAyout and then Save Layout.

as far as the camera thing goes…I’m no scripting wiz, but it seems if you’d like to make changes just start with a new scene, make the changes to the camera, goto the script editor and save those functions that display in the editor as a script. Or drag them into a toolbar and create a button for the camera settings.

---

<div class="post-metadata">

### Author: ![lee0](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/l/5daacb/32.png) [@lee0](https://forum.highend3d.com/u/lee0)
#### Post date: [March 2, 2002, 12:10am UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/4 "2002-03-02T00:10:12Z")

</div>

I’ve already done those things..  
But I would like to expand on this. Is there a way to start a script as soon as the interface opens. To bring up a popup with a list of formats. Pal 16:9, Pal d1 and things like this ??  
It is a pain to change these settings every time I start XSI. I only use PAL or film reses.

Thanks.

---

<div class="post-metadata">

### Author: ![atyss](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@atyss](https://forum.highend3d.com/u/atyss)
#### Post date: [March 2, 2002, 6:41am UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/5 "2002-03-02T06:41:00Z")

</div>

Bonjour Lee0,

There is this nice little script that you can run and set all your passes (including cameras and render options):

SetValue “Camera.camera.pixelratio”, 1  
SetValue “Passes._.RenderOptions.CameraYRes", 540  
SetValue "Passes._.RenderOptions.CameraXRes”, 720  
SetValue “Passes.\*.RenderOptions.PixelRatio”, 1

This is NTSC format, but you just has to change the parameters, save the file as a .vbs script and run it as soon as you want.

Hope this helps  
Salutations - Cheers  
Bernard Lebel

---

<div class="post-metadata">

### Author: ![lee0](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/l/5daacb/32.png) [@lee0](https://forum.highend3d.com/u/lee0)
#### Post date: [March 2, 2002, 12:50pm UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/6 "2002-03-02T12:50:23Z")

</div>

SetValue “Camera.camera.std”, 10  
SetValue “Passes.Default\_Pass.RenderOptions.PictureStandard”, 10  
SetValue “FramePreviewSettings.UseRegionSettings”, False

This is what I use for now.. IT SUCKS. ☹

---

<div class="post-metadata">

### Author: ![atyss](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/a/848f3c/32.png) [@atyss](https://forum.highend3d.com/u/atyss)
#### Post date: [March 2, 2002, 6:10pm UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/7 "2002-03-02T18:10:21Z")

</div>

If you add a wildcard (after the first word, check in my previous post), it will affect all passes. So I suppose that if you type

SetValue"Camera.\*.camera.std",10

It will affect all cameras in the scene or passes/partition.  
It’s worth trying it (I can’t for now, sorry).

Hope this helps  
Salutations - Cheers  
Bernard Lebel

---

<div class="post-metadata">

### Author: ![freduard](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/f/67e7ee/32.png) [@freduard](https://forum.highend3d.com/u/freduard)
#### Post date: [March 3, 2002, 11:20pm UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/8 "2002-03-03T23:20:10Z")

</div>

Yes, thats what I allready did. The problem is that I have a dual-screen configuration I made a custom layout for. I saved that layout but I have to load it manually everytime by choosing it from the pulldown menu for xsi doesn

---

<div class="post-metadata">

### Author: ![montclaris](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/m/a183cd/32.png) [@montclaris](https://forum.highend3d.com/u/montclaris)
#### Post date: [March 4, 2002, 4:54am UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/9 "2002-03-04T04:54:09Z")

</div>

Odd that the “the cross divider of 3D view quarters” cannot be resized, when I switch from single to dual monitor layouts I just right click on the top bar of any 3d quarter view and the “cross divider” centers and all the windows realign. I don’t have this bug.  
Is it possible your layout gets to XSIs touchy splitter problems? I had a glitchy layout and rebuilt it agian and all was well.

I have similar issue with startup layout. Could you just overwrite the default XSU layout in C:usersyouSoftimageXSI\_2.01DataPreferencesLayoutswhateverdefault ?

Sorry I just installed 2 so not had the time to play yet with Addons and trying an event like OnBeginNewScene, which may be a better fix…

---

<div class="post-metadata">

### Author: ![nohairmonk](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/n/8491ac/32.png) [@nohairmonk](https://forum.highend3d.com/u/nohairmonk)
#### Post date: [March 25, 2002, 9:08pm UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/10 "2002-03-25T21:08:12Z")

</div>

I can’t see any default XSI layout in C:usersyouSoftimageXSI\_2.01DataPreferencesLayouts , do you have more information or possible “hacks” about starting its custom layout at startup?  
Thanks  
gs

---

<div class="post-metadata">

### Author: ![montclaris](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/m/a183cd/32.png) [@montclaris](https://forum.highend3d.com/u/montclaris)
#### Post date: [March 31, 2002, 6:34am UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/11 "2002-03-31T06:34:24Z")

</div>

There should be a folder in there titled according to your usual resolution, go in there to find the presets.  
If you delete them soft keeps its own that you could backup and change in:  
C:SoftimageXSI\_2.0.1DataPreferencesDefaultLayouts’folder named accordign to rez’‘layouts’

---

<div class="post-metadata">

### Author: ![devdoka](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@devdoka](https://forum.highend3d.com/u/devdoka)
#### Post date: [March 31, 2002, 7:19am UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/12 "2002-03-31T07:19:04Z")

</div>

XSI should launch with the layout last used in the previous session (assuming you didn’t crash).

1. Make a new layout and save it.
2. Create a scene
3. save the scene, then exit XSI.
4. Next time you restart XSI your custom layout should be on screen by default (or at least that’s how it works on my system).

Matt

* * *

Matt Lind  
Animator / Technical Director  
Softimage certified instructor:  
Softimage|3D  
Softimage|XSI  
[speye\_21@hotmail.com](mailto:speye_21@hotmail.com)

---

<div class="post-metadata">

### Author: ![devdoka](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@devdoka](https://forum.highend3d.com/u/devdoka)
#### Post date: [March 31, 2002, 7:27am UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/13 "2002-03-31T07:27:41Z")

</div>

@@I’ve already done those things..  
But I would like to expand on this. Is there a way to start a script as soon as the interface opens.

Look in the online scripting docs for “Events”. An event takes place when a certain specific operation is performed in XSI such as load/save scene, select new object, and so on. You can write your own script and attach it to XSI as an event, such as setting the camera or render preferences. When the event is triggered, your script will be called and execute as if you had clicked the button manually. “On changed selection” in your user preferences is an example of an event as every time you perform a selection, the script is called.

For a list of available events and usage, see the online scripting docs.

Matt

* * *

Matt Lind  
Animator / Technical Director  
Softimage certified instructor:  
Softimage|3D  
Softimage|XSI  
[speye\_21@hotmail.com](mailto:speye_21@hotmail.com)

---

<div class="post-metadata">

### Author: ![montclaris](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/m/a183cd/32.png) [@montclaris](https://forum.highend3d.com/u/montclaris)
#### Post date: [March 31, 2002, 6:13pm UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/14 "2002-03-31T18:13:36Z")

</div>

OnBeginNewScene?

---

<div class="post-metadata">

### Author: ![devdoka](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/d/aeb1de/32.png) [@devdoka](https://forum.highend3d.com/u/devdoka)
#### Post date: [March 31, 2002, 8:42pm UTC](https://forum.highend3d.com/t/how-to-load-a-custom-layout-at-startup/62322/15 "2002-03-31T20:42:45Z")

</div>

I don’t have XSI in front of me right now, but that sounds about right.

Matt

* * *

Matt Lind  
Animator / Technical Director  
Softimage certified instructor:  
Softimage|3D  
Softimage|XSI  
[speye\_21@hotmail.com](mailto:speye_21@hotmail.com)
