{1美元^
cmds.frameLayout(label=all[0],borderStyle='out',collapse=1,collapsable=True,width=210)
cmds.columnLayout()
cmds.textScrollList(h=100,w=200,allowMultiSelection=True)
for i in range(0,size):
cmds.textScrollList(edit=True,a=string[i])
这是我的Python代码
我想问为什么
^{pr2}$有错误
"No object name specified textScrollList"
我能做什么?在
错误代码本身就说明了问题,您需要在创建和编辑
textScrollList
时为其指定一个名称。否则Maya将无法知道要在哪个textScrollList
上附加项目。在这可以是您想要的任何字母数字字符,只要其中没有空格(如果需要,请使用下划线)。在
考虑尝试为所有的UI元素应用命名约定。在
相关问题 更多 >
编程相关推荐