Scripting the layering of an object.
Can I script the layering of an object? eg"right_mouse_button/Arrange/Move To Front".
No, you can have two layouts, one with object behind, one with object in front ans switch from one layout to another.
You can also use an invisible tab control where the same group of objects with different layering orders are placed on both tab panels. Give each tab panel an object name and a script can use go to object to make a different group visible.
Retrieving data ...