Skip to the page
Tutorial areas

Select every object that matches a test

Select all the objects on the active layer that share a colour, type, class or symbol, with Custom Selection.

How-toIntermediate2 minMenu: Tools › Custom Selection…

Use Custom Selection when you want every object that has something in common, such as all the teal objects, or every arc on the layer, picked in one go. It searches the active layer and selects what it finds.

Steps

  1. Choose Tools › Custom Selection…. The dialog lists the criteria it can test.

  2. Leave Execute on Execute Immediately, so the selection is made as you press OK.

  3. In the first row, which reads Type, open the first drop-down and choose Fill colour. Leave the next drop-down on is.

  4. Open the colour drop-down on the right and choose the colour you want. Each colour shows as its hex value and, in brackets, how many objects on the layer have it. Here #2a9d8f (3) is the teal.

    The Custom Selection dialog set to Fill colour is #2a9d8f (3)
  5. Click OK. Every object that meets the test is selected, and the rest are left alone.

    The three teal objects selected, and the orange rectangle and yellow circle not

Variations

  • To select objects that meet two tests, click Add Criterion and set a second row, such as Type is Rectangle. An object must meet every row.
  • Under Selection, choose Add to the selection or Remove from the selection to change what is already selected rather than replacing it.
  • Set the drop-down beside the colour to is not to select every object that is not that colour.

Limits

  • Custom Selection searches the active layer only. Objects on other layers are not tested.
  • Create VectorScript and Create Python Script can write a search by type, class and symbol as a script. Searches by colour or line weight can only run as Execute Immediately.