• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > CST > CST使用问答 > Problems with using VBA scripting language in CST MWS

Problems with using VBA scripting language in CST MWS

录入:edatop.com     点击:
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.

申明网友回复良莠不齐,仅供参考。如需专业解答,请学习易迪拓培训专家讲授的CST视频培训教程

上一篇:CST Make cylinder in radial direction
下一篇:CST tutorial

CST培训课程推荐详情>>

  网站地图