Creating and Applying Filters for Entity Selection

You can use the SelectionFilter command to filter entities for selection.

You can:

  • Create complex selection filters, using relational and logical operators, for details, see Operators for Filters.
  • Apply selection filters transparently during the execution of modification commands, for details, see Using Selection Filters Transparently.
  • Save and apply name filters, for details, see Working with Named Selection Filters.

After you select entities based on the filter, modify the entities using the modification commands or the Properties palette.

Note: The command defines a criteria to apply on a selection set and does not create it.

  1. Do one of the following:

    • Select Home > Tools > Filter.
    • Type SelectionFilter.

  2. In the dialog box, in Filter type, select an entity type, an entity type with property, or a property.
  3. Click Add Filter Type to add the item to the filter list.
  4. If you selected an entity with a property:
    1. Specify a relational operator (*, =, !=, >, >=, <, or <=).
    2. Specify a value.
    3. Click .
  5. Optional: In Operator, select a logical operator (AND, OR, NOT, or XOR) and click Add operator.

    You can use logical operators to group filter expressions.

  6. If you selected a logical operator, click Add Operator to the operator to the filter list.
  7. Optional: Use the following options as required:
    1. Click Add Entity and click in the graphics area to add an entity to the selection filter.
      The dialog box closes temporarily till you select a drawing entity to add to the filter list.
    2. Click Delete Row to delete the selected filter from the list.
    3. Click Clear Tree to delete the selected tree.
  8. Repeat steps 2 to 6, as required.
  9. Click .
    The selection filter is now active.
  10. In the graphics area, specify the entities to which you want to apply the selection filter.

    For details, see Applying Entity Selection Methods.

  11. Press Enter.
  12. Run a modification command.

    You can reapply the selection filters and specify the Previous option in the Specify entities prompt.