Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

HFSS Visual Basic Scripting: Defining a vector/array of values

Status
Not open for further replies.

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.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top