ZBrushCentral

I want to turn the topmenu into a psdButton and make it a plugin

2020-09-16 07_17_59-ZBrush

What I want to do is Button in psd, but there is a part I don’t understand in relation to it.

For example…

[IButton,“test”,“testdrow_s”,

[IPress,Transform:Draw Pointer]

,50, “test.psd”, 30]

If you use ipress on ibutton, you can make a PSDButton that naturally uses transitionform:draw.

If you set it to Transform:, it will be disabled.
So the top level menu can’t be a psdButton?

[ButtonPress, “transform:”, transform]2020-09-16 07_46_52-ZBrush

But you can create txtButton in case of ButtonPress of top level.

It seems to me that this is a solution to the problem.

Another problem is that ButtonPress can’t seem to make it into a Button if it’s a plugin.

But if you put it into ibutton, you will get an error.

Is there any way to fix this problem?

From ZScriptCommandsList2021.1.1.txt
[IButton,Button Text,Popup info Text,Commands group to execute when button is pressed,Initially Disabled? (0=Enabled(ByDefault) NonZero=Disabled),Button width in pixels (0=AutoWidth NonZero=Specified width),Optional hotkey,Optional button icon (.psd .bmp ),Button height in pixels (0=AutoHeight NonZero=Specified height)]
Creates an interactive push button