I need a script that deletes all vertices from a group of selected objects. I intend to merge some other objects to them afterwards to effectively copy their names.
I previously asked how to delete only specific vertices below a certain Y coordinate here: Python: Delete vertices by coordinates The solution does work but it takes a pretty long time. I assume bc it has to individually check all the vertices and this are pretty dense meshes. The vertices above the Y coordinate are from objects that get merged into them, so I think that maybe I could just delete all the vertices in the original objects and then merge the other ones without having to worry about coordinates. I assume this would be a lot faster since it only involves selecting everything in edit mode and deleting it.
I've tried modifying the code given in the other question to do what I want but I really don't know what I'm doing when it comes with programming. If anyone can give me a hand that'd be much appreciated.