🧙脚本大法
import bpy
#新建空列表
zenmesh = []
#全部不选择
bpy.ops.object.select_all(action='DESELECT')
for i in bpy.data.objects:
#选取网格物体,检查网格物体面数是否为零,如果为零就加入空组
if i.type == 'MESH':
if len(i.data.polygons)==0:
zenmesh.append(i)
#列表非空就打印,将列表内的物体都选上
if len(zenmesh) != 0:
print(zenmesh)
for i in zenmesh:
i.select_set(True)