Code help

ard jonker ard.jonker at xs4all.nl
Tue Mar 20 01:31:23 EDT 2018


On 20 Mar 2018, at 03:39, Chuck <xtension4osx at mac.com> wrote:
> 
> Is there an easier way to do this and make it easier to change the light levels without having to go through the code for each room and adjust the levels?

set the outside light level as a unit propery of a driver unit, let that control a multiplier as a group property and have an onpropertychanged routine for that (group which holds all lights) and an onchange for the driver unit?

as soon as light level changes, code is executed and values changed trickle down to the lights unit properties.
because you use a multiplier, code doesn’t change, it remains
dim to (my calculated light level)

or am I missing your point?

ard


More information about the XTensionList mailing list