Batch Export/Import

30 votes
Version: 
v04.12
Date Updated: 
11/23/2017
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: 
2011/2012/2013/2014/2015/2016/2017
AttachmentSize
josbalcaen_batch_exporter_importer.mzp79.79 KB

Comments

Comment viewing options

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

Great script!

Great script indeed!

I've been using your script for some other time now, and it works quite good!

If you're still working a new versions, it would be nice if you could add a few more options:

In the export: Reset position (aka move object to 0,0,0)

And it would be nice if you could set 1 "import options" for all your models, and 1 "export options" for all your models, so you don't have to do every object separately.

Thanks a lot for your time!

harumscarum's picture

great script, but would be

great script, but would be great add "Group" option for Import
i mean every imported file will be grouped in new file so it will be possible to separate it then

Nacon's picture

DAE (Collada)

I'd be happier if it could export in DAE (Collada) as well. It would be a huge plus for "Second Life" content creators.

However, they only accept Autodesk's FBX 2011.3.1 Collada DAE than any other Collada exports.

PS:EDIT______________________________________________________________
If you edit the script for yourself, you can find list of format in the drop-down menu section, it's all you had to do was add comma and with choice of format you need inside quotations.   Thanks for the great batch script!

Side note: I can confirm it works in 2010 version as well.

foxkid's picture

very fine script. thanks. but

very fine script. thanks. but maybe add button 'render to...' & "render as..." ?

jos's picture

thanx for comment foxkin! but

thanx for comment foxkin! but can you translate? i'm from belgium.
if you have any ideas, pease share!
if you have comments about my code :
http://www.scriptspot.com/files/josbalcaen_batch_exporter_render_run_v02.ms
i'm a beginner with maxscript, so any help is welcome!

foxkid's picture

добавить бы...

замечательный скрипт!!! добавить бы еще одну функцию- сохранение редера в конкретную папку , а то если не стоит в файле сцены сохранение, то картинка просчитывается но не сохраняется, или в крайнем случае кнопку паузу сделать - чтоб вручную сохранять

спасибо

Comment viewing options

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