ZBrushCentral

Zscript window

Hi. Very new to Zscripting and I’ve failed at the first hurdle :o. - Just a simple Hello World test message

[Note, “Hi there!”]

I’d expect it to work. Or at least the text to appear in a window but I can’t see it anywhere - what am I doing wrong?

http://docs.pixologic.com/user-guide/customizing-zbrush/zscripting/command-reference/#Note

Most commands - called Sub-Level - have to be wrapped inside Top-Level commands. The Note is one of these, as Doug’s link shows. All you need to do is put the Note inside a button and it will work OK:

[IButton,PressMe,“Press the button to show the Note”,

[Note,“Hello World!”]

]

When loading a simple zscript like this, the button will appear in the ZScript Window at the bottom of the interface. Press ‘H’ on the keyboard to show the window. You might need to click and drag up/down in the window to show the button.

face palm :o That’s where I was going wrong, thanks Marcus!

Incidentally, is there a menu item for toggle ZScript Window (“h” hotkey)??

Not as such but if you want to change the hotkey then you can create a macro like this:

//ZBrush macro

[IButton,???,“Toggle ZScript Window”,
[IClick,1002]
,0.5]//end button