Automatic layer draw order button

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
Currently I would need to manually click an object, line, etc. Right click and hit the option "select similar" and then again right click to specify the "draw order" of the selected items. Could anyone lend me some advice on how to create a Tool Palette button that on press, rearranges the order of layers to a predefined setting?
For example, I'll have the following layers that are to be prioritized in a draw order..
Xref layer - The layer used to display the Xref of the residential site to work ontop of (always on bottom of draw order)
Low voltage cable - Displays a layer which only has Polylines depicting the low voltage cable route (always below of draw order)
High voltage cable - Displays a layer which only has Polylines depicting the high voltage cable route (always on top of draw order)
The Xref should always be arranged to the bottom of any draw order to be drawn on top of. The Low voltage cable polylines should always be shown below the High voltage cable polylines upon any cross overs of the two lines.
I'd like to find a way so that the above definition is automatically determined on press of a button. This would help greatly in minimizing human error amongst myself and other colleagues in the accuracy and quality of drawing work produced.
Thanks for any advice.