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

P: Photoshop 22.0: Where is Line Weight/Width and Pixels options?

Participant ,
Oct 21, 2020 Oct 21, 2020

Copy link to clipboard

Copied

I'm having trouble using the Line Tool in PS 22.0.0. 

 

How do I set the width/weight of the line? In PS 21 there was a "Weight" option along the top bar, but I don't see that anymore. Am I missing it? Or did it move? 

 

This might be a separate issue, but the lines I'm drawing are not showing up. I have a fill color and stroke color selected, but when I make a line, I don't see it. I just see a blue outline of where it is... the same that might happen if I made a "path" instead of a "shape." 

 

I just need to make a line with a width/weight of 20px.

Bug Fixed
TOPICS
macOS , Windows

Views

9.8K

Translate

Translate

Report

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 2 Correct answers

Adobe Employee , Mar 10, 2021 Mar 10, 2021

The 22.3 update posted on March 10 contains the pixel mode for the line tool; I will personally go to the mat defending this tool and it's functionality if anybody at Adobe attempts to change this feature again. I'm a believer.

Votes

Translate

Translate
Mar 10, 2021 Mar 10, 2021

Greetings,

Good news, the Pixels mode is now back. For more details on adjusting line weight see Create lines and arrows using the Line tool

To update Photoshop to 22.3, click "Update" in the Creative Cloud desktop app next to Photoshop. See: More detailed instructions for updating

Let us know your feedback!

Thanks,

Akash

Votes

Translate

Translate
replies 676 Replies 676
676 Comments
Community Beginner ,
Oct 21, 2020 Oct 21, 2020

Copy link to clipboard

Copied

i am having a problem with this too.  i use the lines with arrowheads all the time to annotate my images.  due to the standardisation the arrows have to be yellow with a black outline.  so by having now having to adjust the stroke and the fill having no use i can only make the arrow one colour.  Now i cant just click and drag an arrow out.  the best solution i have come up with is to use the custom shape tool.  but this always puts the arrow facing the same direction and not the point at the start of the click so my workflow has increased greatly.  another option is to create an outer glow template to add after the arrow has been drawn but this is also time consuming.  seems like a silly thing to have got rid of.  I have had to resort back to the older version of Photoshop which is a shame

Votes

Translate

Translate

Report

Report
Participant ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

This new behavior is so confusing. Yes, holding shift creates just one layer, but it also constrains to straight/45° lines. So you have to be very careful with pressing and releasing the shift key. To be honest I consider that a bad design choice. Anyways, I almost exclusively used the old Line tool as an easy to use tool for creating arbitrary guides as a visual help when retouching (which is unfortunately not otherwise possible). And immediately it seems more complicated as I don't need all this fancy Liveform stuff ... maybe I get used to it 😞 

Votes

Translate

Translate

Report

Report
New Here ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

@Kenneth Campbell arrowheads support fill and stroke both, similar to previous Ps versions.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

on the latest update (22.0) the arrow head supports fill but the line doesnt.  The new line tool is restricted to 2 points and can only be given width by the outer stroke unfortunately.  

Votes

Translate

Translate

Report

Report
New Here ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

@Kenneth Campbell both outer and on-the-shape stroke alignments work for line shapes. The inside stroke alignment doesn't work now because lines have zero weight, and there's no inside.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

yes,  that is the problem.  if you want a yellow arrow with a black outline for example there is no way of doing that now

Votes

Translate

Translate

Report

Report
New Here ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

@Kenneth Campbell does using yellow fill and black stroke on the line achieve the intended result? This should show yellow arrowheads that are outlined with black colour.

Votes

Translate

Translate

Report

Report
Community Beginner ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

no.  it fills the arrow head with yellow, but the line has no fill so it is just the black outline.  the only way i could find to do it was make a yellow arrow and then use an outer glow of black to give it a black outline.  i have to do hundreds of these arrows every day so the extra time really mounts up.  easier to use the older version.

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

You can use Layer Styles to stroke both the arrowhead and the line, if you need them both. 

Additionally, consider saving a preset for your line tool so you can expedite selecting the line with the correct arrowhead and line attributes.

I do think we should add a quick way to apply your stroke layer style to the options bar; that is a good feature request, since that is not saved with the preset.

