HFSS Visual Basic Scripting: Defining a vector/array of values
时间:03-25
整理:3721RD
点击:
I am new to scripting with HFSS, and VB coding. Is it possible to define a vector in the VB script? It does not appear to discuss this in the online manual 'Introduction to Scripting in HFSS'
http://image.sciencenet.cn/olddata/k...3952386668.pdf
An example of what I would like to do...
vect1 = [x1, x2, x3, x4,....,xn]
For i = 1 to n
value = vect1(i)
'HFSS arguments using new value...
Next
I am asking this because I would like to define a vector of X and Y positions that I will then use to change a HFSS project varaiable, that will change the position of an HFSS object. In a for loop I will iterate through the position vector, change the position of the object and then repeat my HFSS calculation. Any help is greatly appreciated.
http://image.sciencenet.cn/olddata/k...3952386668.pdf
An example of what I would like to do...
vect1 = [x1, x2, x3, x4,....,xn]
For i = 1 to n
value = vect1(i)
'HFSS arguments using new value...
Next
I am asking this because I would like to define a vector of X and Y positions that I will then use to change a HFSS project varaiable, that will change the position of an HFSS object. In a for loop I will iterate through the position vector, change the position of the object and then repeat my HFSS calculation. Any help is greatly appreciated.