<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>tema Re: Set Polyline width ByLayer? en AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/set-polyline-width-bylayer/m-p/12628174#M1126383</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12642899"&gt;@mbloswick&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One suggestion would be to Create and included on a Tool Pallettes - then apply a width in the "Tool Properties" Command string - something like what&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/582192"&gt;@JBerns&lt;/a&gt;&amp;nbsp;mentioned:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^C^C(setvar "PLINEWID" 4.0) _pline&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ValentinWSP_0-1709944272441.png" style="width: 492px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1335184iCACDE6BB4B4B651E/image-dimensions/492x333?v=v2" width="492" height="333" role="button" title="ValentinWSP_0-1709944272441.png" alt="ValentinWSP_0-1709944272441.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-6B20D7DF-447A-4A8D-8FF1-8339CF54FFBD" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;About Creating Tool Palettes&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 09 Mar 2024 00:31:23 GMT</pubDate>
    <dc:creator>Valentin-WSP</dc:creator>
    <dc:date>2024-03-09T00:31:23Z</dc:date>
    <item>
      <title>Set Polyline width ByLayer?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/set-polyline-width-bylayer/m-p/12628131#M1126381</link>
      <description>&lt;P&gt;I'm setting up our template drawing, and I was wondering - is it possible to set polyline width ByLayer?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are going to have separate layers for different pavement markings, and those pavement markings are always going to be polylines with a width. All polylines on "White Solid 4in" will have the same width.&amp;nbsp; Is there a way I can set that ByLayer, so I don't have to trust my users to set it every time they want to draw a line on the layer? Or is there a way to make some kind of an element template they can use? I really want to avoid everyone having to set everything individually every time because you&amp;nbsp;&lt;EM&gt;know&lt;/EM&gt; some people won't. The more automatic I can make things, the happier we will aLL BE.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternately, is there a way for me to make a custom linestyle of a set width that I could use?&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 21:32:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/set-polyline-width-bylayer/m-p/12628131#M1126381</guid>
      <dc:creator>mbloswick</dc:creator>
      <dc:date>2024-03-08T21:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Polyline width ByLayer?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/set-polyline-width-bylayer/m-p/12628169#M1126382</link>
      <description>&lt;P&gt;My first thought was adding polylines with different properties to a tool palette, but tool palettes do not support preset widths.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next thought would be custom commands to draw polylines on the correct layer and width.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, this will draw a four-inch wide polyline on the "&lt;SPAN&gt;White Solid 4in" layer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;(defun C:WS4 ()
  (setvar "CLAYER" "White Solid 4in")
  (setvar "PLINEWID" 4.0)
  (command-s "_.PLINE")
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Perhaps a community member with AutoCAD reactor experience may suggest some code to automatically set the polyline width based on the current layer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jerry&lt;/P&gt;</description>
      <pubDate>Fri, 08 Mar 2024 22:01:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/set-polyline-width-bylayer/m-p/12628169#M1126382</guid>
      <dc:creator>JBerns</dc:creator>
      <dc:date>2024-03-08T22:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Polyline width ByLayer?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/set-polyline-width-bylayer/m-p/12628174#M1126383</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12642899"&gt;@mbloswick&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One suggestion would be to Create and included on a Tool Pallettes - then apply a width in the "Tool Properties" Command string - something like what&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/582192"&gt;@JBerns&lt;/a&gt;&amp;nbsp;mentioned:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;^C^C(setvar "PLINEWID" 4.0) _pline&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ValentinWSP_0-1709944272441.png" style="width: 492px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1335184iCACDE6BB4B4B651E/image-dimensions/492x333?v=v2" width="492" height="333" role="button" title="ValentinWSP_0-1709944272441.png" alt="ValentinWSP_0-1709944272441.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A href="https://help.autodesk.com/view/ACD/2024/ENU/?guid=GUID-6B20D7DF-447A-4A8D-8FF1-8339CF54FFBD" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;About Creating Tool Palettes&lt;/STRONG&gt;&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 00:31:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/set-polyline-width-bylayer/m-p/12628174#M1126383</guid>
      <dc:creator>Valentin-WSP</dc:creator>
      <dc:date>2024-03-09T00:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Polyline width ByLayer?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/set-polyline-width-bylayer/m-p/12628389#M1126386</link>
      <description>&lt;P&gt;You could create a .ctb file that uses your predefined plotting lineweight for a specific color, set your colors to by layer, and set the layer to that color.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, the command SETBYLAYER is great when used with quick select to do batch settings to by layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Mar 2024 01:15:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/set-polyline-width-bylayer/m-p/12628389#M1126386</guid>
      <dc:creator>gonecrawfishin</dc:creator>
      <dc:date>2024-03-09T01:15:06Z</dc:date>
    </item>
  </channel>
</rss>

