Batch Export/Import

27 votes
Date Updated: 
Author Name: 
Jos Balcaen

This is a free script, for non commercial use.

This is the perfect script to transfer your models from 3ds Max to ZBrush/Unity/UDK/...
Basically it batch exports objects to multiple files.
Supported formats : max, obj, fbx, 3ds, ase, dwf, dwg, dxf, dae, nif.

General features

  • Very easy to use script
  • All options are saved.This means all checkboxes, text fields will remember your change.

Import features

  • Create file layers. Create a layer for every file and add the file contents to it.
  • Rename to file name. Rename all objects to the filename_1
  • Attach in file. Attach all objects from the same file together
  • Group in file. Group all objects from the same file

Export features

  • Reset geometry. Apply the boxmethod to every object (reset transformation etc.). Optionally move the pivot to the origin.
  • Delete turbosmooth. Delete the TurboSmooth modifier before exporting.
  • Move to [0,0,0]. Move objects to the origin before exporting
  • Rotate the objects before exporting (to fix rotation problems)
  • Scale the objects before exporting (to fix scale issues)
  • Name change. Add prefix and/or postfix to the name of the objects before exporting.
  • Combine collision mesh. Mesh with the same name and the given prefix/postifx will be exported together (ex. UCX_).
  • Combine LOD's. Meshes with the given prefix/postfix will be exported to the same file. For example _LOD* (* means numbering) for unity.
  • Group support. Objects in a group are automatically exported to the same file. If the Collapse groups option is enabled, the group will be collapsed to one mesh.
  • FBX export options. Use the FBX Preset option under the advanced section.

So no need for an export scene. You can check the options and everything will be perfectly exported.
After exporting the scene will be restored.

This script has been updated several times by user requests.
If you have any remarks, requests or feedback, feel free to contact me.


Additional Info: 

How to install

The new version now has a installer. Just run the .mzp file to install the script.

Version Requirement: 
josbalcaen_batch_exporter_importer.mzp79.79 KB


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
jos's picture

Thanks for letting me know!

Thanks for letting me know! Uploaded a fix!

jos's picture

Uploaded a new version with

Uploaded a new version with the attach option fixed and a new option to group the imported objects by file. This should fix your problems!

Boct's picture

Help needed for not grouping imported objects from a single max

Thank you for your valuable work.
In some cases of max files from Evermotion
during import the scripts breaks the max files to several objects which are not grouped.

I have to regroup everything in order to export to obj in a single file.

For example: The initial max file is a table with some books and some glasses on the top.
When I import I get all the objects seperated.

Even if I choose the layer method the objects are not grouped in one file.

Any help would really be usefully to fully utilize this beautiful tool.

Monkey_griff's picture

Export Layers to Files

Hi Jos ,

Not sure if this suppose to be like this or not but I tested the 'export layers to files' and noticed that it will export all objects in the scene in every Fbx file..

The file names match the layer naming fine, but whats in the files doesnt match the layers. (I added screenshot)


export_layers.png 226 KB
jos's picture


Thanks for the info, updated the mzp file!

funkybunnies's picture

Hi Jos! great script, I've

Hi Jos! great script, I've been using it for a while! Just wanted to point out that I noticed in the latest update the macroscript isn't pointing to the same folder that the mzp is creating! quick fix though :)

local run_file = (getDir #userScripts) + "/batchexporterimporter/run.mse"

jos's picture

New version

Sorry for the late reply, this has been added to the new version. This has not been thoroughly tested. Would be great if you give it a go!

jos's picture

New version

Added nif extention to the new version!

Simonvinder's picture

Adding additinoal file support?

Hej Jos, I'd very much like to add support for additional file formats, or at least try. I'm making rather large sets of assets in 3DS, so it would be a real timesaver. But I can't really edit it when it's an MSE.

Currently would like to add it to support something called a .NIF . Any chances you would let me do this?

malewca's picture

Import to new layer?

Hi Jos, this is a great script, works beautifully for me. I was just wondering if there was a way of importing each FBX onto its own layer, using the filename as a layer name? Something like the screenshot? That would be unbelievably helpful.

fbx_layers.jpg 96.61 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.