Problems with using VBA scripting language in CST MWS

Status
Not open for further replies.

kleinesmurf69

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.
 
Reactions: bannay

    bannay

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…