Re: [scripting] call up a custom toolbar

Date : Wed, 06 Jul 2005 17:43:34 +0200
To : XSI(at)Softimage.COM
From : Arvid Björn <arvid.bjorn(at)palladiumfilm.com>
Subject : Re: [scripting] call up a custom toolbar
By the looks of it, it creates a generic "view" (or object), and loads your toolbar into it, then assigns (returns) the handle to 'oShelf'. Perhaps you could look up the syntax of CreateView to see what parameters it accepts?

Stefan Andersson wrote:

nope that didn't work. Also, doesn't the first line actually create a new shelf?

anyone else?

regards
stefan


On 7/6/05, André Adam <a_adam(at)49games.de> wrote:


Something like this?

var oShelf = Application.Desktop.ActiveLayout.CreateView("MyShelf",
"MyShelf");
oShelf.Move(120, 33);
oShelf.Resize(333, 130);

Asked the same question a few months ago; documentation on this topic is
pretty bad...

Cheers!

   -André

Stefan Andersson wrote:



Hi all,

I can't seem to find a command for opening a custom toolbar... I've
created a custom toolbar which I would like to open up through a menu
that I made. But I can't seem to find it in the SDK docs...

Or does anyone else has a nifty little trick how to get floating menu/toolbars?

regards
stefan andersson




---
Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body:
unsubscribe xsi








-- Vfx Artist | palladiumfilm


--- Unsubscribe? Mail Majordomo(at)Softimage.COM with the following text in body: unsubscribe xsi


Search the XSI List archives here or use the advanced search form to search across mailing lists. Searching help is available.
This site supposedly brought to you by Benjamin Grosser and the Imaging Technology Group.