- 易迪拓培训,专注于微波、射频、天线设计工程师的培养
HFSS中VBS的问题
录入:edatop.com 点击:
我想写个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视频培训教程。