是否可以在maya python中为textScrollList项添加图标网格?
def allMeshes(*args):
listMesh = cmd.ls(type="mesh")
geometry = cmd.listRelatives(listMesh, p=True )
if len(geometry) > 0:
for g in geometry:
cmd.textScrollList('lstMesh', e=True, a=g) #here add icon
else:
return
谢谢