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.
asymptote's picture

Strange I know......I'll look

Strange I know......I'll look into it some more, I can get the objects into the scene by unchecking the "Auto" and holding down the enter key...until that dialogue pops up, then I have to manually rename a couple of files...hold down the enter key until the dialogue pops up .....etc etc....It's the first time I've ever seen that dialogue too. I generally do these things in a rush and i'm too impatient to take note of whats going on, I'll run the process again and take a closer look.

thx

Anubis's picture

That's really strange... I

That's really strange... I never see this dialog in my Max. I'm write and still use this script exactly in Max 2009, and without any problems, even with much more object.

Whether someone else can confirm same issue?

my recent MAXScripts RSS (archive here)

asymptote's picture

It's not working for me

It's not working for me now...I've just switched to max 2009 for a project and I'm getting this message when using on a folder with 1065 objects. Is there a limit to the renaming ? Or is this a 2009 thing, also there's no way to cancel the process I have to Ctrl Alt Del and kill max to get out of the sequence.

Using the "Auto" function it asks me to rename , but then doesn't let me rename, obviously because it's supressing the dialogue.

I'm stuck without this script, any suggestions ?...thanks

 

asymptote's picture

Perfect!...I use this

Perfect!...I use this everyday, now I don't need to wedge a heavy spoon on my enter button to import 2000+ files. ;)

Many thx for the update.

Anubis's picture

A requested update is ready.

A requested update is ready. Now all duplicated objects names auto renamed on import. Enjoy.

my recent MAXScripts RSS (archive here)

Comment viewing options

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