- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
VBScript脚本编写的HFSS建模错误求助
录入:edatop.com 点击:
我在编写VBScript时出现错误 提示800A0408 说是无效字符
前面代码如下
Dim oAnsoftApp
Dim oDesktop
Dim oProject
Dim oDesign
Dim oEditor
Dim oModule
Set oAnsoftApp = CreateObject("AnsoftHfss.HfssScriptInterface")
Set oDesktop = oAnsoftApp.GetAppDesktop()
oDesktop.RestoreWindow
oDesktop.NewProject
Set oProject = oDesktop.GetActiveProject
oProject.InsertDesign"HFSS","HFSSmodel1","DrivenModal",""
Set oDesign = oProject.GetActiveDesign()
Set oEditor = oDesign.SetActiveEditor("3D Modeler")
请帮我看看哪里不对?谢谢大家了
前面代码如下
Dim oAnsoftApp
Dim oDesktop
Dim oProject
Dim oDesign
Dim oEditor
Dim oModule
Set oAnsoftApp = CreateObject("AnsoftHfss.HfssScriptInterface")
Set oDesktop = oAnsoftApp.GetAppDesktop()
oDesktop.RestoreWindow
oDesktop.NewProject
Set oProject = oDesktop.GetActiveProject
oProject.InsertDesign"HFSS","HFSSmodel1","DrivenModal",""
Set oDesign = oProject.GetActiveDesign()
Set oEditor = oDesign.SetActiveEditor("3D Modeler")
请帮我看看哪里不对?谢谢大家了
如果你是用record Script产生的vbScript文件,就可以理解为什么报错了!在程序的最前端有隐藏的无效字符。把隐藏的字符去掉就OK了。
哦 我再去看看 谢谢你啊
请问你解决了吗?我也遇到这样的问题!120757837,请求指点
申明:网友回复良莠不齐,仅供参考。如需专业帮助,请学习业界专家讲授的天线设计视频培训教程。
上一篇:怎样理解阻抗匹配
下一篇:什么是天线的反谐振频率