微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 电磁仿真讨论 > TRANSLATE operation doesn't work in CST Studio VBA script

TRANSLATE operation doesn't work in CST Studio VBA script

时间:03-30 整理:3721RD 点击:
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.
上一篇:Re: DXf Files to Gerber
下一篇:最后一页

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

网站地图

Top