PDA

View Full Version : Texture Editor Commands In A Toolbar


Kel Solaar
01-03-2007, 10:32 PM
Hello !

I wanted to know if there is a way to put "Texture Editor" Commands in a toolbar? For example i want to put the heal command but i dont find it in the command list from the "Customise Toolbar" window and its the same for "Explorer" commands and a lot of others window. Anyone having an idea?

Thomas

dwigfor
01-03-2007, 11:04 PM
Dunno, but why don't you use the keyboard shortcut? Super fast - ctrl-shift-+ (plus on numpad)

Kel Solaar
01-04-2007, 07:45 AM
Yeah of course there are the shortcuts but sometimes its easier to put a button than making a tricky combination of key (especially on a laptop without keypad=) ). No matter, i found a way to do it. For example when i hit the relax command in the menu, Xsi is launching :

Application.RelaxUVW("sphere.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection", "sphere.sample[13-24,43-54,73-84,103-114,133-144,163-174,193-204,223-234]")


So the method is "RelaxUVW"

Now that i have it, i just have to put in my custom toolbar (C:\Users\Kel Solaar\Softimage\XSI_6.0\Application\toolbars\KSToolbar.xsitb) a line like this :

<item type="command" name="RelaxUVW" ></item>

And Voila :)

Thomas

CGTalk Moderation
01-04-2007, 07:45 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.