找回密码
 注册
Simdroid-非首页
查看: 286|回复: 5

[软件学习与使用] 关于workbench13.0+ncode design life 的疑问~~(已解决)

[复制链接]
发表于 2011-12-16 17:03:25 | 显示全部楼层 |阅读模式 来自 北京理工大学
本帖最后由 大漠胡杨010 于 2011-12-17 16:42 编辑 % H' d0 o  \  q7 h4 e
" h& j+ j' z, U- n: c5 o7 Y3 @# o
各位前辈,我的电脑暗安装了ansys13.0,然后启动workbench没问题。! i5 C! b+ s7 ?, y  F
然后,我有安装了ansys13.0 ncode design life,这时候单独启动ncode design life可以,然后,我的workbench中,就多了关于design life的几个分析模块,6 _& s, k) o) s( H& e# s, Z& b
很正常,这是因为本来就是一家,可是,这时候,我的workbench中得其他分析模块都没法使用了,比如static structure分析拖到
! j% {4 ^% x: B框里就会出现如图的提示,然后就没法使用了,提示的内容是:
% h/ `' }' M# T) ]4 @1 _/ L, }8 w
System.NullReferenceException: 未将对象引用设置到对象的实例。
   at Ansys.EngineeringData.DataProvider.ReaderLoader.GetSectionXmlNode(String readerSection)
   at Ansys.EngineeringData.DataProvider.ReaderLoader.LoadReadersFromConfig()
   at Ansys.EngineeringData.DataProvider.DataProviderManager.Initialize(Boolean autoImportFromEDABin, Boolean loadTestObjects)
   at Ansys.EngineeringData.DataProvider.DataProviderManager.Initialize(String language, Boolean autoImportFromEDABin)
   at Ansys.EngineeringData.Commands.InitializeEngineeringDataLibrary.ExecuteInitialize(IFullContext context)
   at Ansys.EngineeringData.Commands.InitializeEngineeringDataLibrary.Execute(IFullContext context)
   at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
   at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
   at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ansys.Core.Commands.CommandFailedException: 未将对象引用设置到对象的实例。
CommandName: EngData.InitializeEngineeringDataLibrary(Name="Engineering Data 2")
   at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
   at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
   at Ansys.Core.Commands.Core.OutputArgBase.Wait()
   at Ansys.Core.Commands.Output`1.Get()
   at Ansys.ProjectSchematic.Data.ComponentTemplateEntity.Create(IFullContext context, String withName, DataReference inSystem, List`1 UpstreamContainers, SystemPropertyDictionary systemProperties)
   at Ansys.ProjectSchematic.Commands.CreateComponentFromTemplateCommand.Execute(IFullContext context)
   at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
   at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
   at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ansys.Core.Commands.CommandFailedException: 未将对象引用设置到对象的实例。
CommandName: CreateComponentFromTemplate(Template="/Schematic/ComponentTemplate:EngDataCellTemplate", Name="Engineering Data", System="/Schematic/System:SYS", UpstreamComponent=[], AllSystemProperties={"SystemType": ["Static Structural (ANSYS)"], "SystemTypeAbbreviation": ["SYS"], "Solver": ["", "ANSYS"], "Physics": [], "PhysicsType": ["Structural"], "AnalysisType": ["Static"], "SolverType": ["ANSYS"], "SolverTypeDisplayString": ["Mechanical APDL"], "PhysicsTypeDisplayString": ["Structural"], "AnalysisTypeDisplayString": ["Static Structural"], "SystemName": ["Static Structural (ANSYS)"], "UniqueSystemDirectoryName": ["SYS"]})
   at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
   at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
   at Ansys.Core.Commands.Core.OutputArgBase.Wait()
   at Ansys.ProjectSchematic.DataHandling.ProjectWrapper.CreateComponentFromTemplate(IComponentTemplate template, String name, ISystem inSystem, Dictionary`2 sources, SystemPropertyDictionary systemProperties)
   at Ansys.ProjectSchematic.DataHandling.SystemBuilder.doInsertNewComponent(IComponentTemplate newComponentTemplate, String name, IComponent beforeComponent, Dictionary`2 componentSources)
   at Ansys.ProjectSchematic.DataHandling.SystemCreation.doCreateSystem(String name, ISystemTemplate sysTemplate, ISystem posBySys, PositionType posType, GetShareableComponentCB getShareable, GetDuplicatableComponentCB getDuplicatable, GetSourcesCB getSources, PostCreateCB postProcessing, Boolean skipPostCreationSteps, Dictionary`2 createdComponentsByTypeAbbreviation)
   at Ansys.ProjectSchematic.DataHandling.SystemCreation.CreateSystem(String name, ISystemTemplate sysTemplate, IList`1 componentsToShare, IList`1 componentsToUse, ISystem systemToPositionBy, PositionType posType, Boolean createPreceding)
   at Ansys.ProjectSchematic.Commands.CreateSystemCommand.Execute(IFullContext context)
   at Ansys.Core.Commands.Concurrency.CommandWorkUnit.executeInContext(CommandContext subContext, IExecutionEngineCallback tracer)
   at Ansys.Core.Commands.Concurrency.BaseWorkUnit.doExecute(IExecutionEngineCallback executionEngine, CommandContext subContext)
   at Ansys.Core.Commands.Concurrency.BaseWorkUnit.Execute(IExecutionEngineCallback executionEngine, Boolean dontCatchExceptions)
--- Ansys.Core.Commands.CommandFailedException: 未将对象引用设置到对象的实例。
CommandName: CreateSystem(Template="/Schematic/Template:Static Structural (ANSYS)")
   at Ansys.Core.Commands.CommandAsyncResult.RethrowFailureException(Exception e)
   at Ansys.Core.Commands.CommandAsyncResult.Wait(Int32 milliSecondsTimeout, Boolean exitContext)
   at Ansys.Core.Commands.CommandAsyncResult.Wait()
   at Ansys.ProjectSchematic.Commands.CreateSystemCommand.InvokeAndWait(IProtectedContext context, DataReference template, String name, IEnumerable`1 componentsToShare, IEnumerable`1 dataTransferFrom, IEnumerable`1 dataTransferTo, Nullable`1 position, DataReference relativeTo)
   at Ansys.ProjectSchematic.Presentation.Schematic.AddSystemFromTemplate(IProtectedContext commandContext, SystemTemplate src, SystemBlock fromSystem, List`1 cellsToShare, SystemBlock positionSystem, Nullable`1 positionType)
   at Ansys.ProjectSchematic.Gui.TemplateToolboxModel.<>c__DisplayClass3.<OnEntryDoubleClicked>b__0()
   at Ansys.UI.UIManager.InvokeOperationCore(String pseudoname, OperationDelegate callback, Boolean allowOSMessages, Boolean coreTransaction)
请问各位前辈,是不是在一台电脑上安装这两个软件的时候,应该注意点什么?是不是两个的license冲突了吗?9 Q% {' }0 d& e+ b( }' ~( |8 S' o0 E
应该怎么办?谢谢大家!!
( z# Q7 b5 S0 c' Q

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
 楼主| 发表于 2011-12-17 16:39:05 | 显示全部楼层 来自 北京理工大学
回复 不支持

使用道具 举报

发表于 2011-12-19 15:11:45 | 显示全部楼层 来自 江苏南京
楼主是怎么解决的啊?, Y, Q3 P  ^6 e
xp下这个问题很好解决,网上也能找到# p6 |. a/ h' O
win7下,我这个问题一直没解决,我看你是win7,怎么解决的啊?
回复 不支持

使用道具 举报

 楼主| 发表于 2011-12-19 20:51:41 | 显示全部楼层 来自 北京理工大学
locklock 发表于 2011-12-19 15:11 . `/ K' L% \$ \7 e0 V1 v9 t3 ~9 b
楼主是怎么解决的啊?
8 h$ W9 @; d$ ~6 u$ }, cxp下这个问题很好解决,网上也能找到/ j/ Y1 i1 M* o5 E6 P1 L( o
win7下,我这个问题一直没解决,我看你是win7,怎么 ...

2 ]5 c9 {, K2 e6 i8 A, G上面有贴,按这个操作,修改一下里面的语句就行了~~http://forum.simwe.com/thread-1017395-1-1.html
回复 不支持

使用道具 举报

发表于 2011-12-21 15:32:26 | 显示全部楼层 来自 湖南长沙
楼主说的好,总结地很全面,学到了好多
回复 不支持

使用道具 举报

发表于 2017-2-22 11:19:39 | 显示全部楼层 来自 广东东莞
不错的,谢谢!
回复 不支持

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|小黑屋|联系我们|仿真互动网 ( 京ICP备15048925号-7 )

GMT+8, 2024-4-20 13:43 , Processed in 0.033360 second(s), 11 queries , Gzip On, MemCache On.

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表