Apr 092016
 

Hello everyone,

Today at work I wanted to setup my Maya to zBrush connection as I find collapse edges to be amazing… Not that you care about the reason if you’re here so, without further ado here are a few solutions.

Unable to install : First up, if you can’t install it for some reason, copy userSetup.mel from : C:\Users\Public\Pixologic\GoZApps\Maya to C:\Users\USERNAME\Documents\maya\scripts if there is one there already, add this eval(“source \”C:/Users/Public/Pixologic/GoZApps/Maya/GoZScript.mel\””); to any line in the file.

Unable to find Maya : If the reason was that you have Maya installed in a custom location, there’s another file in C:\Users\Public\Pixologic\GoZApps\Maya named GoZ_Config.txt open it and add your maya.exe path to the file, in my case this us what was written in the file when I was done : PATH = “E:\Applications\Autodesk\Maya2016\bin\maya.exe”

Now to the reason you’re most likely here.

// Warning: file: C:/Program Files/Autodesk/Maya2015/scripts/startup/rememberViewportSettings.mel line 43: Active stereo does not work with Aero enabled. Active stereo has been disabled. //
// untitled //
// Error: file: C:\Users\Public\Pixologic\GoZApps\Maya\GoZBrushToMaya.mel line 113: Plug-in, "Mayatomr", was not found on MAYA_PLUG_IN_PATH. //
commandPort -securityWarning -name commandportDefault;
// AbcExport v1.0 using Alembic 1.5.0 (built Jul 25 2013 11:21:20)
// AbcImport v1.0 using Alembic 1.5.0 (built Jul 25 2013 11:21:20)
updateRendererUI;
// Error: file: C:/Users/Public/Pixologic/GoZApps/Maya/GoZBrushToMaya.mel line 113: Plug-in, "Mayatomr", was not found on MAYA_PLUG_IN_PATH. //
// Error: file: C:/Users/Public/Pixologic/GoZApps/Maya/GoZBrushToMaya.mel line 113: Plug-in, "Mayatomr", was not found on MAYA_PLUG_IN_PATH. //

This simply means that you need to have MentalRay for Maya installed, you can find it here : Maya 2016. After you’ve installed it, make sure it’s active as well, just follow these steps.

  1. Install mental ray renderer, using the installer.
  2. In Maya, select Windows > Settings/Preferences > Plug-in Manager.
  3. In Plug-in Manager, set Mayatomr.mll to Autoload.

There another solution (I didn’t try it out myself) but according to a user at Polycount you can edit the file GoZBrushToMaya.mel which can also be found in C:Users\Public\Pixologic\GoZApps\Maya\.

Starting on line 109 you’ll find this.

// ------------------------------------------
// GoZBrushToMaya requires Mental Ray plugin.
if (`pluginInfo -query -loaded -name "Mayatomr"`==0) 
{
 loadPlugin "Mayatomr" ;
 //setCurrentRenderer mentalRay;
}

Just add // in front of every line or replace it with this code.

// ------------------------------------------
// GoZBrushToMaya requires Mental Ray plugin.
//if (`pluginInfo -query -loaded -name "Mayatomr"`==0) 
//{
// loadPlugin "Mayatomr" ;
// //setCurrentRenderer mentalRay;
//}
 Tagged with: , , ,