求助:HFSS中VBS的问题
05-08
我想写个VBS文件,然后导入HFSS,但导入时出现错误.
我写的文件就是画个平面,如下
oEditor.CreateBox
Array("NAME:BoxParameters", "Xposition:=", "0mm", "Yposition:=", "0mm", "Zposition:=",_"4.000mm", "Xsize:=", "49.000mm", "Ysize:=", "49.000mm", "Zsize:=", "0.2mm"), _
Array("NAME:Attributes", "Name:=", "patch","Flags:=", "" , "Color:=", "(180255200)", "Transparency:=", 0.1, "PartCoordinateSystem:=","Global","MaterialName:=", "perfect conductor", "SolveInside:=",false)
运行时出现错误,我是直接用记事本写的程序,然后把后缀改为vbs
附件里面是错误的截图
我写的文件就是画个平面,如下
oEditor.CreateBox
Array("NAME:BoxParameters", "Xposition:=", "0mm", "Yposition:=", "0mm", "Zposition:=",_"4.000mm", "Xsize:=", "49.000mm", "Ysize:=", "49.000mm", "Zsize:=", "0.2mm"), _
Array("NAME:Attributes", "Name:=", "patch","Flags:=", "" , "Color:=", "(180255200)", "Transparency:=", 0.1, "PartCoordinateSystem:=","Global","MaterialName:=", "perfect conductor", "SolveInside:=",false)
运行时出现错误,我是直接用记事本写的程序,然后把后缀改为vbs
附件里面是错误的截图
回去再把VBS好好看看吧
就这两句?
前面的初始化呢?
是啊,没有初始化的语句啊。你可以用hfss的录制功能录一个脚本看一下前面的初始化语句,不过要在没打开hfss的情况下运行,那些语句还要修改
相关文章:
- 怎样用HFSS画螺旋线! (05-08)
- HFSS怎样在波导中显示多个模式 (05-08)
- 关于HFSS画平面只显示外框线的问题! (05-08)
- 机器不太好时运行HFSS可以这样! (05-08)
- Ansoft Hfss (05-08)
- 有没有ADS,HFSS,CST的好点的教材或讲座? (05-08)
射频专业培训教程推荐