Notifications
Clear all

[Closed] Remove Edge inconsistency?

Hello guys!

I’m experiencing some very strange inconsistencies. I can post the example file and script if needed.

I’m trying to remove specific edges in an editable poly mesh.
I’m using polyop.setEdgeSelection to set the selection and EditPoly.Remove() to remove them.
Unfortunately this seems to remove the verts as well. Just as if I were to Ctrl click the Remove button.
The inconsistency is the following: if I stop the script right before the “Remove()” happens and I run the “Remove()” line manually after the script is done, then the verts will not be removed. This is what I’m looking for. I want the verts to remain untouched.
Is this inconsistency known? Am I doing something wrong?
Should I post an example mesh with the script?

Thanks a lot!

3 Replies

how is just about simply return it to ‘editable mesh’ stage, hide all edges you want to ‘remove’, and convert it back to poly?

That works perfectly for me! Thanks denisT!

Btw. how are you running the code? CTRL+E or from the menu? When CTRL isn’t pressed, it won’t remove the verts – just saying.