ZBrushCentral

GoZ and Maya for me has never worked

Hi Everyone,

I haven’t posted in a while, and usually my post are questions, so yes I have another one :-).

I use Maya with GoZ. The concept of it is SO awesome that I keep on trying to use it but I keep getting burned by 2 things.

The first is, I don’t use the shelf in Maya…I don’t like it, it kills 1" of my screen space vertically, everything IN the shelf I have via keyboard shortcuts, the menus, the hotbox. It’s OVERLY redundant to me. Yes I know, I know…“but custom buttons”, for me my outlook is…“if custom is SO important I assign a shortcut to the keyboard”, it’s just the way I am.

That said…here is where the problem comes into play.

If the shelf is closed I get a constant message reminding me that I can at any time press the GoZ Button on the shelf to send a model to Z Brush". This isn’t HORRIBLE but for me to have to click an “OK” button every time I open Maya is annoying. Is there any way at all to stop this?

This leads me to the second problem, because the shelf is closed the warning message comes up once Maya is loaded as explained above.

If I now go to the shelf to press that GoZ button it is not present and there has been no way to get it back except trashing all preferences. Relaunching Maya to create new preferences, load ZBrush and force GoZ re install. This DOES give me back the GoZ button, but once I close the shelf out again, It’s gone for good.

As I said It’s on a keyboard shortcut, losing it from the shelf is fine, but the message…man I dislike the message.

I am using

Windows 7
Maya 2015
ZBrush 4R7 (but this has been happening since the introduction of GoZ).

Thank you in advance for all the help.

Hey Patrick,

in Maya’s hotkey editor you can make a new custom runtime command and assign a hotkey to this command. This runtime command would essentially be the same mel command that’s placed inside that GoZ button on the GoZ Shelf. Which (on OSX) basically looks like this:

source “/Users/Shared/Pixologic/GoZApps/Maya/GoZBrushFromMaya.mel”.

To find this command, just go to the Shelf-Editor, find the entry for the GoZ button and click on the ‘Command’ tab, copy the command into the clipboard. Then in the Hotkey-Editor, create a new runtime command and paste the command from the clipboard and assign it a hotkey.

Now to get rid of the annoying windows in Maya telling you about GoZ every time, you need to do three things once you’ve closed down Maya(!).

1 - Remove any mention of GoZ in your userPrefs.mel.
2 - Remove any GoZ shelf .mel files in your Maya prefs folder. On OSX this lives here: /Users/$user/Library/Preferences/Autodesk/maya/2015-x64/prefs/shelves/shelf_GoZBrush.mel
3 - Delete the GoZscript.mel in the Maya startup scripts folder. On OSX: /Applications/Autodesk/maya2015/Maya.app/Contents/scripts/startup/GoZScript.mel

If you don’t delete this script, Maya will recreate the GoZ shelf every time you start up.

That should sort you out. Now every time you want to send something from Maya back to ZBrush, just hit your chosen hotkey combo. No shelves required.

Lone Deranger,

You are solid! Thank you so much.

Unfortunately, I am only 1/2 way there. Here comes the NEW weirdness! SO, following all your steps, you are 100% correct removing all that stuff makes the message go away but keeps my Keyboard Shortcut working with Go Z.

I press it “Ctrl+Alt+Z”, boom, the model is in ZBrush! Now going back, every press of GoZ from Z opens a new instance of Maya. So we are transferring fine, Maya to Z, then Z to Maya opens the model in a new Maya twice, three times, four, and so on.

Thanks so much for all your help, have yo ever seen this part?

-Patrick

Hi Patrick,

glad to hear you got things working on the Maya side.

I’m not getting multiple instances of Maya when sending meshes over from ZB. That sounds very strange indeed and I’m not sure what could be done about that. I think this is a question for the likes of Marcus_civis. Let’s hope the mere mention of his name can conjure his presence into this thread. :slight_smile: