- 插件类型:
- 插件语言:
修复Maya 提示// Error: line 1: Cannot find procedure "CgAbBlastPanelOptChangeCall... 拷贝一下代码,放入命令窗口,python运行即可: """ This will iterate all modelPanels and remove the "CgAbBlastPanelOptChangeCallback" As such, after running this the following error should be fixed: // Error: line 1: Cannot find procedure "CgAbBlastPanelOptChangeCallback". // """ from maya import cmds for model_panel in cmds.getPanel(typ="modelPanel"): # Get callback of the model editor callback = cmds.modelEditor(model_panel, query=True, editorChanged=True) # If the callback is the erroneous `CgAbBlastPanelOptChangeCallback` if callback == "CgAbBlastPanelOptChangeCallback": # Remove the callbacks from the editor cmds.modelEditor(model_panel, edit=True, editorChanged="") |
-
达克打赏了 2 微豆 44 活力值 并说:谢谢分享,希望能看到你的更多精彩作品!
楼主热帖
更多帖子
-
古装大胸妹Daz转制Maya 带绑定
浏览:67070 | 评论:213 -
Maya自动检测重名并修改mel
浏览:15693 | 评论:79 -
Maya点选择软选择次级控制器绑定插件
浏览:10788 | 评论:27 -
二次元漫画风格芳草碧连天场景~
浏览:6274 | 评论:23