Code: Select all
val = 0
for ch in range(65,186):
nm = GetChName(ch)
if nm=="Dim":
SelectCh(ch, 1)
val = GetChVal(ch)
if val > 133:
SetChVal(ch,133)
else:
SelectCh(ch, 0)
Code: Select all
val = 0
LoadBank(0)
for p in range(GetNumPresets()):
LoadPreset(p)
for ch in range(65,186):
nm = GetChName(ch)
if nm=="Dim":
SelectCh(ch, 1)
val = GetChVal(ch)
if val > 133:
SetChVal(ch,133)
else:
SelectCh(ch, 0)
SaveCurrentPreset()
Message(GetBankName(0))
SaveCurrentPreset
But in the code examples it is written as
SaveCurrentPreset()
Since I haven't done any real Python coding in a while I'm banging into syntax errors so is there a way to setup aPython system with the DMXIS libraries so I can have a real IDE to work in? Any suggestions as to where my code to save presets is going wrong?
Thanks in advance,
joeb