Layer order influence on the object stack

Hello Everybody,
Can the change of layer order influence the stacking of objects like in illustrator ?
I was wondering if the layer name acts as it physical conterpart.
Is there any way layers can be used this way by any chance ?
The draworder command can sometimes be a bit capriucious to manipulate when having a lot of hatches overlapping one another.
Thank you very much for the help

In principle, if you do not modify the draw order of individual objects, the draw order should follow the layer order (top of the layer list in front and on downward). I do not know how that actually works in practice, A quick test in V8 appears to work well in that regard.

Thanks for the reply !
Yes I just checked in v8 and it does seem like it works this way.
However, when moving a layer in the layer stack after the creation of objects, it seems like this action has no effect on the objects stacking order.
I am wondering if there is any access to the draw order number anywhere in the object property in order to manipulate the object stacking accordingly.

I tested that here (lightly!) and it seemed to work in V8, perhaps post an example file that doesn’t work how you expect…

Here is a Python script which will put up a text dot indicating the draw order of selected objects and allow you to modify them in real-time. I don’t know how it plays with layer draw order though.

SetObjDisplayOrderOSD.py (4.4 KB)

Thank you so much for the script Mitch !
I tried indeed to move the layers with hatch objects on them and it seems like it works indeed !!
I am gonna try to open older files with quite a few overlayed hatches to see how it performs.
Have a nice day !