Replace Objects/Groups

3 votes
Version: 
1.0
Date Updated: 
07/08/2016

Replace desired objects or groups with clones(copies, instances, references) of another object or group.

New version of the script: http://miauumaxscript.blogspot.bg/p/miauus-objects-replacer.html

Version Requirement: 
2009+

Comments

Comment viewing options

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

Free

"""
0. Save this text like ObjectReplacement.py
1. Go to Scripting\MAXScript Listener (F11)
2. Write path where the script in MAXScript Listener python.ExecuteFile "..\\ObjectReplacement.py"
3. Select objects you need to replace
4. Write name of object that will be in function ObjectReplace("Torus002")
5. Run Script (press Enter in MAXScript Listener aftere the string python.ExecuteFile "..\\ObjectReplacement.py")

"""

AttachmentSize
objectreplacement.txt 1.22 KB
berzingue's picture

keep scale ?

Hi,

first, thanks for your tool, it works great and helpfull.

Just one thing : is it possible to keep the dimensions of old objects ? Exemple : my reference object is a tree (dimensions 30x30x30) : I need to replace boxes by the tree. But I need the trees keep the boxes dimensions. Lije this it makes a forest with a lot of various trees.

Would it possible to add this fonction ?

WaseemOnLine's picture

Thank you

This script saved a lot of time for me. Thank you very much for sharing it.

miauu's picture

.

Please, try the _m version of the script. There is new "Match" option - Transformation. use it when you want to replace the mirrored groups or obejcts.

alexnguyen's picture
miauu's picture

.

I can't reproduce the error? can you send me a test scene at [email protected] ?

alexnguyen's picture

very useful script

your script is very uselful , but it does not understand mirror group , can you fix it, thank you very much

AttachmentSize
capture.jpg 705.61 KB
harnelbe's picture

Thanks a lot For the sharing of this script !

It works great !!

Arnaud ALB LE BOT AKA Harnelbe Mammakinna

miauu's picture

.

Thank you for the video.
The problem is solved. Download the mcr file again and install it.

Comment viewing options

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