Maya mel maya档出现位置插件解决方法
以下 mel 代码,拷贝到 maya 的脚本编辑器的 mel 中,最好运行两次
string $unknownNodes[] = `ls -type "unknown"`;
for($node in $unknownNodes) {
print( "Deleting " + $node + "\n" );
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
requires "physx" "PhysxForMaya (2.86.00820.10150) , compiled 8/19/2012 1:03:57 AM";
# Error: line 1: RuntimeError: file
requires "maxwell" "1.6.4";
# Error: line 1: RuntimeError: file
requires "realflow" "5.0.2";
# Error: line 1: RuntimeError: file
requires "finalRender" "1.0";
# Error: line 1: RuntimeError: file
requires "rpmaya" "2.0";
# Error: line 1: RuntimeError: file
requires "faceMachine" "1.0";
# Error: line 1: RuntimeError: file
requires "TurtleForMaya80" "4.0.0.6";
# Error: line 1: RuntimeError: file
requires "TurtleForMaya70" "3.1.0.6";
# Error: line 1: RuntimeError: file
requires "RenderMan_for_Maya" "1.0";
# Error: line 1: RuntimeError: file
requires "MayaMan" "1.2.57";
# Error: line 1: RuntimeError: file
requires "FurryBall_2012" "3.0.2208";
# Error: line 1: RuntimeError: file
requires "CraftMayaAdaptor2008" "7.0";
# Error: line 1: RuntimeError: file
requires "mtorsubdiv" "1.1";
# Error: line 1: RuntimeError: file
requires "DisplaceD" "1.13";
# Error: line 1: RuntimeError: file
// 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 Files\Autodesk\Maya2016\Python\lib\site-packages\pymel\core\__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;