Replace Objects Script

7 votes
Version: 
1.0
Date Updated: 
10/17/2014
Author Name: 
Barometer


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.

Additional Info: 

If you check "delete old" checkbox, push "run" button and see an error - just rerun the script.

Version Requirement: 
3ds Max 9 or higher
Video URL: 
AttachmentSize
replaceobjectsscript.mse3.57 KB

Comments

Comment viewing options

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

Currently, this script only

Currently, this script only runs directly from a file, since it is not macroscript...

Barometer's picture

The fact that the script has

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.

Jordan Walsh's picture

If you want to do this based

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

Custom's picture

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.

Custom's picture

Location?

Which category should I look for to bring it to the button?
Thank you.

Comment viewing options

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