Skip to content

Selection Filter

Toolbar / Icon:

SelectionFilter

Add-on:

QCAD Professional

Menu:

View > Selection Filter

Shortcut:

G, F

Command:

gf

The selection filter widget can be used to select entities based on their type or their properties. With the selection filter, you can for example easily select all circles with a radius between 3 and 4 or all text entities with a height of 5 units.
You can also remove entities from a selection or select only those entities that match the filter and are already selected (intersection).

  1. Display the selection filter widget using View > Selection Filter.
  2. Choose the entity type to filter by or select “Any” to match any entity type.
  3. Choose the property name of the property to filter by.
  4. Choose the comparison operator. Depending on the property type chosen, you can use logical comparisons, mathematical comparisons (=, ≠, >, ≥, < ≤) or string comparisons (is, is not, contains, contains not, starts with, ends with, regular expression match).
  5. Choose the value to compare with.
  6. Click one of the buttons at the bottom to apply the filter.
    The first button at the left selects all entities that match the filter. The existing selection is ignored.
    The second button adds the entities that match to the selection.
    The third button deselects the matching entities.
    The last button selects only those entities that match the filter and are already selected (boolean intersection).
  • To select all texts with text height 5
    Entity type: Text
    Property: Text Height
    Comparison: = (equal to)
    Value: 5
  • To select all texts with text height larger than 5
    Entity type: Text
    Property: Text Height
    Comparison: > (greater than)
    Value: 5
  • To select all circles with a radius between 5 and 6 (inclusive)
    Entity type: Circle
    Property: Radius
    Comparison: ≥ (greater than or equal to)
    Value: 5
    Click first button at the left
    Entity type: Circle
    Property: Radius
    Comparison: ≤ (less than or equal to)
    Value: 6
    Click last button at the right

The property color matches entities by their color value. This can be “By Layer” in which case the displayed color is irrelevant. To match by the displayed color (regardless if the value is “By Layer” or fixed), choose the property “Displayed Color” instead.

The boundary and size properties can be used to select entities based on their location or size.