ZBrushCentral

MultiMap Exporter Error

Hi. This script error has been a problem for me since “forever”, but I usually just ignore it. However, it’s getting to the point where I want to solve it rather than ignore it.

When I use multimap exporter, I get a script error after each map is created, thereby stopping the script. I end up having to export each map separately, which defeats the purpose of the plugin.

The error I get, for example, when exporting texture map is
SCRIPT: MultiMapExporter_4R7_02.txt
ERROR: Popup: TextureOff
IN: [IPress,Popup: TextureOff]"

I was going to try to edit the script, but it is encrypted and I can’t open it as a text file. Also, the plugin is .zsc but the error is calling out to a .txt file.

Anyone know what I can do to fix this?

Grr… I hate when this happens, but as soon as I posted this, I figured out the answer myself. I have to have the Texture Map subpalette open and showing in the UI. Then it runs without errors

Hmm, that’s strange, I’ve not come across this error before. I’ll take a look and provide you with an update if I can.

It works wonderfully as long as I have the appropriate sub palette showing. I still need to try exporting more than one map and see if it switches over like it should

OK, I wanted to run a full test just so I can tell you exactly what is happening. So, I loaded a model that I made, textured, surface details, etc. I selected all of the available maps (but not Export Model), made the desired settings, etc. I put the texture map subpalette in view, then ran the plugin.

It made the Displacement and Vector Displacement maps, saved them to my desktop, no problem. The next map is Normals, which is generated but then the script error came up and the script stopped. I had the Normal Map in the Texture Palette that I could manually export. I then unchecked Displacement and Vector Displacement, switched to the Normal Map subpalette and ran the plugin again. It made and exported the normal map as it should have. Next to run would be the Texture from Polypaint, but since my UI had the Normal Map subpalette showing, I once again go the error and the script stopped. So, I unchecked Normal Map from the plugin and ran it again, this time with the Texture Map subpalette open. The Texture from Polypaint, AO Map, and Cavity Map all ran as they should. So, I hope this gives you an idea of what is happening and helps you in troubleshooting. Or, I simply have a bad copy of the plugin. Mine is called “MultiMapExporter_4R7_02.zsc” and is dated 3/21/2015 and is 190kb.

I should also add that I have the UI option where not all of the subpalettes are visible at once. I have to choose the one I want from a dropdown. Could that be the difference?

Thanks for all the detail!

I doubt it’s anything to do with your configuration. You shouldn’t get the problem at all. I don’t know why it happens for you and not for me - I can have the palette completely closed and the maps generate fine. And as far as I know, you’re the only person to have the error.

The bit of code is just a housekeeping thing really, turning off the map after it’s generated. The simplest solution is to take out that bit of code. This will mean that your model will be left with maps on at the end but at least you’ll be able to use the plugin without problems. I’ll send you a PM when I’ve done it.

huuh

Seems this problem has returned to lucky ole me
Help pwease =D