• 易迪拓培训,专注于微波、射频、天线设计工程师的培养
首页 > CST > CST使用问答 > TRANSLATE operation doesn't work in CST Studio VBA script

TRANSLATE operation doesn't work in CST Studio VBA script

录入:edatop.com     点击:
Hello,

I'm reluctant to recognize, that CST studio documentation is the worst among all thoses that I have seen before.
The explonatory text is poor and in many cases there is no examples.

Here is my case. I want to move body TX_section on 10 units in y-direction

Code:
	With Transform	.Reset	.Name "TX_section"	.Component "TX"	.Vector (0,10.0,0)	.Transform ("Shape", "Translate")End With
After code execution the body TX_section remains unmoved

Does anybody knows some nice tutorial about using VBA scripts in CST studio projects

Regards,

Pavel.

- - - Updated - - -

Resolved. Here is right code (after half an hour of attempts):
Code:
	With Transform	.Reset	.Name "TX:TX_section"	.Vector (pitch/2, pitch/2, 0)	.Transform ("Shape", "Translate")End With
Component and object must be separated by ':'. But it's documented NOWHERE !

Regards.

Pavel.

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

上一篇:cst prices define
下一篇:designing,feeding,simulating an helical antenna using cstmws

CST培训课程推荐详情>>

  网站地图