So, I had a quick test with ApplyNudge() and it does indeed let you set the position of all selected items, moving envelope points too. What I can't figure out is how I can just apply a nudge to a single item. Is this possible?
I would like to be able to iterate through all selected items and nudge the position of each one to an arbitrary (and unique) offset. I use this algorithm to sort items by a specific sort criteria.
I could see a way to make ApplyNudge() work for a single item at a time but it would be a massive kludge. I could store the selected items in a list, unselect them, then select each one at a time and call ApplyNudge() on it. Feels nasty though.