not sure how to describe this, maybe its expected behavior, but i feel like setting a pargroup to a value shouldn’t change the unit mode. i banged my head for awhile because op('lag1').parGroup['lag'] = 1
set my unit to frames and i couldn’t figure out why… maybe unit values should be ignored in parGroups?
Hi @drmbt,
not a bug but a issue with how units are just regular parameters in a parGroup.
We’ll pick up that discussion. As you say, I think sensible would be to ignore the unit unless it is specified in the call
# does only set the values for lag1, lag2 repeating "1" across both and ignoring the unit
op('lag1').parGroup.lag = 1
# does set lag1, lag2 with specified values, ignoring the unit
op('lag1').parGroup.lag = [1,2]
# does set lag1, lag2 and the unit
op('lag1').parGroup.lag = [1,2,0]
cheers
Markus
This will now be changed as described, so the single assigned value is only repeated for the first portion of the joined parameter. ie, unit will not be set unless multiple values are given.