我写的文件就是画个平面,如下
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,可以购买本站资深专家讲授的HFSS视频培训课程。