微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 电磁仿真讨论 > Problems with using VBA scripting language in CST MWS

Problems with using VBA scripting language in CST MWS

时间:03-22 整理:3721RD 点击:
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

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

Regards,
P.

Hello,

The code as requested.

Thanks.
Best regards.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top