Votes

Translate

Translate

Report

Report
Explorer ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

@mark_dahm

This new tool is extremely problematic.

Someone from support provided a recommendation of using the line tool with no fill and add the weight to the stroke, and then make additional modifications in the Live Shape Properties tab. That still doesn't work to change the weight of the line itself. When I try to modify the weight, it changes the stroke, not the line.

Additionally, the arrowheads used to be sized proportionally with percentage numbers based on the weight of the line. That has been changed to specific pixels. That makes no sense.

I need to be able to point to objects on pictures and aerial photographs and site plans. This is a simple but integral part of my job every day for 25 years. And now I can't do it. I am having to go into new files, copy the layer with my line or arrow, and then paste it into the new file.

Someone from support also suggested using the pen tool. How? How do I create an arrow with perfectly straight lines using the pen tool? Do I have to draw a long thin rectangle followed by a triangle and then somehow merge them, and fill them and stroke them with the company colors for the project?

How is this progress?

Votes

Translate

Translate

Report

Report
New Here ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

@mark_dahm Any chance the weight option can be added back??? In my daily work I've used the box shape and line tool to crate panels with a gutter. I can't do that If I can't adjust the weight of the line tool.

panels-52439296-b687-4f77-a1c7-a3d43b345270-1314696290.jpg

 

Votes

Translate

Translate

Report

Report
Explorer ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

I also  noticed this change. Its just greyed out. The pixel line tool is super helpful for a lot of quick tasks... so this is actually kind of annoying! In order to draw some lineart I needed yesterday for a comic I had to take my drawing out of photoshop and use a different program. 

Votes

Translate

Translate

Report

Report
Participant ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

There is an ongoing discussion about various changes to the line tool including the pixel option here: https://feedback.photoshop.com/conversations/photoshop/photoshop-220-where-is-the-line-weightwidth-o...

Maybe you're interested ...

Votes

Translate

Translate

Report

Report
Explorer ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

  I know that everyone has a different way of working, and that Photoshop isnt as concerned with illustrators as it is with photographers and designers, but I work in comics and I often have to create lineart with...you know...lines. And this change although adding new options actually makes things so much more slow.  I LIKED the line tool to have Pixel option because I could easily lay down a bunch of strait lines very quickly. With this new change, you make a line, and it immediately is a shape with endpoints so your next mouseclick cant create a line in that spot (since now it presumes you want to position an endpoint, not immediately create a new line from that spot) I could easily connect endpoints before by letting go of line, then starting my next line where the cursor was! 

As it stands, I have to move to another program like Clipstudio or Procreate to create some lines. 

Image is not available

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

Thanks, Jake, for this info; very helpful.

Votes

Translate

Translate

Report

Report
LEGEND ,
Oct 22, 2020 Oct 22, 2020

Copy link to clipboard

Copied

It would be very helpful and much appreciated if the pixel option for the line tool could be added as a legacy setting or at least a similar tool could be created. It really helps to speed up environment design that has a lot of architecture.

Votes

Translate

Translate

Report

Report
Advocate ,
Oct 23, 2020 Oct 23, 2020

Copy link to clipboard

Copied

The good part is, that Adobe didn't touch the code - they only removed the icons...

#target photoshop

