是我表述有误 实际上问题是 在workBench project 中打开mechanical block时出现错误。 之后,我无法在特定块中执行任何操作(调节参数或者再次运算), 基本上整个项目都像是丢失了。我试过将项目存档,在另一台电脑上打开,将 Ansys 设置重置为默认设置,都没有成功。
错误信息:
Line 46494
Char 5
Code 80004005
Source
Script g_UIHandler.TreeHandler.FillTree();
这是网上19年的一份解决方案,解决了部分人的问题。据说是应用数据的问题,你可以试试:
Try this.
Make sure all ANSYS applications are closed, then try registering the DLL's by starting a Command Prompt with "run as administrator" , and issuing the following commands
regsvr32.exe ole32.dll
regsvr32.exe atl.dll
regsvr32.exe oleaut32.dll
regsvr32.exe scrrun.dll
regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
All must say successful.
Then, open up a regular Command Prompt , do not "run as administrator", and issue the following command
move "%appdata%\ansys" "%appdata%\ansys.old"
Thanks,
Win
翻译一下:
关闭ANSYS软件,以管理员模式
打开命令行:
依次复制粘贴下面每一条命令,运行:
regsvr32.exe ole32.dll
regsvr32.exe atl.dll
regsvr32.exe oleaut32.dll
regsvr32.exe scrrun.dll
regsvr32.exe jscript.dll
regsvr32.exe vbscript.dll
运行成功之后,关闭命令行。
以普通模式运行命令行,就是直接点击上面图片中的打开
选项,运行下面的命令:
move "%appdata%\ansys" "%appdata%\ansys.old"
这样,应该能解决。
如果不行,最后一步替换成下面的方案:
And after this step you should go to Disk C:-> Users-> The folder with your name -> AppData -> Roaming -> Ansys. So you can rename the folder with your license (mine for example is v201) for "(Your License)_old" (mine for example v201_old).
软件版本跟以前用的不一样也有可能使文件报错,有些新增加了功能,还有修改了bug,修改了功能这些。建议找一下以前的软件版本,或者照着以前的项目用现在的软件新弄一个文件
http://www.360doc.com/content/19/0122/08/36876524_810522204.shtml