CST VBA linking blocks

Status
Not open for further replies.

thorin

Newbie level 2
Joined
Jun 1, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
Hi to all

As part of a circuit set-up i'm trying to link a capacitor and a ground block by using these commands:

With Link
.Reset
.SetSourcePortFromBlockPort("CAP4","1",False)
.SetTargetPortFromBlockPort("GND9","1",False)
.Create
End With

Everytime CST says it's unable to access the Ground port.
Both blocks are yet unlinked to any other element and i tried every combination of True/False and Source/Target.
Please let me know what i'm doing wrong.

Thanks!
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…