Inkscape Forum Inkscape > Remove all guides

Posted by Lars Behrens (Guest)
on 08.06.2009 17:10
(Received via mailing list)
Hi there,

sometimes I find myself locked in a world of guides :-)

I can't find a quick way to remove all guides in drawing (Inkscape 
0.46). Can
someone help me?

TIA!

Lars
Posted by Donna Benjamin (Guest)
on 08.06.2009 17:43
(Received via mailing list)
On Mon, 2009-06-08 at 17:08 +0200, Lars Behrens wrote:
> Hi there,

Hey Lars!

> sometimes I find myself locked in a world of guides :-) 
> 
> I can't find a quick way to remove all guides in drawing (Inkscape 0.46). Can 
> someone help me?

Unfortunately there isn't a way to do this at the moment - but you can
control click on a guide to delete them one by one.

There is a confirmed wishlist item on this in launchpad
https://bugs.launchpad.net/inkscape/+bug/171917

--
Donna Benjamin - kattekrab.net

Inkscape: Open Source Scalable Vector Graphics
0.47 is coming... http://www.inkscape.org
Posted by heathenx (Guest)
on 08.06.2009 17:45
(Received via mailing list)
Lars Behrens wrote the following on 6/8/2009 11:08 AM:
> Hi there,
> 
> sometimes I find myself locked in a world of guides :-) 
> 
> I can't find a quick way to remove all guides in drawing (Inkscape 0.46). Can 
> someone help me?
> 
> TIA!
> 
> Lars


Open the svg file in a text editor. Find all <sodipodi:guide groups, 
delete, and save.

heathenx
Posted by Richard Querin (Guest)
on 08.06.2009 17:57
(Received via mailing list)
On Mon, Jun 8, 2009 at 11:44 AM, heathenx <heathenx@gmail.com> wrote:

>
>
> Open the svg file in a text editor. Find all <sodipodi:guide groups,
> delete, and save.
>
> heathenx
>


Doesn't this sound like a good candidate for a simple extension.. Maybe 
like
the one makes arrowheads match the stroke colours?

So glad you volunteered to do it. :)


RQ
Posted by heathenx (Guest)
on 08.06.2009 21:48
(Received via mailing list)
Richard Querin wrote the following on 6/8/2009 11:55 AM:
> 
> 
> Doesn't this sound like a good candidate for a simple extension.. Maybe 
> like the one makes arrowheads match the stroke colours? 
> 
> So glad you volunteered to do it. :)
> 
> 
> RQ

Okie-doke. I just edited an existing script (one of Hannes Hochreiner's 
scripts) and I am now able
to delete all guides at once. Seems to work pretty well. A little more 
testing an I'll offer it for
download maybe later today. I'll post a link. Also, maybe someone can 
clean it up for me.

Btw, I am NO python coder. It's likely I cannot troubleshoot. If it 
works then it works...if not
then you're SOL. :)

heathenx
Posted by Lars Behrens (Guest)
on 09.06.2009 09:21
(Received via mailing list)
Am Montag, 8. Juni 2009  schrieb heathenx:

> Open the svg file in a text editor. Find all <sodipodi:guide groups,
> delete, and save.

I've been trying this before, but I can't delete the guide groups, only 
the
guides one by one, which is not faster than deleting them one by one on 
the
screen.

Thanks,
Lars
Posted by Lars Behrens (Guest)
on 09.06.2009 09:23
(Received via mailing list)
Am Montag, 8. Juni 2009  schrieb Donna Benjamin:

> Unfortunately there isn't a way to do this at the moment - but you can
> control click on a guide to delete them one by one.

Ok, at least that's faster than my drag-it-off-the-screen method, wasn't 
aware
of ctrl-click.

Thank you.

Cheerz,
Lars
Posted by heathenx (Guest)
on 09.06.2009 13:21
(Received via mailing list)
Lars Behrens wrote the following on 6/9/2009 3:22 AM:
> Cheerz,
> Lars

Lars,

I have now have a working extension that will delete all guides at once. 
Richard Querin and I spent
a few minutes on it last night and worked out some bugs. It appears to 
work great in Linux (Ubuntu
9.04) and WinXP. I am trying to contact Hannes Hochreiner of JessyInk 
fame since I modified one of
his extensions before I post it for download. I want to make sure that I 
properly credit him for his
work. Couldn't have done it with him. ;)

Please sit tight. Hopefully I can get it to you today.

heathenx
Posted by Lars Behrens (Guest)
on 09.06.2009 14:07
(Received via mailing list)
Am Dienstag, 9. Juni 2009  schrieb heathenx:

> Lars,
>
> I have now have a working extension that will delete all guides at once.
> Richard Querin and I spent a few minutes on it last night and worked out
> some bugs. It appears to work great in Linux (Ubuntu 9.04) and WinXP.

Great!

> Please sit tight. Hopefully I can get it to you today.

No need to hurry, but thanks very much, so far!

Lars
Posted by heathenx (Guest)
on 09.06.2009 21:23
(Received via mailing list)
Lars Behrens wrote the following on 6/9/2009 8:05 AM:
>> Please sit tight. Hopefully I can get it to you today.
> 
> No need to hurry, but thanks very much, so far!
> 
> Lars

All done! Thanks Hannes Hochreiner and Richard Querin for helping me. I 
hope it works well for you,
Lars. I found it rather useful. :)

Download: http://bit.ly/remove_guides

heathenx
Posted by Lars Behrens (Guest)
on 10.06.2009 09:58
(Received via mailing list)
Am Dienstag, 9. Juni 2009  schrieb heathenx <heathenx@gmail.com>:

> All done! Thanks Hannes Hochreiner and Richard Querin for helping me. I
> hope it works well for you, Lars. I found it rather useful. :)
>
> Download: http://bit.ly/remove_guides

Super! Works perfect, thank you and the other guys!
Often it's the small things which make up one's work.

And also: This is one prime example for the benefit of the open source
development and community.

Cheerz,
Lars