Inkscape.org
Beginners' Questions Intersection selection
  1. #1
    etilic_knight etilic_knight @etilic_knight

    Hello, I've been using inkscape mostly for engineering purposes for about 15years and I'd like to know if there's a hidden menu somewhere or a keyboard key to press which allows to intersect a selection with another. At the moment I need to select objects with the same fill, then I want to intersect this selection with a box selection to restrict the area I'm selecting. Is this possible somehow?

    Thank you!!

  2. #2
    Paddy_CAD Paddy_CAD @Paddy_CAD
    🏆

    Suppose you want to select all the pink filled shapes within a box selection.

    Select one pink shape and then [Edit > Select Same > Fill Colour].
    [Object > Selectors and CSS...] opens a dialog.
    At the bottom of the dialog, click [+] to create a new CSS Class and apply it to the selected shapes.
    This opens a text input dialog to name the Class. I suggest something simple like "pink" then [Add].

    Back to the canvas and make your rectangular selection.
    [Edit > Find/Replace...] opens a dialog.
        [Find: pink]  (or whatever class name you added)
        [Search in: Properties]
        [Scope: Selection]
        [Find]

    You can extend this method to multiple classes. Any selection on the canvas can be assigned a class and you can sub-select any combination of classes by repeated [Find] operations. For example [Find: green_text] followed by [Find: italic]

  3. #3
    etilic_knight etilic_knight @etilic_knight
    👍

    Thank you Paddy_CAD, this is exactly what I was looking for!