ScriptSpot

Script

Replace Objects/Groups

By miauu · 2016-07-05

Version
1.0
Version requirement
2009+
Date updated
2016-07-08
Votes
3
Download
Download
Description

Tags: object, replace, group

Comments (12)

Free

OleksiiZ · 2017-11-07

"""
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")

"""

Attachments

keep scale ?

berzingue · 2017-07-05

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 ?

Thank you

Waseem3D · 2017-06-05

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

.

miauu · 2017-01-09

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.

very useful script

alexnguyen · 2017-01-07

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

Attachments

.

miauu · 2017-01-07

I can't reproduce the error? can you send me a test scene at miau_u@yahoo.com ?

Thanks a lot For the sharing of this script !

harnelbe · 2016-07-25

It works great !!

exelent

alexnguyen · 2016-07-06

the first time run is ok , but the secondtime have problem

Attachments

.

miauu · 2016-07-06

How exactly you use it the second time? Can you describe the steps or make a video?

.

miauu · 2016-07-07

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