Delete Duplicates (same polycount)
Hi all,
I want to remove all duplicate objects from a scene, I want to find the duplicates by comparing polycount of all objects.
When I've found the polycount of each object i want to group all objects with same polycount together and delete all but 1 of them. Should be simple, i am having trouble building an array with all duplicate objects in it though...
My code is attached below, throws no errors but doesn't add any objects to #(duplicates) array. My code does determine polycount for all objects and puts it in objs_info array.
Any help will be greatly appreciated, thank you!
Attachment | Size |
---|---|
delete_duplicates_4.ms | 1.08 KB |
Comments
Hi Marten, did you find a
Hi Marten,
did you find a solution on this? Im in a need for a similar script, unfortunately all script i tried so far didn`t checked the polycount for the duplicates, so there were sometimes objects deleted, which weren`t real duplicates but share the same position. Àny help on
this would be great.
Thanks
Robin
.
I don't know why you want first to group the objects with the same polycount and then to delete all but one, but...
Tools and Scripts for Autodesk 3dsMax