View Single Post
Old 04-18-2017, 10:54 AM   #4
crabfists
Human being with feelings
 
Join Date: Apr 2017
Posts: 3
Default

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.

Last edited by crabfists; 04-18-2017 at 12:39 PM.
crabfists is offline   Reply With Quote