Layer Manager to files Exporter

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.
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.
| Attachment | Size |
|---|---|
| layertofileexporter.ms | 10.85 KB |


Comments
No forth coming Updates
Due to my busy schedule I will be unable to keep this script updated.
Thanks again for testing it
Thanks again for testing it for me. I'll be sure to put a canceling fix as top priority before I work on the additional layer controls I wish to implement. Layer disable controls or adding selected layers is something I had planed for the next version along with a few smaller items.
you have done it!
And i think it got alot better.i tested it and it worked flawless.. well almost flawless... see,
i forgot to choose "max "format and it tried to export in "ase" and "ase" format asked me the export options in a separate window.Then i tried to "cancel" yet it exported somefiles... so once you hit export , it will eventually export no matterwhat... not a big deal.
Anyways,
here are my suggestions if i may..?
* it does not remember the last selected format.
*ability to disable some layers for not to export...
Maybe if you can put "none" option in to the "select new format" section. so those layers dont get exported.
*Selecting multiple layers and assigning a format at once would be practical...
That's all from me :)
That is a good idea. I will
That is a good idea. I will add that to the next version I have planned to release in the near future. Thanks!
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:)
Thanks for the little tidbit.
Thanks for the little tidbit. I added it to the script and re posted it.
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 :)