<?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>topic Re: Linetype spacing incorrect at ends in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7344804#M115617</link>
    <description>Hi Kent,&lt;BR /&gt;&lt;BR /&gt;It is unfortunate that I have used my linetype for 30 and 60 scale grids as my example but I have the same problem with dot spacing set up for 50 scale which is very clean and exact.  Perhaps this is another of those things that go unnoticed, unreported and never repaired because typical users have never used linetypes to produce a specific dimensional spacing of their "pen down" specifications  or they just don't care if the ends of their linetypes are just a bit different. This happens to ALL linetypes, dots or otherwise.  Maybe I'm the only weirdo that uses linetypes like this.</description>
    <pubDate>Fri, 01 Sep 2017 11:43:01 GMT</pubDate>
    <dc:creator>hencoop</dc:creator>
    <dc:date>2017-09-01T11:43:01Z</dc:date>
    <item>
      <title>Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7343469#M115613</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This has been a problem for me for years. &amp;nbsp;I was hoping that someone would know more bout it and perhaps even have a solution for it.&lt;/P&gt;
&lt;P&gt;I have custom DOT linetypes with a very specific spacing (when both LTscale and the object linetype scale are 1.0). &amp;nbsp;The spacing is critical as they are used in my profile grids and the dots coincide where grid lines intersect. &amp;nbsp;If the pattern is off then the result is a somewhat random dot pattern. &amp;nbsp;The dots have multiple purposes. &amp;nbsp;One is to have dots that mark off standard measurements along both the horizontal and vertical grid lines. &amp;nbsp;Another is to&amp;nbsp;have black dots that appear to print as a&amp;nbsp;gray line because of the white space between the dots. &amp;nbsp;Yet another is to permit using the&amp;nbsp;very compact compressed TIFF bi-tonal raster format as the plotter output because it&amp;nbsp;neither makes the grid lines solid black or solid white but instead makes black dots where they are in the linetype definition.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the linetype definition and an image&amp;nbsp;of the incorrect spacing that is at each end of the lines:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;*dot3d,dotted line ..................................&lt;BR /&gt;A,0,-0.066667&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="Linetype.jpg" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/396394iE8ABE64B93AE9BAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Linetype.jpg" alt="Linetype.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 20:13:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7343469#M115613</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2017-08-31T20:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7343617#M115614</link>
      <description>&lt;P&gt;That is just how linetypes are -- the ends 'average out' the remainder spacing.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get what you want, you could create a dynamic block using a linear array parameter that could array a block or an entity of somekind (a small line or circle or donut).&lt;/P&gt;</description>
      <pubDate>Thu, 31 Aug 2017 21:03:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7343617#M115614</guid>
      <dc:creator>lando7189</dc:creator>
      <dc:date>2017-08-31T21:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7344076#M115615</link>
      <description>Thank you for your reply.  That is not my experience.  The line lengths are very carefully set to an even multiple of the dot spacing yet they have improper spacing at the ends.  I think line types are much more efficient at this than arrays and dynamic blocks.  I mask the ends now.  I was hoping there had been some improvement I had not heard of.</description>
      <pubDate>Fri, 01 Sep 2017 02:18:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7344076#M115615</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2017-09-01T02:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7344773#M115616</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1152254"&gt;@hencoop&lt;/a&gt; wrote:&lt;BR /&gt;.... The line lengths are very carefully set to an even multiple of the dot spacing yet they have improper spacing at the ends. .....&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;But the dot spacing is a &lt;EM&gt;rounded-off&lt;/EM&gt;&amp;nbsp; value [-0.066667], so careful setting of the lengths isn't ever going to meet it &lt;EM&gt;exactly&lt;/EM&gt;.&amp;nbsp; What if you tried defining the spacing as a "clean," "exact"&amp;nbsp;value, such as -0.1, and then &lt;EM&gt;used&lt;/EM&gt;&amp;nbsp; it at a linetype &lt;EM&gt;scale&lt;/EM&gt;&amp;nbsp; to get the resulting spacing desired?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Sep 2017 11:25:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7344773#M115616</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-09-01T11:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7344804#M115617</link>
      <description>Hi Kent,&lt;BR /&gt;&lt;BR /&gt;It is unfortunate that I have used my linetype for 30 and 60 scale grids as my example but I have the same problem with dot spacing set up for 50 scale which is very clean and exact.  Perhaps this is another of those things that go unnoticed, unreported and never repaired because typical users have never used linetypes to produce a specific dimensional spacing of their "pen down" specifications  or they just don't care if the ends of their linetypes are just a bit different. This happens to ALL linetypes, dots or otherwise.  Maybe I'm the only weirdo that uses linetypes like this.</description>
      <pubDate>Fri, 01 Sep 2017 11:43:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7344804#M115617</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2017-09-01T11:43:01Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356089#M115618</link>
      <description>&lt;P&gt;Here is a quick example i did up -- the spacing is 10, but just scaling it by 5 would make the distances 50... 6 would be 60, etc.&lt;/P&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>Tue, 05 Sep 2017 19:39:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356089#M115618</guid>
      <dc:creator>lando7189</dc:creator>
      <dc:date>2017-09-05T19:39:00Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356111#M115619</link>
      <description>&lt;P&gt;Thank you for your reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That does work nicely and does not exhibit the problem that linetypes do; however, my purpose was not to find a workaround (I have that) but rather to bring the problem to Autodesk's attention and hopefully have them fix this problem with linetypes&amp;nbsp;permanently.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 19:46:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356111#M115619</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2017-09-05T19:46:37Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356184#M115620</link>
      <description>&lt;P&gt;Aha... i just realized the problem. &amp;nbsp;I have a dotted line with 0.25 spacing, and have a length of 1, i get 5 dots -- nice &amp;nbsp;and clean.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But when i make a linetype definition of the type you specified, i get the ugly gaps at the end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In your case, the distance is 0.066667 -- which is ever so slightly more than 1/15th. &amp;nbsp;To fix it, change the definition to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A,0,-0.066666,0,-0.066667,0,-0.066667&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;... and now your lines can be exact in length.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 20:25:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356184#M115620</guid>
      <dc:creator>lando7189</dc:creator>
      <dc:date>2017-09-05T20:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356194#M115621</link>
      <description>&lt;P&gt;My original post above was wrong (fixed now)... the smaller 'pen up' values have to come first:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;A,0,-0.066666,0,-0.066667,0,-0.066667&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 20:26:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356194#M115621</guid>
      <dc:creator>lando7189</dc:creator>
      <dc:date>2017-09-05T20:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356224#M115622</link>
      <description>&lt;P&gt;You had my hopes up. &amp;nbsp;I had not tried doing multiple pen-up pen-down definitions in a single dotted linetype. &amp;nbsp;Alas! it is still the same with your fixed definition. &amp;nbsp;(This line was set at exactly 3.0 units and then 1.0 units and both look like this).&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="more-ltype.jpg" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/397841i6AEE9B2253F35BC1/image-size/large?v=v2&amp;amp;px=999" role="button" title="more-ltype.jpg" alt="more-ltype.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 20:37:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356224#M115622</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2017-09-05T20:37:16Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356234#M115623</link>
      <description>&lt;P&gt;Yah... i found out the second gap goes over again...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, for an exact line, it would be:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A,0,-0.066666,0,-0.066666,0,-0.066668&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But, since you were OK with 0.066667, just 0.066666 should be good enough. &amp;nbsp;So the secret is just not to go over!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;A,0,-0.066666&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 20:41:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356234#M115623</guid>
      <dc:creator>lando7189</dc:creator>
      <dc:date>2017-09-05T20:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356244#M115624</link>
      <description>&lt;P&gt;Oh -- linetypes have to&amp;nbsp;be reloaded into the drawing (otherwise, the definition stays whatever it was at the time it was loaded &amp;nbsp;-- that is how you can distribute files with custom linetypes without having to send a linetype file).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That actually would fix your problem you just posted -- (my suggestion about the smaller 'pen up' values would only affect certain 'fractional' length lines)&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 20:48:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356244#M115624</guid>
      <dc:creator>lando7189</dc:creator>
      <dc:date>2017-09-05T20:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356276#M115625</link>
      <description>&lt;P&gt;I really appreciate your working on this. &amp;nbsp;I have reloaded my linetype and I have calculated the exact length the line should be for a given number of iterations of the pattern. &amp;nbsp;I set my line to that exact length but yet again I am sad to report it looks like this (my last test was actually 0.0001 units shorter than the definition called for):&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="more-ltype2.jpg" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/397842i77FE16FD36BF8AF1/image-size/large?v=v2&amp;amp;px=999" role="button" title="more-ltype2.jpg" alt="more-ltype2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There is&amp;nbsp;ALWAYS a gap of about half again the defined pen-up distance at each end regardless of what you or I do. &amp;nbsp;Your efforts have reaffirmed my years of experience with this problem. &amp;nbsp;I had so hoped you were right. &amp;nbsp;Thank you again for looking at it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Sep 2017 20:57:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7356276#M115625</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2017-09-05T20:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7358707#M115626</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/417420"&gt;@lando7189&lt;/a&gt;&amp;nbsp;Yours is a good solution to creating a measured dot matrix from linear arrays in&amp;nbsp;dynamic blocks even though it does not specifically solve the longstanding "incorrect spacing at linetype ends" problem. &amp;nbsp;I hope that Autodesk will address this linetype problem at some point but I'm not holding my breath. &amp;nbsp;For those visiting this thread that may want this effect and have experienced the linetype problem like I have, your solution does it nicely I think.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Sep 2017 15:23:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/7358707#M115626</guid>
      <dc:creator>hencoop</dc:creator>
      <dc:date>2017-09-06T15:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/9971568#M115627</link>
      <description>&lt;P&gt;You're not the only weirdo.&amp;nbsp; I would also like very much for Autodesk to fix this problem.&amp;nbsp; I want my dots to line up exactly.&amp;nbsp; I had to create a dynamic dot matrix.&amp;nbsp; It works great but I still want them to fix the linetype problem.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 31 Dec 2020 20:24:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/9971568#M115627</guid>
      <dc:creator>jmay1</dc:creator>
      <dc:date>2020-12-31T20:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Linetype spacing incorrect at ends</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/12637362#M115628</link>
      <description>&lt;P&gt;I was having a similar issue with Hidden linetypes not evenly spacing at the ends.&lt;/P&gt;&lt;P&gt;Never happened to me before, and it was driving me mad. I know with Polylines you have the LTGEN variable, but these are regular normal Lines!!!!!&lt;/P&gt;&lt;P&gt;Google searching got me to try '&lt;STRONG&gt;GRAPHICSCONFIG&lt;/STRONG&gt;'&lt;/P&gt;&lt;P&gt;I was on a new laptop running AutoCAD LT 2024 and the Graphics Performance setting was 'Advance Mode'.&lt;/P&gt;&lt;P&gt;I changed it to 'Intermediate Mode' and now my regular hidden Lines look correct again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a miracle!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2024 10:11:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/linetype-spacing-incorrect-at-ends/m-p/12637362#M115628</guid>
      <dc:creator>Thomas_ConnollyMQNNG</dc:creator>
      <dc:date>2024-03-13T10:11:12Z</dc:date>
    </item>
  </channel>
</rss>

