05.05.2023, 09:36
Code:
y = grp.getvalue('32/1/7')
x = grp.tag('Aufzeichnung')
m = #(x)
test = x[1].address
t = '32/1/8' -- TEST
log(m,y,test,t)
if y == true then
u = 99 -- if log 99 then if was successfull
for i = 1,m,1 do
z = x[1].address --
grp.create({ address = '32/1/6', log = true })--works
grp.create({ address = z, log = true })--doesnt work
log(z,u)
end
else
u = 77 -- if log 77 then if wasnt successfull
for i = 0,m,1 do
grp.create({ address = x[i].address, log = false })
end
end
I want to change alot of Objects that all got the same tags.
-- F.Braun