Mass exporting of selected objects in 3dsmax

35 votes
Version: 
1.6
Date Updated: 
11/03/2017

'

V1_6:
Update to support 3dsmax 2018

New Features
-- Settings in the util are stored in a ini file, so they are kept when you quit the util
-- I added a reset ini button so you can go back to the default settings
-- A simple button that selects all visible objects
-- I also made the outputPath button show the current outputPath..

My first version of this script was created to simplify the process of exporting many objects from one 3dsmax scene into separate obj files.

Now I have added another feature by request from a user so it now supports exporting frames or a framerange of the selected objects.

Lets say you have created some sort of simulation inside 3dsmax and want to import that into another tool. Ex cloth simulation.

This will create a separate .obj file for every frame and also every object you have selected.

You can run it by just dragNdrop it onto 3dsmax.

-- Settings in the util are stored in a ini file, so they are kept when you quit the util
-- I added a reset ini button so you can go back to the default settings
-- A simple button that selects all visible objects
-- I also made the outputPath button show the current outputPath..
-- I have added group support, if there is a group in the selection it will export the whole group as one file.

-- I have added a new "single mesh" feature. This takes the group you have selected and snapshots all the parts attaches them together into one mesh, it then exports that mesh. This makes one mesh out of the whole group. This might be useful for someone. I believe it can be useful for importing animated objects into realflow.

-----------
Anton Berg
OgmaSoul3D

Additional Info: 

Features:
SingleMesh:
To use this do the following;
1) just in case... always save your scene before running this, some fileformats causes 3dsmax to crach when trying to batch..
2) group all objects that should be "one mesh"
3) check the singlemesh checkbox
4) export... you will see that your objects will get snapshot during export... but after every export the snaphoted versions are deleted..

Fixed bugs:
In version 1.0 I fixed a bug where the browse button did not work!

Known bugs:
I know that some export formats does not support the "Export Selected" function which makes this script not very useful for certain fileformats.

I have tried .obj and .3ds alot and thoose work. (you still have the old issue with 3ds format and the 64K limit in facecount, but that is the limitation of 3ds)

I hope someone else finds this useful!

Anyone that has some tips of how to import an .obj sequences into maya/softimage/houdini are very welcome to comment! Since this is not my main tools I am not the wiz on that.

Version Requirement: 
2012
AttachmentSize
os3d_exportobj_v13.png31.47 KB
os3d_exportobj_v15.ms18.83 KB
mass_exporter_v1_6.ms19.06 KB

Comments

Comment viewing options

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

Add option to move models to the center of grid before exporting

It would be nice to have an option to export models as if they were centered on the grid, an option would be to just change their coordinates to (0,0,0) when exporting or you could temporarily move them before exporting and then putting them back to their previous position.

Anton Berg's picture

ok fixed that... version 1.5

fixed the status update window..

OgmaSoul3D
Anton Berg
anton[at]os3d.se

asymptote's picture

Cool, frame on/off works

Cool, frame on/off works perfectly, sorry I hadn't noticed the settings are saved on exit.
Yes I used a "1" in the frame range and renamed the files after export, that's less work for me now ;)
One thing i have noticed is the "Info" window in 1.4 doesn't display the example file name.(maybe intended)

Anyway, Many thanks this is a big timesaver. It should be built into Max.

Anton Berg's picture

I like the idea.. do you need to support frame ranges?

Do you need frame range support in the first version?

I might lean towards changing this util or making a special version for proxy gen... since it will probably work a bit different though..

another important question.. Vray version? are you using the latest version?

regards,
Anton Berg

OgmaSoul3D
Anton Berg
anton[at]os3d.se

Anton Berg's picture

I am adding a new version now 1.4 that have a _frame on/off

I am adding a new version now 1.4 that have a _frame on/off switch..

I recommend that you set the frame range to a single frame value like
0 or 1

if you add a range it will export the same file many times and overwrite the old ones.. (since I am not adding the frame value)

since version 1.3 it save the last values in an ini file... so they should get loaded the next time you run the script.

regards,
Anton Berg

OgmaSoul3D
Anton Berg
anton[at]os3d.se

asymptote's picture

Remember last settings and

Remember last settings and output folder would be cool, also is there any way to edit the script not to add the "-Frame_1" suffix to the file name ?
I have to export lots of single 3ds without animation and would like it to just export the scene with objects name only.

thx

matmatmatty's picture

*.max file???

Any chance of including a max scene file type in the export dialogue?? I need to save out multiple objects (vray proxies) in there own max scene. This tool would be perfect for this....

carrrottt09's picture

AWESOME

This is great.
Fits what I was looking for perfectly.
Thanks for developing this.

asymptote's picture

Any chance this could be made

Edit, Ahh my bad it works fine in 2011

A "remember last settings/output location" would be cool, I just use this to export multiple 3ds files on a single frame and have to keep resetting the preferences every time.

thx

wannabeartist's picture

What an awesome time saver!

If you are still developing this, may I suggest a feature? It would be great if the script would remember the last output location!

Comment viewing options

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