ZBrushCentral

How to put NoteIButtons to list

Hello,

I would like to create list of multiple NoteIButtons bellow each other.

But I can`t figure how to do that.

NoteIButtons position arguments do nothing for me.

Can you provide example how to accomplish this simple thing please ?

there’s a downloadable example here :
http://docs.pixologic.com/user-guide/customizing-zbrush/zscripting/interfaces/note-interface/

Thanks,
I had download this example on start of course.
It is surprising how much code to achieve such simple thing is needed.

So many integer or empty arguments, which does not work for me.

Can somebody provide simplest example please ?

Something like:

[NoteIButton, “Button 1”, 64 ]
[NoteIButton, “Button 2”, 128 ]
[NoteIButton, “Button 3”, 192 ]
[Note, “Dialog”]

The Zscript syntax is sometime painfull .

Maybe you can create a routine that take only the arguments you need. I done it once with this plugin :

[RoutineDef,generateNoteIbutton,

       [NoteIButton,name,,,,x,y,width,height,bgColor,color,0.7]
,
name,x,y,width,height,bgColor,color]

and call your notecreation like this :

 [RoutineCall,generateNoteIbutton,name,40,yValue,290,20,0xe4bc72,0x101010]

Here’s an example of how i used it, I invoke a note interface by simply calling the routine [RoutineCall,NoteInterfaceConfig,values] :