var idMk = charIDToTypeID( "Mk  " );
    var desc19 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
        var ref2 = new ActionReference();
        var idcontentLayer = stringIDToTypeID( "contentLayer" );
        ref2.putClass( idcontentLayer );
    desc19.putReference( idnull, ref2 );
    var idUsng = charIDToTypeID( "Usng" );
        var desc20 = new ActionDescriptor();
        var idType = charIDToTypeID( "Type" );
            var desc21 = new ActionDescriptor();
            var idClr = charIDToTypeID( "Clr " );
                var desc22 = new ActionDescriptor();
                var idRd = charIDToTypeID( "Rd  " );
                desc22.putDouble( idRd, 0.000000 );
                var idGrn = charIDToTypeID( "Grn " );
                desc22.putDouble( idGrn, 0.000000 );
                var idBl = charIDToTypeID( "Bl  " );
                desc22.putDouble( idBl, 0.000000 );
            var idRGBC = charIDToTypeID( "RGBC" );
            desc21.putObject( idClr, idRGBC, desc22 );
        var idsolidColorLayer = stringIDToTypeID( "solidColorLayer" );
        desc20.putObject( idType, idsolidColorLayer, desc21 );
        var idShp = charIDToTypeID( "Shp " );
            var desc23 = new ActionDescriptor();
            var idStrt = charIDToTypeID( "Strt" );
                var desc24 = new ActionDescriptor();
                var idHrzn = charIDToTypeID( "Hrzn" );
                var idRlt = charIDToTypeID( "#Rlt" );
                desc24.putUnitDouble( idHrzn, idRlt, 20.000000 );
                var idVrtc = charIDToTypeID( "Vrtc" );
                var idRlt = charIDToTypeID( "#Rlt" );
                desc24.putUnitDouble( idVrtc, idRlt, 50.000000 );
            var idPnt = charIDToTypeID( "Pnt " );
            desc23.putObject( idStrt, idPnt, desc24 );
            var idEnd = charIDToTypeID( "End " );
                var desc25 = new ActionDescriptor();
                var idHrzn = charIDToTypeID( "Hrzn" );
                var idRlt = charIDToTypeID( "#Rlt" );
                desc25.putUnitDouble( idHrzn, idRlt, 220.000000 );
                var idVrtc = charIDToTypeID( "Vrtc" );
                var idRlt = charIDToTypeID( "#Rlt" );
                desc25.putUnitDouble( idVrtc, idRlt, 50.000000 );
            var idPnt = charIDToTypeID( "Pnt " );
            desc23.putObject( idEnd, idPnt, desc25 );
            var idWdth = charIDToTypeID( "Wdth" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc23.putUnitDouble( idWdth, idPxl, 20.000000 );
        var idLn = charIDToTypeID( "Ln  " );
        desc20.putObject( idShp, idLn, desc23 );
        var idstrokeStyle = stringIDToTypeID( "strokeStyle" );
            var desc26 = new ActionDescriptor();
            var idstrokeStyleVersion = stringIDToTypeID( "strokeStyleVersion" );
            desc26.putInteger( idstrokeStyleVersion, 2 );
            var idstrokeEnabled = stringIDToTypeID( "strokeEnabled" );
            desc26.putBoolean( idstrokeEnabled, true );
            var idfillEnabled = stringIDToTypeID( "fillEnabled" );
            desc26.putBoolean( idfillEnabled, false );
            var idstrokeStyleLineWidth = stringIDToTypeID( "strokeStyleLineWidth" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc26.putUnitDouble( idstrokeStyleLineWidth, idPxl, 0.810000 );
            var idstrokeStyleLineDashOffset = stringIDToTypeID( "strokeStyleLineDashOffset" );
            var idPnt = charIDToTypeID( "#Pnt" );
            desc26.putUnitDouble( idstrokeStyleLineDashOffset, idPnt, 0.000000 );
            var idstrokeStyleMiterLimit = stringIDToTypeID( "strokeStyleMiterLimit" );
            desc26.putDouble( idstrokeStyleMiterLimit, 100.000000 );
            var idstrokeStyleLineCapType = stringIDToTypeID( "strokeStyleLineCapType" );
            var idstrokeStyleLineCapType = stringIDToTypeID( "strokeStyleLineCapType" );
            var idstrokeStyleButtCap = stringIDToTypeID( "strokeStyleButtCap" );
            desc26.putEnumerated( idstrokeStyleLineCapType, idstrokeStyleLineCapType, idstrokeStyleButtCap );
            var idstrokeStyleLineJoinType = stringIDToTypeID( "strokeStyleLineJoinType" );
            var idstrokeStyleLineJoinType = stringIDToTypeID( "strokeStyleLineJoinType" );
            var idstrokeStyleMiterJoin = stringIDToTypeID( "strokeStyleMiterJoin" );
            desc26.putEnumerated( idstrokeStyleLineJoinType, idstrokeStyleLineJoinType, idstrokeStyleMiterJoin );
            var idstrokeStyleLineAlignment = stringIDToTypeID( "strokeStyleLineAlignment" );
            var idstrokeStyleLineAlignment = stringIDToTypeID( "strokeStyleLineAlignment" );
            var idstrokeStyleAlignInside = stringIDToTypeID( "strokeStyleAlignInside" );
            desc26.putEnumerated( idstrokeStyleLineAlignment, idstrokeStyleLineAlignment, idstrokeStyleAlignInside );
            var idstrokeStyleScaleLock = stringIDToTypeID( "strokeStyleScaleLock" );
            desc26.putBoolean( idstrokeStyleScaleLock, false );
            var idstrokeStyleStrokeAdjust = stringIDToTypeID( "strokeStyleStrokeAdjust" );
            desc26.putBoolean( idstrokeStyleStrokeAdjust, false );
            var idstrokeStyleLineDashSet = stringIDToTypeID( "strokeStyleLineDashSet" );
                var list3 = new ActionList();
            desc26.putList( idstrokeStyleLineDashSet, list3 );
            var idstrokeStyleBlendMode = stringIDToTypeID( "strokeStyleBlendMode" );
            var idBlnM = charIDToTypeID( "BlnM" );
            var idNrml = charIDToTypeID( "Nrml" );
            desc26.putEnumerated( idstrokeStyleBlendMode, idBlnM, idNrml );
            var idstrokeStyleOpacity = stringIDToTypeID( "strokeStyleOpacity" );
            var idPrc = charIDToTypeID( "#Prc" );
            desc26.putUnitDouble( idstrokeStyleOpacity, idPrc, 100.000000 );
            var idstrokeStyleContent = stringIDToTypeID( "strokeStyleContent" );
                var desc27 = new ActionDescriptor();
                var idClr = charIDToTypeID( "Clr " );
                    var desc28 = new ActionDescriptor();
                    var idRd = charIDToTypeID( "Rd  " );
                    desc28.putDouble( idRd, 151.632748 );
                    var idGrn = charIDToTypeID( "Grn " );
                    desc28.putDouble( idGrn, 151.203934 );
                    var idBl = charIDToTypeID( "Bl  " );
                    desc28.putDouble( idBl, 151.328795 );
                var idRGBC = charIDToTypeID( "RGBC" );
                desc27.putObject( idClr, idRGBC, desc28 );
            var idsolidColorLayer = stringIDToTypeID( "solidColorLayer" );
            desc26.putObject( idstrokeStyleContent, idsolidColorLayer, desc27 );
            var idstrokeStyleResolution = stringIDToTypeID( "strokeStyleResolution" );
            desc26.putDouble( idstrokeStyleResolution, 72.000000 );
        var idstrokeStyle = stringIDToTypeID( "strokeStyle" );
        desc20.putObject( idstrokeStyle, idstrokeStyle, desc26 );
    var idcontentLayer = stringIDToTypeID( "contentLayer" );
    desc19.putObject( idUsng, idcontentLayer, desc20 );
    var idLyrI = charIDToTypeID( "LyrI" );
    desc19.putInteger( idLyrI, 3 );
executeAction( idMk, desc19, DialogModes.NO );

var idMk = charIDToTypeID( "Mk  " );
    var desc51 = new ActionDescriptor();
    var idnull = charIDToTypeID( "null" );
        var ref13 = new ActionReference();
        var idcontentLayer = stringIDToTypeID( "contentLayer" );
        ref13.putClass( idcontentLayer );
    desc51.putReference( idnull, ref13 );
    var idUsng = charIDToTypeID( "Usng" );
        var desc52 = new ActionDescriptor();
        var idType = charIDToTypeID( "Type" );
            var desc53 = new ActionDescriptor();
            var idClr = charIDToTypeID( "Clr " );
                var desc54 = new ActionDescriptor();
                var idRd = charIDToTypeID( "Rd  " );
                desc54.putDouble( idRd, 255.000000 );
                var idGrn = charIDToTypeID( "Grn " );
                desc54.putDouble( idGrn, 241.922698 );
                var idBl = charIDToTypeID( "Bl  " );
                desc54.putDouble( idBl, 0.000000 );
            var idRGBC = charIDToTypeID( "RGBC" );
            desc53.putObject( idClr, idRGBC, desc54 );
        var idsolidColorLayer = stringIDToTypeID( "solidColorLayer" );
        desc52.putObject( idType, idsolidColorLayer, desc53 );
        var idShp = charIDToTypeID( "Shp " );
            var desc55 = new ActionDescriptor();
            var idStrt = charIDToTypeID( "Strt" );
                var desc56 = new ActionDescriptor();
                var idHrzn = charIDToTypeID( "Hrzn" );
                var idRlt = charIDToTypeID( "#Rlt" );
                desc56.putUnitDouble( idHrzn, idRlt, 20.000 );
                var idVrtc = charIDToTypeID( "Vrtc" );
                var idRlt = charIDToTypeID( "#Rlt" );
                desc56.putUnitDouble( idVrtc, idRlt, 100.000 );
            var idPnt = charIDToTypeID( "Pnt " );
            desc55.putObject( idStrt, idPnt, desc56 );
            var idEnd = charIDToTypeID( "End " );
                var desc57 = new ActionDescriptor();
                var idHrzn = charIDToTypeID( "Hrzn" );
                var idRlt = charIDToTypeID( "#Rlt" );
                desc57.putUnitDouble( idHrzn, idRlt, 220.000 );
                var idVrtc = charIDToTypeID( "Vrtc" );
                var idRlt = charIDToTypeID( "#Rlt" );
                desc57.putUnitDouble( idVrtc, idRlt, 100.000 );
            var idPnt = charIDToTypeID( "Pnt " );
            desc55.putObject( idEnd, idPnt, desc57 );
            var idWdth = charIDToTypeID( "Wdth" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc55.putUnitDouble( idWdth, idPxl, 13.000000 );
            var idStrA = charIDToTypeID( "StrA" );
                var desc58 = new ActionDescriptor();
                var idWdth = charIDToTypeID( "Wdth" );
                var idPrc = charIDToTypeID( "#Prc" );
                desc58.putUnitDouble( idWdth, idPrc, 25.000000 );
                var idLngt = charIDToTypeID( "Lngt" );
                var idPrc = charIDToTypeID( "#Prc" );
                desc58.putUnitDouble( idLngt, idPrc, 50.000000 );
                var idCncv = charIDToTypeID( "Cncv" );
                var idPrc = charIDToTypeID( "#Prc" );
                desc58.putUnitDouble( idCncv, idPrc, 0.000000 );
                var idOn = charIDToTypeID( "On  " );
                desc58.putBoolean( idOn, true );
            var idcArw = charIDToTypeID( "cArw" );
            desc55.putObject( idStrA, idcArw, desc58 );
            var idEndA = charIDToTypeID( "EndA" );
                var desc59 = new ActionDescriptor();
                var idWdth = charIDToTypeID( "Wdth" );
                var idPrc = charIDToTypeID( "#Prc" );
                desc59.putUnitDouble( idWdth, idPrc, 25.000000 );
                var idLngt = charIDToTypeID( "Lngt" );
                var idPrc = charIDToTypeID( "#Prc" );
                desc59.putUnitDouble( idLngt, idPrc, 50.000000 );
                var idCncv = charIDToTypeID( "Cncv" );
                var idPrc = charIDToTypeID( "#Prc" );
                desc59.putUnitDouble( idCncv, idPrc, 0.000000 );
                var idOn = charIDToTypeID( "On  " );
                desc59.putBoolean( idOn, true );
            var idcArw = charIDToTypeID( "cArw" );
            desc55.putObject( idEndA, idcArw, desc59 );
        var idLn = charIDToTypeID( "Ln  " );
        desc52.putObject( idShp, idLn, desc55 );
        var idstrokeStyle = stringIDToTypeID( "strokeStyle" );
            var desc60 = new ActionDescriptor();
            var idstrokeStyleVersion = stringIDToTypeID( "strokeStyleVersion" );
            desc60.putInteger( idstrokeStyleVersion, 2 );
            var idstrokeEnabled = stringIDToTypeID( "strokeEnabled" );
            desc60.putBoolean( idstrokeEnabled, true );
            var idfillEnabled = stringIDToTypeID( "fillEnabled" );
            desc60.putBoolean( idfillEnabled, true );
            var idstrokeStyleLineWidth = stringIDToTypeID( "strokeStyleLineWidth" );
            var idPxl = charIDToTypeID( "#Pxl" );
            desc60.putUnitDouble( idstrokeStyleLineWidth, idPxl, 2.510000 );
            var idstrokeStyleLineDashOffset = stringIDToTypeID( "strokeStyleLineDashOffset" );
            var idPnt = charIDToTypeID( "#Pnt" );
            desc60.putUnitDouble( idstrokeStyleLineDashOffset, idPnt, 0.000000 );
            var idstrokeStyleMiterLimit = stringIDToTypeID( "strokeStyleMiterLimit" );
            desc60.putDouble( idstrokeStyleMiterLimit, 100.000000 );
            var idstrokeStyleLineCapType = stringIDToTypeID( "strokeStyleLineCapType" );
            var idstrokeStyleLineCapType = stringIDToTypeID( "strokeStyleLineCapType" );
            var idstrokeStyleButtCap = stringIDToTypeID( "strokeStyleButtCap" );
            desc60.putEnumerated( idstrokeStyleLineCapType, idstrokeStyleLineCapType, idstrokeStyleButtCap );
            var idstrokeStyleLineJoinType = stringIDToTypeID( "strokeStyleLineJoinType" );
            var idstrokeStyleLineJoinType = stringIDToTypeID( "strokeStyleLineJoinType" );
            var idstrokeStyleMiterJoin = stringIDToTypeID( "strokeStyleMiterJoin" );
            desc60.putEnumerated( idstrokeStyleLineJoinType, idstrokeStyleLineJoinType, idstrokeStyleMiterJoin );
            var idstrokeStyleLineAlignment = stringIDToTypeID( "strokeStyleLineAlignment" );
            var idstrokeStyleLineAlignment = stringIDToTypeID( "strokeStyleLineAlignment" );
            var idstrokeStyleAlignCenter = stringIDToTypeID( "strokeStyleAlignCenter" );
            desc60.putEnumerated( idstrokeStyleLineAlignment, idstrokeStyleLineAlignment, idstrokeStyleAlignCenter );
            var idstrokeStyleScaleLock = stringIDToTypeID( "strokeStyleScaleLock" );
            desc60.putBoolean( idstrokeStyleScaleLock, false );
            var idstrokeStyleStrokeAdjust = stringIDToTypeID( "strokeStyleStrokeAdjust" );
            desc60.putBoolean( idstrokeStyleStrokeAdjust, false );
            var idstrokeStyleLineDashSet = stringIDToTypeID( "strokeStyleLineDashSet" );
                var list5 = new ActionList();
                var idNne = charIDToTypeID( "#Nne" );
                list5.putUnitDouble( idNne, 4.000000 );
                var idNne = charIDToTypeID( "#Nne" );
                list5.putUnitDouble( idNne, 2.000000 );
            desc60.putList( idstrokeStyleLineDashSet, list5 );
            var idstrokeStyleBlendMode = stringIDToTypeID( "strokeStyleBlendMode" );
            var idBlnM = charIDToTypeID( "BlnM" );
            var idNrml = charIDToTypeID( "Nrml" );
            desc60.putEnumerated( idstrokeStyleBlendMode, idBlnM, idNrml );
            var idstrokeStyleOpacity = stringIDToTypeID( "strokeStyleOpacity" );
            var idPrc = charIDToTypeID( "#Prc" );
            desc60.putUnitDouble( idstrokeStyleOpacity, idPrc, 100.000000 );
            var idstrokeStyleContent = stringIDToTypeID( "strokeStyleContent" );
                var desc61 = new ActionDescriptor();
                var idClr = charIDToTypeID( "Clr " );
                    var desc62 = new ActionDescriptor();
                    var idRd = charIDToTypeID( "Rd  " );
                    desc62.putDouble( idRd, 237.281931 );
                    var idGrn = charIDToTypeID( "Grn " );
                    desc62.putDouble( idGrn, 28.433876 );
                    var idBl = charIDToTypeID( "Bl  " );
                    desc62.putDouble( idBl, 36.261481 );
                var idRGBC = charIDToTypeID( "RGBC" );
                desc61.putObject( idClr, idRGBC, desc62 );
            var idsolidColorLayer = stringIDToTypeID( "solidColorLayer" );
            desc60.putObject( idstrokeStyleContent, idsolidColorLayer, desc61 );
            var idstrokeStyleResolution = stringIDToTypeID( "strokeStyleResolution" );
            desc60.putDouble( idstrokeStyleResolution, 72.000000 );
        var idstrokeStyle = stringIDToTypeID( "strokeStyle" );
        desc52.putObject( idstrokeStyle, idstrokeStyle, desc60 );
    var idcontentLayer = stringIDToTypeID( "contentLayer" );
    desc51.putObject( idUsng, idcontentLayer, desc52 );
    var idLyrI = charIDToTypeID( "LyrI" );
    desc51.putInteger( idLyrI, 4 );
executeAction( idMk, desc51, DialogModes.NO );

Votes

Translate

Translate

Report

Report
Community Beginner ,
Oct 23, 2020 Oct 23, 2020

Copy link to clipboard

Copied

Using line tool with or without arrowheads and in Photoshop 22.0.0. for Mac OS don't fill or stroke the line. 

Votes

Translate

Translate

Report

Report
Community Beginner ,
Oct 23, 2020 Oct 23, 2020

Copy link to clipboard

Copied

Had to choose line in Stroke Options to make it work, although it indicates that this is set to line type when you start using line tool.

In earlier versions of Photoshop it is set to line as default and you dont have to choose anything to make it work. Still think this is a bug in v 22.0.0. 

Votes

Translate

Translate

Report

Report
New Here ,
Oct 23, 2020 Oct 23, 2020

Copy link to clipboard

Copied

I won't be upgrading if pixel-mode-lines are disabled in new versions. I'm an illustrator so my workflow is very WYSIWYG. I try to keep the number of 'entities' I need to manage to a bare minimum. I keep my layer stack small. I never use vector objects or smart objects. My focus when I work is on the image itself, and my focus is disturbed when I get pulled out of the image to manage something in the interface. A prime example of this kind of unwelcome distraction is the recent change to selecting a layer blending mode - now you have to hit enter to commit the choice. It's not a big deal in isolation, but it becomes a big deal when you have to do it hundreds of times an hour. Hundreds of distracting unnecessary inputs is /not/ my idea of an improvement.  Likewise with this new line behavior - while it may seem that spawning a new entity that can be edited later is an improvement (and I can see how it might be for some) for me it's another example of extra work - each one of those lines needs to be rasterized and merged down into my current painting layer before I can get back into my painting flow. So yet again I'll being burdened with hundreds of extra unnecessary inputs per day. I fail to see a good reason why you would disable the WYSIWYG functionality in favor of editable entities, rather than support both methods. 

Votes

Translate

Translate

Report

Report
Explorer ,
Oct 23, 2020 Oct 23, 2020

Copy link to clipboard

Copied

Hi Tom,

I'm not a programmer.  What am I supposed to do with this code?

Votes

Translate

Translate

Report

Report
Advocate ,
Oct 23, 2020 Oct 23, 2020

Copy link to clipboard

Copied

- select & copy the code

- insert it in your text-editor and save it with the ending *.jsx (or as *.txt and rename it)
- start photoshop

- create a document

- run the script

Votes

Translate

Translate

Report

Report
LEGEND ,
Oct 23, 2020 Oct 23, 2020

Copy link to clipboard

Copied

Started to use 2021 and wanted to draw an arrow. I set up the line tool to draw an arrow and all I got was the arrowhead, no line. Turned off the arrow feature and tried just a line and got nothing. Going back to PS2020 for the moment.

Votes

Translate

Translate

Report

Report
Community Expert ,
Oct 23, 2020 Oct 23, 2020

Copy link to clipboard

Copied

Without line weight line shape can only create arrowheads for none existing lines for the tool does stroke line paths and the arrowhead size can not be relative to line weight.  What is happing in Adobe development?

2020 vs 2021

Capture-b3b20e7f-81a0-4235-876a-b247a0cd7784-1829691673.jpg
JJMack

Votes

Translate

Translate

Report

Report
New Here ,
Oct 23, 2020 Oct 23, 2020

Copy link to clipboard

Copied

I loath the update on the Line tool - why on earth disable the pixel option. Please fix ASAP

Votes

Translate

Translate

Report

Report