Modifying the Draw Order of Entities by Color

Use the DrawOrderByColor command to modify the draw order of the selected entities based on their color.

You can control overlapping of entities according to their color. For example, you can display boundaries in front of solid hatches.

You must define the list of color priorities where the first color on the list is in front and the last color is in the back. The overlapping of entities changes according to the defined color priorities.

Optionally, you can include blocks in your selection and sort the contained entities based on their color.

  DrawOrderByColor does not affect external references.

To modify the draw order of entities by color:

  1. Do one of the following:
  2. In the graphics area, specify the entities.
  3. Press Enter.
  4. In the dialog box, set the color priorities using the following buttons:
  5. In the dialog box, set options:
  6. In Re-ordering method, select the sorting method:
  7. In Draw order location, specify the sorting direction:
  8. Click OK.

Example:

Initial situation Priorities Result
In the dialog box, specify the following color priorities and select Front.

Access

Command: DrawOrderByColor

Menu: XtraTools > Modify > Draw Order By Color

Ribbon: XtraTools > Modify > Draw Order By Color

Parent Topic

Editing Tools