About this site
ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Comments
Nice one Barigazy, very
Nice one Barigazy, very useful, can this be made to work on duplicate splines easily ?
...
Only if splines share same pivot ei. positions in the scene.
Works on any kind of max object.
bga
Oh you f***ing beauty !! I've
Oh you f***ing beauty !!
I've been searching for a way to do this for weeks, your pivot comment was the solution, after centering the pivot on all the dupe splines it works perfectly!
http://www.screencast.com/t/wRWEHzc7Dxh
Many thanks!
Hello. Sorry to dig up an old
Hello. Sorry to dig up an old thread. I thought perhaps this code would work for me but I got the message:
-- Syntax error: at ), expected
-- In line: )
Here's my situation: A couple CAD files I've imported (into Max 2016, which retains instancing) have between 16k and 20k objects in them. Hundreds (maybe thousands) of these objects are duplicate instances that I don't need, and cause rendering problems. So I need a script that will delete duplicate instances of objects. However, to make sure all my instanced nuts and bolts remain, the script should only delete the extra objects that have the same pivot point.
It would probably be doable by hand if the objects had proper names, but most of these objects came in with the exact same names as hundreds of other objects.
Thanks. I hope you can help.
- Geoff
...
Try this function
BTW you can use "mode" argument as:
- #originals (when you want to select first ei. original objects)
- #duplicates (to select all object that have same position as original objects)
Also when you want to delete selected object use argument "del"
EXAMPLE
bga
This is untested code just
This is untested code just try and tell my how works for you
bga
Thank you for helping. I'm
Thank you for helping. I'm afraid nothing happens when I run the script though. :o/
- Geoff
...
First run the function then run one of theses two codes below
bga
double_select_tool
Try with this tool
bga
U can use the next --check
U can use the next
--check distance
--check bounding box
--check ClassName
--check transform
--check modifiers count etc.
Try by yourself and show me your result.
Just u need to change one line of my code
bga