Community
3ds Max Programming
Welcome to Autodesk’s 3ds Max Forums. Share your knowledge, ask questions, and explore popular 3ds Max SDK, Maxscript and Python topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Max Scripting

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
606 Views, 2 Replies

Max Scripting

How  do i batch process a scene containing 1000 of objects. each object to merge vertices. doing it manually is a tedious work!! Is there any script available any suggestions greatly appreciated!!

2 REPLIES 2
Message 2 of 3
blakestone
in reply to: Anonymous

The below script will add the "Vertex Weld" modifier to every geometry object in your scene with the threshold setting of "0.1" - change this value as needed.

Delete the commented line if you don't want it to collapse the stack.

 

(
    for i in geometry do (
        addModifier i (vertex_weld())
        i.modifiers[#vertex_weld].threshold = 0.1
        collapseStack i -- delete this line if you don't want to collapse the stack
    )
)
--------------------------------------------------------------------------------------
Technical 3D Graphic Artist
Autodesk 3dsMax 2015 - Service Pack 4
--------------------------------------------------------------------------------------
Message 3 of 3
Anonymous
in reply to: blakestone

Just what i needed TYSM Smiley Happy

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report