gotcha

Author Topic: Move Guides with Selection?  (Read 1186 times)

May 31, 2018, 02:38:18 AM
Read 1186 times

Agrajag

  • Full Member

  • Offline
  • ****

  • 56
I likely did this wrong. I had set up a graphical cheat sheet for the game we're working on and it includes about 60 perfectly placed guidelines. I then realized that my doc was not in the center of the PAGE which I needed it to be so that the printers could print two pages back to back and have them perfectly centered on each other. So I selected the whole image and centered it on the overall page (which was the exact size to match the printer).

All perfect and it worked great. However, later when I went back to edit something I realized I'd moved the image, but none of the guides moved so now these dozes of guides are all still there, but also all in the wrong place. Moving them now would be really tough.

First, is there a way to mass select all of them and move them as a group to perhaps get them VERY close to where they were before?

Second, in the future, is there a way to move guides as part of a selection move?
  • Windows 10

May 31, 2018, 04:21:39 AM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Oh gosh, I don't know any way to move all the guides in one go.  Certainly not on the canvas.  There might be a way to do it with the XML, but I don't know what that would be.

They  could probably be snapped to the objects, to make it quick and easy.  But that still would mean moving them one at a time.

No, guides can't be moved together with objects either.  Again, not on the canvas that I know of.  Possibly using the code, but I couldn't say how.

But, I have a solution for you, either for next time, or if you want to just move the objects back to where they were.

Select all.
Document Properties > Page tab > Page Size > Custom Size > Resize page to contents

This will automatically move the page borders to match the contents.  So it will take whatever is the center of the contents, where they are now (which you thought was the center of the page before), and adjust the page borders to match.

Edit
I never thought about this before, but if you have guides that are placed specifically, and you use that resize to contents feature, it must have to recalculate the guide position, to match the new page border, yet without actually moving the guides.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann                       

May 31, 2018, 04:45:15 AM
Reply #2

phiscribe

  • Jr. Member

  • Offline
  • ***

  • 43
Maybe make line segments where the guides are located.  Group or select those line segments and the other objects.  Move everything.  Convert the line segments to guides.
  • Latest Stable
  • Win 8.1

May 31, 2018, 02:31:05 PM
Reply #3

Moini

  • IC Mentor

  • Offline
  • ******

  • 1,568
    • VektorRascheln
If you know how far the guides have been moved (e.g. by measuring the distance for one of them), you can double-click on each guide, use the 'relative change' checkbox and enter the difference value into one of the fields (probably the one for horizontal coordinate).

June 06, 2018, 09:28:21 PM
Reply #4

Agrajag

  • Full Member

  • Offline
  • ****

  • 56
Document Properties > Page tab > Page Size > Custom Size > Resize page to contents

Brilliant! Thanks for this.
  • Windows 10