ZBrushCentral

Divider button loads and switches to a sphere tool

Had this weird issue for a while which isn’t a big problem but can be annoying. The divider button* on the bottom edge of the screen when clicked (which I sometimes do by mistake) loads and switches to a default sphere tool. Something that’s probably related is that if I hover over this divider button the tooltip says “Tutorial View” rather than “Divider”. It does this with any of the stock ui setups. Anyone know what’s going on?

*The 2 arrows that open or collapse the menu docks at side of screen.

Hmmmm, never noticed that before. You’re right about it saying “Tutorial View” when hovering the cursor over the bottom divider bar, (The side divider bars say “Divider” when hovered over), but nothing happens when I click on the bottom divider. Are you running ZBrush 4R7 P3?

I think I was just on base R7, I just updated to P3 still got the same problem though. Will probably have to try a clean install. It only does it when opening the tray not when closing it.

Edit: Are you supposed to be able to put menus in that bottom tray (like the side ones)? because I can’t. Not sure how it would format them come to thing of it. What’s that tray for?

Edit 2: Think I might have solved it. It’s not a menu tray:

“7 The ZScript / Tutorial Window
Located at the very bottom of the ZBrush window, this tray can be expanded or collapsed just like the left and right trays. However, this tray can’t receive a palette like the others can. It is used by ZBrush only for ZScript or Tutorial purposes.”

I’m pretty sure I messed around a long time ago with a script trying to get zbrush to load a sphere in edit mode on start up. I bet for some reason it’s activating that script when I open it. Will try and get rid of it tomorrow.

I use the bottom tray to hold my brushes.

Attachments

Bottom Tray.jpg

I have a UI posted and a macro that loads the star. Link below.

That’s interesting. I’d certainly check that you don’t have a startup macro that is being run. You’ll need to check your DefaultZScript.txt file in the ZBrush 4R7\ZScripts folder.

Yeah it’s my start up script running. Why does it do that though? I’d rather not delete the script, it turns on a lot of stuff I like to have on as default.

Edit: This is what it looks like, there is a shelf above and below I can place buttons on and then the collapsible tray in the middle that I can’t do anything with and is a darker colour. I can click and drag on the collapse button to make that area bigger unlike the side trays :S

The ‘Tutorial window’ is where standard zscripts are displayed. (If you record a zscript then that’s where the button will appear after saving or loading.) I guess clicking the divider triggers the default zscript for some reason (though I’ve never experienced the behaviour).

It’s possible to change the DefaultZScript so it only runs the macro once. Instead of the [If,1,…] code, change it to :

//startup
[If,([MemGetSize,startup_mem]==0),
[MVarDef,startup_mem,1,0]
[IPress,Macro:Macros:Misc:StartupMacro]//you may need to change the macro name here!
]
[PD]

Let me know if you’re not sure about the changes.

Oooook, I know what was wrong. The scripting was all in the startup script* rather than its own macro. Doesn’t execute it when I open the script tray anymore :stuck_out_tongue:

Thanks everyone.

*DefaultZScript I should say

hey Marcus , I have this same problem could you go through this step by step for me so I can have this bottom divider not separating the bottom trays . I have zero scripting knowledge so hold my hand please .
thank you!

Hi Nathan1,
Welcome to ZBC. :slight_smile:
Could you explain what problem you are having? This thread is old and things have changed in the more recent versions of ZBrush.
Thanks,
-Marcus