ScriptSpot home

Merge By Layer

Downloads

Release history (5)
  • Version 0.5Listed version

    Listing updated

    Release notes

    v0.5 - alphabetic sort added for layers/objects v0.5 UI:

  • Version 0.4

    Release notes

    v0.4 - now multi-select & merge layers/objects

  • Version 0.3

    Release notes

    v0.3 - ugly mistake fixed

  • Version 0.2

    Release notes

    v0.2 - now dialog resizeble

  • Version 0.1

    Release notes

    v0.1 - initial version

Other files (2)
3ds Max compatibility
See original listing claims
Community compatibilityNo compatibility reports yet

No reports yet for the available releases.

Community reviewsNo reviews yet.

Listing details

Version
0.5
From original requirements
4 or newer
Original version requirement
3ds max 4 and higher
Author’s update date
Legacy votes
300
Listing created
How compatibility works

Compatibility comes from the author’s supported range or requirements in the original listing. A tested version records what the author tried.

“2020 unconfirmed” in the catalog means support for 3ds Max 2020 is still unknown.

Community reports record successful tests on specific releases.

Posted by

Anubis

Panayot Karabakalov

More by this author

Merge By Layer 0.4

A self explained script, I think. Enjoy

Setup & notes

v0.1 - initial version
v0.2 - now dialog resizeble
v0.3 - ugly mistake fixed
v0.4 - now multi-select & merge layers/objects
v0.5 - alphabetic sort added for layers/objects

I has a mail request/wishlist to sort layers in alphabetic order.
I add this option for both - layers and objects lists.
The option should been checked before choose scene file.

v0.5 UI:
MBL v0.5

Comments (22)
Draftsman35

Thanks

i was looking for this

Александр Горшков

Save

Why the script save current scene before opening the script-window? Without this, no way?

.

What the script does:
1- save the current scene
2- open the from scene which you want to merge objects by layer
3- read all needed information from the opened scene(layers structure, objcets inside layers, etc.)
4- open again your main scene
5- now you see the UI and all information there is correct, so you can merge by layers.

Maxscript not allows rading information of layers from non opened scene.

dori3d

Adding a "Selections Set" feature..?

Great script. Congratulations Anubis.
Is it posible to add a "Selections Set" feature?

Thanks!

harumscarum

i use 2011x64 and now

i use 2011x64 and no containers or groups are in scene. actually it is good if it will merge all relative objects but not empty layers

thank you!

Panayot Karabakalov

confusing but not fatal

What is your Max version and did you use containers? I asking because I suspect that merging via max script is not updated correctly in the last Max versions. I still stay on Max 2009 as I found it as enough scripting stable. If you can find the 'bug' in the code, I'll glad to fix it.

harumscarum

emply layers are merging

when i try to merge one single object - got merged some other layers with no objects in it
here is illustration image attached

PS and i have suggestion - make merged objects or layers visible (unhidden, unfrozed and etc.) even if they was invisible in source file

Attachments
Script_Butler

Finally!

We have been banging on about wanting such a script for ages! Thanks for doing it!

But I seem to be having issues! When I choose a scene file, it seems to want to merge the entire file straight in to max to normal way.......

It doesn't list anything in your script window and just crashes.....

It works on a simple file with a few boxes on layers, but not a more technical file that we have for a big job.

Any ideas what might be causing this?

Reply to Script_Butler
Panayot Karabakalov

no idea

Hi Script_Butler,

I not hit any problems yet,
so this sounds mysterious to me.

Reply to Panayot Karabakalov
Script_Butler

Ok...

It seems to work with some files but not others.

I'll see if i can find a reason for why it doesn't work with some. Perhaps its a problem with some plugins we use here. I'll let you know what I find, if anything!

Panayot Karabakalov

Ok, i update the script, enjoy.

Panayot Karabakalov

thanks for the feedback

Hi Titane,
well, the idea was to merge by layer, but your request sounds sensibly. What if the objects list is MultiListBox and then double click on layer to merge selected objects? Also maybe the objects will been selected all by default? I just think how to keep the UI simple as is. What you think about?

It is just an Idea :
- you could select/multiselect in left column layer(s) to merge
then all objects of these layers will be merged
then click merge button
or
- you could select/multiselect in right column object(s) of one selected layer u want to merge.
then click merge button
cheers

Attachments
Reply to titane357
Panayot Karabakalov

sounds good

just wonder what will display objects (right) list then multiple layers selected (in left list), if display all objects (of selected layers)... is w'd be clear.

Raymond Homme Ingebretsen

Very nice script. Going to help me every day at work.

Panayot Karabakalov

thanks

nice to heard its ok :)

[Edit] oh, a fatal mistake i found, pleace redownload the last version 0.3

hello Anubis,
please correct "double click to megre " -> merge (I can't sleep)
Could it be possible to merge just some Objects of one layer ?
Max's merging is awfull : impossible to see in which layer objects are, your script is cool (for people using layers), we could merge objects from layers seeing in which layer thay are. :-)
I like resizable window ! Thanks

JokerMartini

Great

This is a great script. Thanks Anubis

Panayot Karabakalov

Hi Titane

its just a quick script and making it resizable is not a problem, but the rest notes is not clear to me. just double click on item in Layers list to merge. and how much old scenes? layers was added in Max 4.

sorry, the 3 first scenes I tried was 2009, and didn't work with 2011 I use.
Now I can't reproduce this.... works perfect. :-)

titane357

hello
Nice script but I have some comments :
- window should be resizable : it is better to see much item of same layer without scrolling.
- you type "Double click to megre" (ooohh)
- this don't work with scene form old version of max
Thanks