Re: [scripting] call up a custom toolbar

Date : Wed, 06 Jul 2005 17:19:24 +0200
To : XSI(at)Softimage.COM
From : André Adam <a_adam(at)49games.de>
Subject : Re: [scripting] call up a custom toolbar
Nope, it actually calls an existing shelf. I still think it actually is what you're looking for. You have to replace "MyShelf" with whatever your shelf is called, though. Sorry for not mentioning it in the first place. Does that do the trick?

Cheers!

   -André


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


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.