dunderwo
Newbie level 1
- Joined
- Jun 11, 2014
- Messages
- 1
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 10
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'
https://image.sciencenet.cn/olddata/kexue.com.cn/upload/blog/file/2010/10/2010101493952386668.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.
https://image.sciencenet.cn/olddata/kexue.com.cn/upload/blog/file/2010/10/2010101493952386668.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.