View Single Post
# 7 20-03-2019 , 03:19 PM
Registered User
Join Date: Mar 2019
Posts: 1
Old post I know, but if anyone needs a method other than the built in delete edge/vertex, select all the vertices in the mesh you are trying to target, then:

selected = cmds.ls(sl=1, fl=1)

cmds.select(clear=True)
for v in selected:
if len(cmds.polyInfo(v,ve=True)[0].split(" ")) == 4:
cmds.select(v,add=True)

cmds.delete(cmds.ls(sl=True))