Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Is there a way to increase the thickness of all lines in a group?

Contributor ,
Dec 27, 2022 Dec 27, 2022

I have some coloring book pages that I'm working on. I have lots of groups that each contain multiple thicknesses of lines. I need to make the ones closer to the front a touch darker than those in the distance. Is there a way to select a group and add .25 thickness to every line in the group? (Or whatever other increment needed.)

TOPICS
Tools
20.9K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 3 Correct answers

Contributor , Dec 27, 2022 Dec 27, 2022

Oh, I found this, which I think is what @Ton Frederiks was talking about. The thread is here: https://community.adobe.com/t5/illustrator-discussions/how-to-apply-a-brush-and-keep-stroke-weights/m-p/10976459

And the specific message I'm referring to contains this...
_______

This should work. Make sure to enter the percentage with a decimal point.

//by Ray Craighead
//Resize selected path stroke width(s) by percentage.

function scalePathWidth(){
    var aDoc = app.activeDocument;
    var sel = app.se
...
Translate
Community Expert , Dec 28, 2022 Dec 28, 2022

There are two simple, about twenty years old scripts by Muchacho (stroke_plus and stroke_minus) that increase or decrease all selected strokes by 0.5 pt.

 

They still work in current versions of Illustrator. Increase/Decrease values can be modified in line 5 and 6.

 

Download Stroke Plus/Minus

 

Translate
New Here , Mar 06, 2024 Mar 06, 2024

Okay, first time replying to any thread on here, so sorry if I get the convention a bit wacky. This is the quickest method I have found:

1. Go to Window

2. Click Transform

3. Open the Transform Menu (on my PC it's the "hamburger" symbol)

4. Turn ON "Scale Strokes & Effects"

5. Enlarge the entire group in which you are wanting to increase stokes proportionally by the end percentage you are wanting. (E.g. if I want to increase a stroke by 300%, then enlarge the entire group by 3 times by constraining p

...
Translate
Adobe
Contributor ,
Jan 05, 2023 Jan 05, 2023

Interesting... Is there some code that I can add that will make it work in groups? Because I have groups within groups. This is always my practice because I have to keep myself organized. 🙂 Some groups inside of other groups have hundreds of lines. This is why I'm looking for this shortcut. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Jan 05, 2023 Jan 05, 2023

Oh!! The scripts posted by Kurt Gold work in groups! 
Thank you, thank you, thank you! I will mark that answer as the right one. Appreciate everyone's help!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 06, 2024 Mar 06, 2024

Okay, first time replying to any thread on here, so sorry if I get the convention a bit wacky. This is the quickest method I have found:

1. Go to Window

2. Click Transform

3. Open the Transform Menu (on my PC it's the "hamburger" symbol)

4. Turn ON "Scale Strokes & Effects"

5. Enlarge the entire group in which you are wanting to increase stokes proportionally by the end percentage you are wanting. (E.g. if I want to increase a stroke by 300%, then enlarge the entire group by 3 times by constraining proportions and multiplying either the width or height by 3)

 

THEN - and this is where the magic happens -

 

6. Go back into the transform menu

7.  Turn OFF "Scale Strokes and Effects"

8.  Reduce the entire group by the same amount that you increased it by. (E.g. divide the width/height by 3 in this example) 

 

It works a charm! The only caveat is that it will also increase effects by the same amount, not just strokes, but perhaps this cuts out a bit of the tediousness. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 07, 2024 Mar 07, 2024

Thank you! That sounds like a good workaround, too. I appreciate your input!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Nov 20, 2024 Nov 20, 2024

This might work for scaling many strokes varying in width by a percentage. Use Scale with Scale Strokes & Effects checked and the desired percentage, e.g., 50%. Then reverse the scaling with, e.g., 200% but with Scale with Scale Strokes & Effects unchecked.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 20, 2024 Nov 20, 2024
LATEST

@mr28360950  schrieb:

This might work for scaling many strokes varying in width by a percentage. Use Scale with Scale Strokes & Effects checked and the desired percentage, e.g., 50%. Then reverse the scaling with, e.g., 200% but with Scale with Scale Strokes & Effects unchecked.


 

As has been posted already in March this year.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines