Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[SOLVED] TRANSLATE operation doesn't work in CST Studio VBA script

Status
Not open for further replies.

pavel47

Member level 4
Member level 4
Joined
Nov 8, 2005
Messages
68
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Switzerland
Visit site
Activity points
1,790
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.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top