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.

Problems with using VBA scripting language in CST MWS

Status
Not open for further replies.

kleinesmurf69

Member level 5
Member level 5
Joined
Mar 6, 2003
Messages
90
Helped
7
Reputation
14
Reaction score
4
Trophy points
1,288
Activity points
911
Hello,

In order to automise the design of an antenna I have started to use the VBA scripting language. When using the "With Optimizer" block I run into trouble with the instruction: .SelectParameter "x", False". CST MWS indicates that the selected parameter does not exist whereas it has clearly been defined previously and is even present in the parameter list under menu item Edit and the .par file in the project directory. I created a project using the interface and saved the entire history list as a macro as a starting point. Then, I closed CST, restarted it without opening a file/template andI ran the script . Is there is a problem with the instruction or translation from history list to macro or ...? Does anyone know how to overcome this problem?

Thanks.
Best regards
 

how to see the vba behind cst

Can you post the code so we can take a look ?

Regards,
P.
 

vba cst

Hello,

The code as requested.

Thanks.
Best regards.
 
  • Like
Reactions: bannay

    bannay

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top