Batch Loader
Quick Merge/Import multiple files.
Features:
- Merge multiple .MAX files
- Import multiple .* files (ie all that can be imported)!
- Log all files where failed to load to Listener (if any)
- Multiple history for recent used paths available
- Limit count of recent paths to keep in history added
- Group option available
- Layer option available
- Attach option available
- "Auto" option (if is checked no prompt for Merge/Import) *
- Dialog window is resizeable
- Auto rename duplicated objects on import
[*] If "Auto" is unchecked then default Max Merge/Import dialog appear for each file.
It is slower alternative, but it is important and useful in some cases.
I noticed that there is interest in scripts like "Batch Merge".
I also read the comments and requests, so here's what I created.
Version history:
- 1.0 - initial version
- 1.1 - minor code polish up
- 1.2 - INI file previously saved to Scripts folder, now saved within script source file location
- 1.3 - added minimal dialogue size when the dialogue is resized
- 1.4 - suppress the name conflict dialogue when imports and "Auto" option is on (now auto rename)
- 1.5 - create layer per file using it file name as label
- 1.6 - minor fixes
- 1.7 - attach per file as mesh or poly
- 1.8 - suppress additional imports dialogue; browse for folder dialogue start in recent path
- 1.9 - auto renaming rewriten (as the auto suggested name is not always correct, now append count digits)
- 2.0 - now check (by name) for existing layer and create new only if not exist
(TodoList: Remove stored paths that no more exist)
Attachment | Size |
---|---|
batchloader_19.ms | 9.84 KB |
batchloader_20.ms | 10.01 KB |
Comments
Use Scene Material function
Hi, Panayot! Your script is very useful, especially when creating a kitbash for a project. Tell me please, is it possible to add the Use Scene Material function to this script to make instances from the same materials?
missing import options
It would be nice if the script has import options.
@ barigazy, maybe, but I'd
@ barigazy, maybe, but I'd like Batch Loader to do this automatically for me so both areas are relevant :P
...
Hey asymptote
You question is more for forum topic :)
bga
Renaming Imported Files.
More of a question than a request, but is it possible to rename 3ds files when the original name is longer than 8 digits ?
eg:
Original filename is "Driver_Status_green.3ds"
Imported filename is "Status_g00"
Is it beyond the capabilities of the 3ds file format and/or Maxscript, that the imported file can be renamed to the original file automatically ?
Thanks
Great script...
Is there any way to:
- Read subfolders? Let's say i want to merge multiple max files that each has it's own directory.
This script, http://bit.ly/19Af8e5, manages reading subfolders great.
- Merge multiple max files and keep their individual layers, while adding the file name as prefix, something like:
teapot.max_layerA
teapot.max_layerB
teapot.max_layerC
box.max_layer0
box.max_layerA
Thanks
...
I'm glad to hear that your problem is solved.
I hope that Anubis will integrate this into the new update.
;)
bga
barigazy thank you!
thanks barigazy! everything's OK now!
...
Also not forget to use sort method as I explained in my previous post (lines 128,147,158)
bga
...
I hope this can solve problem.
bga