HFSS脚本程序出错
05-08
在记事本中编写HFSS13.0脚本程序,然后将程序保存为.vbs格式后,在HFSS中点击run script总是运行不了,第二行总是会报错,出错程序如下红色字体:
Set oEditor=oDesign.SetActiveEditor("3D Modeler")
oEditor.CreateBox Array("NAME:BoxParameters","CoordinateSystemID:=",-1,
"XPosition:=","-20.5mm","YPosition:=","-20.5mm","ZPosition=:","0mm",
"XSize:=","20mm","YSize:=","20mm","ZSize:=","80mm"),
Array("NAME:Attributes","Name:=","Box1","Flags:=","","Color:=","(132 132 193)"
"Transparency:=",0.8,"PartCoordinateSystem:=","Global","MaterialName:=",
"vaccum","SolveInside:=",true)
求各位大神解答,在线等,很急!
Set oEditor=oDesign.SetActiveEditor("3D Modeler")
oEditor.CreateBox Array("NAME:BoxParameters","CoordinateSystemID:=",-1,
"XPosition:=","-20.5mm","YPosition:=","-20.5mm","ZPosition=:","0mm",
"XSize:=","20mm","YSize:=","20mm","ZSize:=","80mm"),
Array("NAME:Attributes","Name:=","Box1","Flags:=","","Color:=","(132 132 193)"
"Transparency:=",0.8,"PartCoordinateSystem:=","Global","MaterialName:=",
"vaccum","SolveInside:=",true)
求各位大神解答,在线等,很急!
坐标系ID改为1试试。
你这是用HFSS自动记录的还是你个人自己写的?一般一句代码还没完的情况下,要加个" _ "才能另起一行。你不妨用HFSS自动记录下脚本,用记事本打开看看有什么不同。
您好!请问您的问题解决了么?我也遇到了相同的问题,即使是录制的脚本也出错,现在一筹莫展啊,这方面的资料也奇缺,如果可以的话,能否给些指导哟!不胜感激涕零
相关文章:
- 关于HFSS10.0软件和外部优化程序的接口问题 (05-08)
- 3.5G内存只访问到2G就报内存不足,程序停止! (05-08)
- 关于hfss10的脚本程序 (05-08)
- HFSS应用程序错误 (05-08)
- 那位大侠有HFSS 11的安装程序啊 (05-08)
- HFSS11点击分析后程序自动关闭的问题 (05-08)
射频专业培训教程推荐