This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

How to get value from an object?
#5
(02.10.2024, 11:45)Daniel Wrote: Yes, when you use event script and event.getvalue() then you will get last value from the object which triggers the event script. In your case is a 1bit object. If you want the dimming value do the same for 3bit dimming object.  Alternatively you can do value = grp.getvalue('1/1/1') but this is will be checked each time a script is triggered(in case of event)

Thank you for your prompt response but I am afraid I don´t get it. On the one hand, you mention doing the same for 3bit dimming objects but I don´t know what you are referring to. 
On the other hand, you talk about getting the value from 1/1/1 which I also don´t understand since when doing that I only get true or false
Reply


Messages In This Thread
How to get value from an object? - by sck - 02.10.2024, 11:33
RE: How to get value from an object? - by sck - 02.10.2024, 11:40
RE: How to get value from an object? - by sck - 02.10.2024, 11:55
RE: How to get value from an object? - by sck - 02.10.2024, 13:13
RE: How to get value from an object? - by sck - 02.10.2024, 13:36

Forum Jump: