Batch Loader

74 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.
1rv's picture

It's OK now, sorry. I think

It's OK now, sorry. I think it's bacause I tried to import .skp files of v.8
(max2010 supports v.7 only).
And thank you once more for your efforts!

Anubis's picture

Hi, did you use last script

Hi, did you use last script version? addNode is when create layers. Can you post more details.

my recent MAXScripts RSS (archive here)

1rv's picture

'addnode' error

I constantly get error:
unknown property: 'addnode' in underline
Any thoughts?

Anubis's picture

Not yet

Ah, I see this asked before somewhere, but not yet on hand such kind of access (to layers in external files on merging) in Max.

[Edit] I wrote a quick script for Merge By Layer (and hope its useful)

my recent MAXScripts RSS (archive here)

Script_Butler's picture

This seems like a rather

This seems like a rather handy script!

One question, is it possible, although I doubt it, to be able to merge a particular layer from a .max file?

Cheers.

Script_Butler

Anubis's picture

Thanks for the nice feedback

Creating layer for each file with the same name is not a problem. I'll add this to the script as soon as have some free time.

[Edit] the script is updated, enjoy.

my recent MAXScripts RSS (archive here)

caebrasil's picture

Amazing!

You can't imagine how much you help me with this script! Dozens of .fbx files in one unique process, and it works perfectly!
Thank you very much!
One little sugestion (maybe little, I don't know) is the possibility of do a layer for each file, with the same name. This will be very usefull... at least for me... :)
Regards,
Caetano Brasil

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

 

Comment viewing options

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