Copy Replace

35 votes
Version: 
2
Date Updated: 
11/30/2011

Turns a selection of objects into instances or references of another object.

Fixed in v 2.0:

  • Instances outside the selection are not replaced anymore. (Thanks to Anubis)
  • Added the option to choose between instance or reference
  • Changed the "Button name" to "Copy replace"
Version Requirement: 
2011 and prior versions

Comments

Comment viewing options

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

Great script, thanks for your

Great script, thanks for your work!

And here is an idea for further expansion of functionality, if i may - an ability to make a set of objects with which selected ones being replaced randomly (or according to some rules, maybe with options?), not just single one - it would be awesome.

Anyway, still very useful as is.

Hani Tiby's picture

2014

Thanks, for testing and for using :D

vyle's picture

Tested it in 2014

Works great in 2014, hugely useful script!

Hani Tiby's picture

Thanks

Thanks barigazy for testing

barigazy's picture

I tested in max2012x64 and

I tested in max2012x64 and max2013x64 and script works as expected.

bga

Hani Tiby's picture

Didn't test it yet

Hi Egeer,

I didn't test it in Max 2012 yet, but it should be working fine as it's too simple and basic. it's also working in 2011.
--
Christopher Grant commented on compatibility issues saying:

"Due to the way scripts work they are almost always forward compatible. I just verified this script work in 2009 and I'm sure it'll work in 2008...

The only time there are issues with scripts are ones that are *really* old (max 2, 3 era) or ones that used ActiveX controls which were no longer available in 64 bit versions of Windows / 3ds Max... Other than that you can confidently use scripts for max 5, 6, 7, 8, 9, 2008, 2009 with any newer version of 3ds Max...

Christopher Grant
ScriptSpot.com"

--

concerning how to run it in 2012:
- like all macroscripts, put the file in C:\Program Files\Autodesk\3ds Max 2012\UI\MacroScripts
- restart Max if it's open
- customize your UI to add the tool.
- you'll find it in a category named "Hani"

--

Soon I'll make some fixes with the script, and I'll post the new one with the Max version update.
Sorry for being late, but I'm Egyptian, and politicians in my country are so busy these days making life so hard.
wish me luck :D

Hani Tiby's picture

Sorry for being late, I'll

Sorry for being late, I'll check this issue soon.
Thanks for your feedback :D

egeer's picture

does this script work for max 2012?

how do I get this script to run in max 2012?

Artie's picture

Thanks!

Awesome script! Very much helping me out. Just wanted to point out your statement "Instances outside the selection are not replaced anymore". This is not applicable to reference object.
Please, fix this.

Hani Tiby's picture

Thanks for the feedback

I'll check the groups and targeted nodes too.

Comment viewing options

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