Maya mel maya档出现未知插件解决方法

Maya mel maya档出现未知插件解决方法

以下 mel 代码,拷贝到 maya 的脚本编辑器的 mel 中,最好运行两次 

string $unknownNodes[] = `ls -type "unknown"`;

for($node in $unknownNodes) {
print( "Deleting " + $node + " " );
lockNode -lock 0 $node;
delete $node;
}

string $plugin;
string $unknownPlugins[] = `unknownPlugin -query -list`;
for ($plugin in $unknownPlugins)
{
unknownPlugin -remove $plugin;
}

参考链接:https://forums.autodesk.com/t5/maya-forum/how-to-delete-old-unwanted-missing-maya-plug-ins/td-p/8634365

以下是报错信息:

# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "vrayformaya", was not found on MAYA_PLUG_IN_PATH. # 
requires "physx" "PhysxForMaya (2.86.00820.10150) , compiled 8/19/2012 1:03:57 AM";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "physx", was not found on MAYA_PLUG_IN_PATH. # 
requires "maxwell" "1.6.4";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "maxwell", was not found on MAYA_PLUG_IN_PATH. # 
requires "realflow" "5.0.2";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "realflow", was not found on MAYA_PLUG_IN_PATH. # 
requires "finalRender" "1.0";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "finalRender", was not found on MAYA_PLUG_IN_PATH. # 
requires "rpmaya" "2.0";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "rpmaya", was not found on MAYA_PLUG_IN_PATH. # 
requires "faceMachine" "1.0";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "faceMachine", was not found on MAYA_PLUG_IN_PATH. # 
requires "TurtleForMaya80" "4.0.0.6";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "TurtleForMaya80", was not found on MAYA_PLUG_IN_PATH. # 
requires "TurtleForMaya70" "3.1.0.6";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "TurtleForMaya70", was not found on MAYA_PLUG_IN_PATH. # 
requires "RenderMan_for_Maya" "1.0";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "RenderMan_for_Maya", was not found on MAYA_PLUG_IN_PATH. # 
requires "MayaMan" "1.2.57";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "MayaMan", was not found on MAYA_PLUG_IN_PATH. # 
requires "FurryBall_2012" "3.0.2208";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "FurryBall_2012", was not found on MAYA_PLUG_IN_PATH. # 
requires "CraftMayaAdaptor2008" "7.0";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "CraftMayaAdaptor2008", was not found on MAYA_PLUG_IN_PATH. # 
requires "mtorsubdiv" "1.1";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "mtorsubdiv", was not found on MAYA_PLUG_IN_PATH. # 
requires "DisplaceD" "1.13";
# Error: line 1: RuntimeError: file <maya console> line 1: Plug-in, "DisplaceD", was not found on MAYA_PLUG_IN_PATH. # 
// Warning: line 0: Unrecognized node type for node 'shapeEditorManager'; preserving node information during this session. // 
// Warning: line 0: Unrecognized node type for node 'poseInterpolatorManager'; preserving node information during this session. // 
optionVar -sv colorManagementColorPickerColorSpaceSelection "Rendering Space";
optionVar -iv colorManagementColorPickerColorMgtEnabled 1;
// Warning: line 0: Errors have occurred while reading this scene that may result in data loss.

Please check the Script Editor for details. // 
// File read in 62.2 seconds.
// Error: line 0: RuntimeError: file C:Program FilesAutodeskMaya2016Pythonlibsite-packagespymelcore\__init__.py line 151: (kInvalidParameter): No element at given index // 
// Warning: line 0: Python callback failed // 
optionVar -sv colorManagementColorPickerColorSpaceSelection "Rendering Space";
optionVar -iv colorManagementColorPickerColorMgtEnabled 1;

原文地址:https://www.cnblogs.com/ibingshan/p/11338876.html