View Full Version : Button on Palette
Do you know how to put some buttons on a palette?
Like the PowerOf2 script from Aurick (without source, of course), who put some button within Texture palette.
Thanks in advance.
cameyo
marcus_civis
05-24-05, 05:50 AM
Hello cameyo? Is it you? Good to see you here! I hope you have returned! :)
You use the ISubpalette command, just like you would for a plugin. You can even place a button over an existing one this way, as TVeyes does in one of his TinyToolz.
[ISubPalette,Texture:cameyo]
[IButton,Texture:cameyo:abutton,"What this button does",
//commands...
]
[Edit: you place the zsc file in the StartUp\ZPlugs folder.
Hi Cameyo,
Take a look at this thread. ZScripting new controls into ZBrush interface? (http://www.zbrushcentral.com/zbc/showthread.php?t=25171)
Just use the IsubPalette command to create a subpalette within an existing zbrush palette.
Thanks my friends!!!
I'm very happy...:D to hear you.
I make a wrong question...
I wish to known how to put a button not on a palette, but within a popup, like the CropAndFill button within the Texture popup
Thanks again to MarcusCivis and TVeyes
cameyo
marcus_civis
05-24-05, 08:48 AM
Ah, I don't know how to do that, or even if it is possible. :( TVeyes?...
I don't think it is currently possible. I am not sure but the IDialog command might have been intended for such a thing, unforunately it is not functional in Zbrush 2.
Does the Power of 2 zplugin insert buttons anywhere else but the texture palette? I could not find any.
I'm sorry, the plugin of Aurick do not insert any button in popup, it's a my error...as always :D
Thanks.
cameyo
Yes, PowerOf2 only inserts those six buttons into the Texture palette itself. I don't believe that it is possible to insert buttons into the thumbnail popups.
Frenchy Pilou
05-25-05, 03:26 AM
Pilou :)
Powered by vBulletin® Version 4.1.11 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.