Remove isolated vertices on selected objects

Hi, is anyone here can help me with a script to remove isolated vertices on selected objects? (mesh objects... but it would be great if it could work with mesh or/and poly)

thank you

Comments

Comment viewing options

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

workaround

what about this ? I don't know how to do it for Mesh, so workaround is to convert them all to Polys then remove the iso verts.

for obj in (selection as array) do ( convertTo obj PolyMeshObject obj.EditablePoly.deleteIsoVerts () )

Update, how about this: works for either Mesh or Polys

for obj in (selection as array) do

( if classOf obj == editable_mesh then

meshop.deleteIsoVerts obj

else if classOf obj == editable_poly then

obj.EditablePoly.deleteIsoVerts () )

thgthgthg's picture

It worked!!! Thank you very

It worked!!!

Thank you very much!

Comment viewing options

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