Instance Identical Geometry

49 votes
Version: 
2.0
Date Updated: 
04/09/2011
Author Name: 
Anubis

Find identical objects (to chosen one) and instance them.

Instance Identical Geometry

What's new in version 2.0 :

  • process multiple (selected) objects at once
  • rollout (with pick button) removed
  • the script rewritten as macros
Additional Info: 

To be instanced nodes need to match this criterions:

    identical class, face/verts count, scale

You could expand it with more criterions... (see the notes in the code)

Of course, don't forget to hold/backup your scene first.

Version Requirement: 
3ds Max 2008 and higher or AVG (Avguard extention) for previous
AttachmentSize
Instance_Identical_Geometry.ms1.63 KB
instance_identical_geometry_2.ms1.56 KB

Comments

Comment viewing options

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

Hi Tomas, I can not open the

Hi Tomas, I can not open the scene file but import the 3DS file and notice that the script really goes wrong with your objects, but unfortunately I have no idea why... The script as is works correct. Maybe someone (more free man) could spend a little time to check out the issue with this objects.

[edit] I remember that there was a topic in the autodesk forums about bugs with MaxScript instanceReplace function, its fail sometimes and no one can tell why: http://area.autodesk.com/forum/autodesk-3ds-max/maxscript/objects-flips-...

my recent MAXScripts RSS (archive here)

tomastnt's picture

Ok ok ...sorry. I found out

Ok ok ...sorry. I found out it is in category Tools. Ok, but still doing the same like version 1.0. Objects were instanced, but not rotated like original positions. Every objects are on one position like the base object...

tomastnt's picture

Hi. I tried your scipt on my

Hi. I tried your scipt on my easy scene with 20 objects, but doesn't work properly. I tried like a first script version 1.0. It found 17 instances, it is right, but after I pushed the button make instances, so instances were done, but on a same position like original object. Not moved or rotated. Confused...
Ok, after this i tried your script 2.0. Doesnt work. After that i tried 2.1 but i can't see any window of scipt. Where can i found the window of the script? Looks like after run script I does do nothing.
For sure, I am attaching the scene and the scene in 3ds format. Thank you.

AttachmentSize
instances.max 404 KB
instances.3DS 53.88 KB
Anubis's picture

Opss, what's right, now fixed

Opss, what's right, now fixed ;-)

AttachmentSize
Instance_Identical_Geometry_2.1.ms 1.56 KB

my recent MAXScripts RSS (archive here)

harumscarum's picture

ver.2 doesnt work for me

ver.2 doesnt work for me

AttachmentSize
INS.png 13.9 KB
Anubis's picture

Thanks for the comments and

Thanks for the comments and the points as well :-)

my recent MAXScripts RSS (archive here)

Nafetsu's picture

Great idea, it will be very

Great idea, it will be very useful for sure !

--
CG Generalist

Michele71's picture

Anubis you are always the

Anubis you are always the best! Good script, very helpful. One point to you ;)

Anubis's picture

Thanks for the nice feedback.

Thanks for the nice feedback. I fill your request. The script updated. Enjoy!

my recent MAXScripts RSS (archive here)

igamaximus's picture

Fantastic useful script,

Fantastic useful script, thank you. Please Anubis, make it batch - possible to work with many objects selected at once (instead of selecting 1 by 1).

Comment viewing options

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