How to remove unused map verts?

How to remove unused map verts?

dmitriy.shpilevoy
Collaborator Collaborator
373 Views
2 Replies
Message 1 of 3

How to remove unused map verts?

dmitriy.shpilevoy
Collaborator
Collaborator

Hello, folks.

Editable Poly has a button for it, but can't find a way to call it from script.

Can probably find them by going through geo verts, collecting corresponding UV verts and then substracting it from all map verts, but I still don't know how to remove those UV vertices.

 

My backup plan is to add Edit_Poly and use its #RemoveIsoMapVerts. Feels nasty though.

0 Likes
Accepted solutions (1)
374 Views
2 Replies
Replies (2)
Message 2 of 3

MartinBeh
Advisor
Advisor
Accepted solution

This documentation  (search for "RemoveIsoMapVerts") seems to suggest you can use

EditablePoly>.buttonOp #RemoveIsoMapVerts

You might have to be in the right sub-object mode before you run this, e.g. 

max modify mode
subobjectlevel = 1

(not sure you need subojectlevel = 1  (= vertex) SO mode or something else)

Martin B   EESignature
→ please 'Like' posts that are helpful; if a post answers your question please click the "Accept Solution" button.
0 Likes
Message 3 of 3

dmitriy.shpilevoy
Collaborator
Collaborator

Thank you. In this case it does the trick.
Still don't understand why this functionality is not exposed normally to maxscript 8(

0 Likes