- Code: Select all
Connected to Indigo Server 5.0.0 b5 (localhost:1176)
>>> v=indigo.variable.create("test", value="old")
>>> v1=indigo.variables[v.id]
>>> v1==v
False
>>> v.value
u'old'
>>> v1.value
u'old'
>>> v.value = "new"
>>> v.replaceOnServer()
>>> v1.value
u'old'
>>> v1.replaceOnServer()
>>> v.value
u'new'
How do you suggest we handle this? It seems to make it difficult to keep and track server state in a plugin. If I want a single Python IOM object to track server state as it evolves, how would I go about doing that?
Thanks
-- perry