08.08.2018, 10:33
Is there any way to add the same script to several objects, but with one thing changing everytime?
I have this script that i want to add to 200 objects, but the ID needs to be changed everytime.
from 65793 to 65992
require('bacnet')
value = event.getvalue()
bacnet.write(127001, 'analog value', 65809, value)
I have this script that i want to add to 200 objects, but the ID needs to be changed everytime.
from 65793 to 65992
require('bacnet')
value = event.getvalue()
bacnet.write(127001, 'analog value', 65809, value)