I tried your code, it works, but I need to select objects in your code.
I should have written in the beginning, but I forgot to write it. I'm sorry, it's my fault.
I want to do this without selecting it.
I have many objects, groups and rectangle objects in my .svg document. I want to post all below of my rectantangle. So what I'm actually going to do is have a rectangular background.
But as I wrote, there are too many different objects in svg. So many of my attempts have failed.
Hi.!
I want to change order of objects
How can I change the order of objects?
When I add an svg-size,100% height and 100% width, rectangle to an existing svg file, it covers them all.
I want to send this rectangle object to the bottom.
How can i do this ?
hi inklinea,
thanks for your codes.
I tried your code, it works, but I need to select objects in your code.
I should have written in the beginning, but I forgot to write it. I'm sorry, it's my fault.
I want to do this without selecting it.
I have many objects, groups and rectangle objects in my .svg document. I want to post all below of my rectantangle. So what I'm actually going to do is have a rectangular background.
But as I wrote, there are too many different objects in svg. So many of my attempts have failed.
In that case:
For the svg - something as simple as:
or for the current layer:
You can use the [0].addprevious(background_rect) for an element list I suppose.
Thank you very much inklinea,
The code you gave really helped me a lot.
The extension now works exactly as I want it to.
You are super hero , thanks again.