Inkscape Extension: Remove Guides
June 9th, 2009 by heathenxThere was a post on the Inkscape-users mailing list yesterday regarding a question on how to remove or delete all guides from within an Inkscape document at once. Currently in 0.46 and 0.47 we can hide all guides with a Shift+| or individually delete them one by one with a Ctrl+LMB. Another alternative is to open the SVG file in a text editor, delete the of the guides, save it and re-open it in Inkscape. The latter is really the only way that I could think of to mass delete a bunch of guides. That was until I was challenged by my good buddy Richard. Normally I would have hung my head low in defeat since I’m not much of a coder. Although this time a light bulb turned on in my head. What sprung to mind was an existing JessyInk extension that Hannes Hochreiner had written to find and remove some JessyInk elements within an SVG file. I figured most of the work was already done. I just needed to modify it into doing something a bit different. It really didn’t take me long to figure out what I needed in order to remove all of the guides but it took Hannes’ and Richards help to eliminate the error when one ran the script without any guides. Somebody is bound to do that, right?.
So without further ado, I present a small little extension called Remove Guides. It seems to work very well on Ubuntu 9.04 and WinXP. If you accidentally remove your guides when you didn’t want to then not to worry…just undo. Enjoy!

June 9th, 2009 at 7:30 pm
Works in good ole VISTA also. THX