Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a Collaboration session with custom scripts running on both sides. I would like to be able to send parameter values back and forth between the VRED Pro 2026.1 instances.
I tried something like creating a list in one session:
global masterList
Then in the other session I created a command which should append an entry to that list:
myCmd = "masterList.append(5)"
vrSessionService.sendPython(myCmd)
But I just get this error:
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'masterList' is not defined
Any ideas to get this to work? Or is there a better way?
-CH
Solved! Go to Solution.