import os cmds.window() scrollLayout = cmds.scrollLayout(w=150) cmds.gridLayout( numberOfColumns=30, cellWidthHeight=(30, 30) ) for a in cmds.resourceManager(nameFilter="*.png"): cmds.symbolButton (image = a,c = 'os.popen( "cmd /c echo %s | clip")'%(a) ) cmds.showWindow()
点击图标复制图标名