Inkscape.org
Beyond the Basics Paste Above Original
  1. #1
    sketch_of_life sketch_of_life @sketch_of_life

    Is there a way to get inkscape to paste several selected items to past above their original object in the stacking order stead of pasting all the objects at the top of the stacking order. if that makes sense. at one point i swear it worked like this. i feel like i have changed a setting at some point. hopefully i'm not crazy.

     

    How I Would Like It To Work.
    How Pasting Works
    Original Order
  2. #2
    inklinea inklinea @inklinea⛰️

    I am not aware of this behaviour, unless it was from an earlier version of Inkscape.

    It's fairly easy to do in code. If anyone else wants it I will post.

    It might actually be an idea to have a look at https://inkscape.org/~pakin/%E2%98%85simple-inkscape-scripting

    If you want to do some advanced pasting maybe.

    The video I have attached does not use the above extension, just simple python.

    Peek 2022 09 15 08 36
  3. #3
    Paddy_CAD Paddy_CAD @Paddy_CAD

    In my case, pasted objects are inserted immediately above the copied object in the stacking order (z-order). Inkscape 1.2.1 and 1.3_dev on MacOS.

  4. #4
    inklinea inklinea @inklinea⛰️

    I think what the OP was asking for, if you have 3 items A, B, C

    If you select A, B, C at the same time that the pasting should be 

    AABBCC rather than ABCABC ? 

  5. #5
    Paddy_CAD Paddy_CAD @Paddy_CAD

    I see what you mean, but I don't think copy-paste ever worked that way. To do this, you need to select one object at a time then [ctrl+c] [ctrl+alt+v].

  6. #6
    inklinea inklinea @inklinea⛰️

    I've added a 2nd page to this extension ( just on gitlab for the moment, not replaced the version on inkscape.org )

    https://gitlab.com/inklinea/objects-to-new-layer

    The 2nd page supports a pasting sequence, based on selection order.

    So for example if we have three objects selected, the sequence 1,1,2,2,2,3 would paste 2 * object one, 3 * object two and 1 * object three into the new layer in that order.

     

    Screenshot From 2022 09 18 13 31 52