Batch Loader

75 votes
Version: 
2.0
Date Updated: 
10/26/2012
Author Name: 
Anubis

Quick Merge/Import multiple files.

UI v.1.7

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.

Additional Info: 

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)

Version Requirement: 
3ds Max 9+
AttachmentSize
batchloader_19.ms9.84 KB
batchloader_20.ms10.01 KB

Comments

Comment viewing options

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

Subfolders checkbox

It'd be very nice to have a subfolders checkbox so it can read different directories within.

rachka's picture

Subfolders checkbox

It'd be very nice to have a subfolders checkbox so it can read different directories within.

GoodVibes's picture

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?

rachka's picture

missing import options

It would be nice if the script has import options.

asymptote's picture

@ 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

barigazy's picture

...

Hey asymptote
You question is more for forum topic :)

bga

asymptote's picture

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

milie's picture

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

barigazy's picture

...

I'm glad to hear that your problem is solved.
I hope that Anubis will integrate this into the new update.

;)

bga

rachka's picture

barigazy thank you!

thanks barigazy! everything's OK now!

Comment viewing options

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