Inkscape Community

Help Using Inkscape => Inkscape Beginners' Questions => Topic started by: mtmt on June 08, 2019, 02:43:26 AM

Title: How to make many lines - dotted, not dotted, different colours - all thinner
Post by: mtmt on June 08, 2019, 02:43:26 AM
I have several graphs with many different types of lines: dotted ones, continuous ones, black ones, blues ones etc.
I'd like to set the same width for all of them, without changing dottedness, colour etc. (OSX, Inkscape 0.92)

If I do this in the contour tool, I seem to change everything to the same width AND same color AND same dottedness.
How do I change width ONLY?

Thank you in advance.
Title: Re: How to make many lines - dotted, not dotted, different colours - all thinner
Post by: brynn on June 08, 2019, 05:07:30 AM
It very much depends on how the file is made.  Typically, you would select the path (or maybe all the paths).  Then Object menu > Fill and Stroke > Stroke style tab > Width.  You could use either Selection tool  :sel: or Node tool  :node:.

However, without being able to look at the SVG file, it's hard to say for sure whether that will work.  So if using the above technique doesn't work, we would need to look at the SVG file, to say for sure.
Title: Re: How to make many lines - dotted, not dotted, different colours - all thinner
Post by: Moini on June 09, 2019, 03:33:24 AM
Yes, I think this has been reported as a bug recently. It doesn't work when you use the fill+stroke dialog in Inkscape 0.92.x.

What does work is to right-click on the little stroke width indicator field in the bottom left corner, and to select one of the preset widths. Maybe that is sufficient for your case?
Title: Re: How to make many lines - dotted, not dotted, different colours - all thinner
Post by: brynn on June 09, 2019, 03:55:47 AM
Do you mean the Width spinbox?  Or changing many strokes at once?

Oh, I see.  Yes, when I try to change the width of 3 different paths, with 3 different dash patterns, it makes them all the same widths, but it also makes them all the same dash pattern!  I can't duplicate that they all get the same color, but changing the dash pattern is bad enough.

Beside the technique Moini mentioned, the only other way would be to change them one at a time.