它一直给我一个无效的对象,即使试图根据顶点命名它,请帮助。of cactus
cmds.polyCylinder(sc=1,sa=10,sh=10, n= "cactus1_Base["+str(i)+"]") 我得到的错误是: # Error: TypeError: file <maya console> line 17: Object cactus1_Base[99].e[140:169] is invalid this is the error im get
class pymelWindow(object): self.mainWin = pm.window("test")
with/autodesk/maya2014-x64/lib/python2.7/site-packages/pymel/internal/factories.py", line 778, in callback# res =
cmds.batchRender( r'C:\Users\marvin\Desktop\Proxy\Game\Vegetation\Tree\Tree.mb' ) 当我运行它时,我得到的结果是: # Error: ObjectDesktop\Proxy\Game\Vegetation\Tree\Tree.mb is invalid# File "<mayaconsole>", line 1, in <module>
我正在为autodesk maya编写一个python脚本,从3周开始我就遇到了一个问题。import maya.cmds as cmdsimport ntpath
global directory_Seqscmds.menuItem('listSeq', label= seq , parent="UI_SeqOptionMenu") # Typ
__dict__
{'__apiobjects__': {'MDagPath': <maya.OpenMaya.MDagPath; proxy of <Swig Object of type 'MDagPath*' at 0x00000000132ECCC0> >, 'MObjectHandle': <maya.OpenMaya.MObjectHandle; proxy of <Swig Object of
我对Python非常陌生,正在努力让我在Maya中的生活变得更轻松。我想我应该试着为我经常做的事情编写简单的循环。例如,重置所有轴。当我尝试运行这个命令时,我得到了这个错误"# Error: TypeError: file line 6:'NoneType‘object is not iterable #“from maya import cmds
def resetPivots(selecti
__.MyClass object at 0x8acbeac><__main__.MyClass object at 0x8acbf8c>TypeError: __init__() got an unexpected keyword argument 'j'
Python正确地引发类型错误并抱怨1, in <