Layer Manager to files Exporter

6 votes
Version: 
3
Date Updated: 
04/27/2012

A simple tool designed for 3d modelers to save time on exporting multiple objects and to allow them the freedom to continue working in one max file. Script allows exporting to the following formats using the layer manager: FBX,OBJ,3DS,ASE, and separate max files.

Additional Info: 

How to use:

Drop script into your Scripts folder.

Assign objects you wish to be exported together as one file to a new layer in the Layer Manager. Name the layer according to what you would like the exported file name to be.

Each layer with its assigned contents will be exported as its own file based on the format of your choosing and named according to its layer name. So if you have 10 layers in the Layer Manager you will get ten exported files.

Anything assigned to Default Layer 0 will not be exported. Use Default Layer 0 for anything you don't want to export out such as reference planes.

After layers are created simply run the script, select your format and target destination, and then click the export button.

Feature requests are welcomed...

Updates***
Version2.1-
Delayed bug fixes. No new features until version 3.

Current known bugs:
-layer list doesn't update automatically. You will need to restart the script each time you add a new layer into the layer manager.
- Dragging script into the viewport will result in script breaking. Script must be executed by maxscript-> RUN.

Version2 -
Added ability to save and delete destination locations. Added ability to set export format on a per layer basis.

Version1- cleaner interface with ability to select destination path.

Version Requirement: 
Made in 2012. Untested in older versions
Video URL: 
AttachmentSize
layertofileexporter.ms10.85 KB

Comments

Comment viewing options

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

one feature request though...

it would be alot cooler if there were some path presets like a list of folders that you usually export.

resembles colin's " relink bitmaps"

that i would like to see alot:)

wiesner's picture

Thanks for the little tidbit.

Thanks for the little tidbit. I added it to the script and re posted it.

crystal3d's picture

very cool script

and surprisingly exports as max files aswell! one thing though, it it errors if it meets an empty layer.
via this script
"(
(LayerManager.getLayer 0).current = true
for i = (LayerManager.count-1) to 1 by -1 do
LayerManager.deleteLayerByName (LayerManager.getlayer i).name
)
"

then run yours.

thanks for sharing :)

Comment viewing options

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