Hi,
Does anybody know how to set the Connections property of a vcSignal behavior with the new Python 3 API?
It is a type of vcList and can’t be used as a standard python list but the documentation doesn’t list any methods to manipulate it.
Thanks
Hi,
Does anybody know how to set the Connections property of a vcSignal behavior with the new Python 3 API?
It is a type of vcList and can’t be used as a standard python list but the documentation doesn’t list any methods to manipulate it.
Thanks
You can create a normal Python list and assign that to the property:
signal.Connections = [foo, bar]
The vcList is read-only but the content can be copied to a normal Python list for manipulation.
myList = list(signal.Connections)
Thank you!
Out of all the things I tried, I didn’t try the simplest one :).