Model Check List

  • zero vtx shape
    # test empty geo shape
    all_geo_list = cmds.ls(type='mesh')
    zeroVtx_list = []
    for each in all_geo_list:
        if cmds.polyEvaluate(each, v=1) == 0:
            zeroVtx_list.append(each)
    print(zeroVtx_list)