PDA

View Full Version : Creating a new menu for my plugins



cgvinny
01-14-10, 01:23 PM
Hey guys !
I am just starting zscripting and I have a question :

I want to create a new menu where all my zscript would be at the launch of Zbrush.

I found the way to create the subpalette, but is it possible to create menus which would be loaded at startup ?

Sorry if it has been already posted, but i didn't find it... :rolleyes:

Thx !

cgvinny
01-18-10, 08:09 AM
Hey !

I think I should reformulate my question : is it possible to create a new menu/palette with Zscript ?

thx guys !

TVeyes
01-18-10, 08:46 AM
Hi

It was possible in zbrush 2 but that functionality was removed or at least I cannot make it work anymore. Probably a good idea as it could create confusion with people new to ZBrush.

You can still create a subpalette within an existing palette.

cgvinny
01-18-10, 09:54 AM
ok that's what i would do

Thx for your time !

I would be a nice idea to implement back this option cause in some case it could be helpful :-)

TVeyes
01-18-10, 10:51 AM
I just remembered Preferences > Custom UI > Create New Menu which you could use to create a new palette where you can put your zplugin interface items.

This will however only work for your configuration and the Create New Menu button is not scriptable.

Maybe that will work for you?

cgvinny
01-19-10, 09:18 AM
For me yes, but i want to find a way to install on different PCs, so it would have been cool to script it.

marcus_civis
01-19-10, 11:28 AM
Apart from scripting the palette creation there is also the problem of modifying users own custom UIs. I did get close to a method at one point with 3.1 - but not close enough. ;)

The alternative is to create a whole UI that users can load, in the manner of PaintStop. If your idea doesn't warrant that complexity you'll probably find it easiest to stick with creating a plugin menu.

HTH,

cgvinny
01-19-10, 12:58 PM
yes so far I guess the subpalette would do the job ;-)
Thx Marcus !

sideshowsito
01-20-12, 01:53 AM
Whenever I go into PREFERENCES/ CUSTOM UI/ ... i cant seem to select NEW CUSTOM MENU ( its greyed out ) ... why is this ?

Is this some separate script ?


** UPDATE ** ... I just discovered out why its not enabled. UNDER PREFERENCE / CONFIG ... click on enable custom otherwise youll end up like me and not be able to click on NEW CUSTOM MENU !

thanks works wonderful !