
This script can automatically replase specified objects in scene (each of them) to another object. Replaceable objects should have a similar names, for example: Box001, Box002, Box003... etc.
Run script, and with button "Old" pick one of the objects, which you want to replace. Other simillar objects will be append automatically, based on their name. Then with button "New" pick an object, which will replace previously selected objects. Push a button "Run",
and all objects will be replaced with the copy (or instance) of new object.
Script
Replace Objects Script
By Barometer · 2014-10-17
Community compatibilityNo compatibility reports yet
No reports yet for the available releases.
Community reviewsNo reviews yet.
- Version
- 1.0
- 3ds Max compatibility
- See listing claims below
How compatibility works
Choose the 3ds Max version you use. For example, selecting 2020 puts direct matches for 2020 first, followed by listings that say a supported version or newer.
Scripts that only mention an older version can still appear as “2020 unconfirmed.” Listings that rule out 2020 are excluded. Use “Show scripts with unconfirmed compatibility” to also see listings without a clear match.
Community reports show what worked for members on a specific release. They’re separate from the listing’s compatibility claims and don’t change the filter.
- From original requirements
- 9 or newer
- Original version requirement
- 3ds Max 9 or higher
- Date updated
- 2014-10-17
- Legacy votes
- 7
- External download
- External download
Downloads
- replaceobjectsscript.mse — replaceobjectsscript.mse3.6 KB
Tags: Objects, Distribute Objects, replacer
Description
Additional Info
If you check "delete old" checkbox, push "run" button and see an error - just rerun the script.
Comments (6)
Comment policy
In MAX2021 it doesnt work with XRef objects?
Hello, I tested your script. It works as it should with simple objects. When I try to replaxe XRef objects with other XRef objects I get an error called "- Syntax error: at end, expectedd - In line: " (no special line mentioned). Do you think your script works with XRef objects too?
s e l e c t i o n (maybe update?)
I would ask to add possibility to preview selection of objects that will be replaced.
Because this automatic feature with similar names causes unpredictable things.
In my case this names were considered similar:
Giorgetti (dis. Chi Wing Lo) Aro #51600 - Stul 008
&
giorgetti Ping
It forces me to use renaming script... So this is slowdown.
Manual selection can be handy in some cases as an alternative to said above.
Also noticed that there is no undo.
If you want to do this based on selection or class rather than names you could try Modifier Zorb's Make "Base Objects Instances" function as an alternative. http://www.scriptspot.com/3ds-max/scripts/modifier-modifier-zorb
The fact that the script has been made for a specific task. I will try to implement these features in the next version of the script.
Location?
Which category should I look for to bring it to the button?
Thank you.
Currently, this script only runs directly from a file, since it is not macroscript...