How to change the signal Connections properties in Python script?

I confused about signal connections changing.
The same as the picture shown


I want to change the Connections of signal A001 in Python. I tied to using String, append the Object to the Connections list, but all failed.
Thanks a lot if you kwon the way to solve.

I am facing the same issue, is this already solved?

from vcScript import *

comp = getComponent()
path = comp.findBehaviour("OneWayPath")
signal = comp.findBehaviour("BooleanSignal")
signal.Connections = [path]
2 Likes