Feature request: Shifting rows and columns in matrixctrl

    Jun 01 2009 | 12:53 pm
    It's not really very difficult to shift rows or columns with zl rot, but it does take a few objects and a bit of work. I tried making the simplest version I could in the patch below, but it's still kind of busy for the results. A direct message to [matrixctrl] like "shiftrow " would be great, where the shift amount works just like [zl rot] and excess values wrap.
    It might also be nice to have a fill command:
    fillrow ,
    though this is pretty easy with [uzi] and [%].
    If there's a simpler way to do the shifting that I'm missing, then by all means...

    • Jun 01 2009 | 5:35 pm
      Here's how I would do the row and column shifts in max. Like you said: the "fill" command can easily be acieved using [uzi] and [%]. The method in my patch isn't perfect. As soon as you change which row/column you are shifting it will set the current state to the default rather than using the original which might be what you wanted. If you wanted to elaborate on this it would probably be easier to code it in javascript where storing arrays of arrays is easier.