Python Script to Add 2 Numbers/Variables

Posted on
Wed Dec 06, 2023 4:38 pm
ckeyes888 offline
Posts: 2425
Joined: Nov 26, 2009
Location: Kalispell, MT

Re: Python Script to Add 2 Numbers/Variables

Sure, here is the working code.
Code: Select all
 snowTotal = int(indigo.variables[1813022255].value) + int(indigo.variables[504418172].value)
indigo.variable.updateValue(1813022255, value=str(snowTotal))


Thanks,

Carl

Who is online

Users browsing this forum: No registered users and 9 guests