Bring to front, send to back?

Hi,

Bring to front, send to back.
Are those available in rhinoscriptsintax?

thanks!

Hello,
I don’t know if this is possible with rhinoscriptsyntax. Looks like you can do it in Python with RhinoCommon though :slight_smile:

1 Like

Ok, I see. Something like this:

import rhinoscriptsyntax as rs
from scriptcontext import doc

outline = rs.GetObjects(message=None, filter=4, group=True, preselect=True, select=False, objects=None, minimum_count=1, maximum_count=0, custom_filter=None)

obj = doc.Objects.Find(outline[0])
obj.Attributes.DisplayOrder = 1
obj.CommitChanges()
doc.Views.Redraw()