i've spend several hours to find a script for the following problem.
after importing 3ds files from cad software i've end up with many meshes with isolated vertices.
one script i've found can fix this for only one mesh in single selection.
macroscript RemoveIsolatedVertices category:"- SelfMade -"
(
on isEnabled return
(
selection.count == 1 and classOf selection[1].baseobject == Editable_Mesh
)
on execute do
(
max modify mode
modPanel.setCurrentObject $.baseobject
meshOps.removeIsolatedVerts $
)
)
im not able to rewrite it so it works with multiple selection.
after import i have hundred of meshes with isolated vertices.
can anyone please help me or is knowing a script for that case?
thanks for any advice!
axel
after importing 3ds files from cad software i've end up with many meshes with isolated vertices.
one script i've found can fix this for only one mesh in single selection.
macroscript RemoveIsolatedVertices category:"- SelfMade -"
(
on isEnabled return
(
selection.count == 1 and classOf selection[1].baseobject == Editable_Mesh
)
on execute do
(
max modify mode
modPanel.setCurrentObject $.baseobject
meshOps.removeIsolatedVerts $
)
)
im not able to rewrite it so it works with multiple selection.
after import i have hundred of meshes with isolated vertices.
can anyone please help me or is knowing a script for that case?
thanks for any advice!
axel
Comment