<?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: Need lisp for direction change of polyline in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092961#M103133</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;....&amp;nbsp;i am giving you Screenshots which is similar to original drawing. In input every segment having one id like 12345, 12346 &amp;amp; 12347 which is similar or replica to output need to modify polylines direction similar to input polylines.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Those images don't really tell us very much.&amp;nbsp; Is each line in those grids a single-line-segment Polyline, or do they have segments within them?&amp;nbsp; What is the nature of the "id" of every segment -- extended data, perhaps?&amp;nbsp; And again, what is the process of output and input, and the format of the information?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want things to be replicas, running in the same direction, how about just using COPY?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Jun 2018 18:46:13 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2018-06-26T18:46:13Z</dc:date>
    <item>
      <title>Need lisp for direction change of polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092657#M103125</link>
      <description>&lt;P&gt;Hi every one can you help me to come out from this. I need lisp for change direction of polyline with the reference of source with unique identity number.&lt;/P&gt;&lt;P&gt;I am having inputs and outputs in the form of polylines with unique identity number(both are having same identity number)and polyline segments are same in both input and output but those polylines directions are mismatching between input and output i need to change all output polylines direction with the reference of input polylines ASAP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 17:06:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092657#M103125</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-26T17:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need lisp for direction change of polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092670#M103126</link>
      <description>&lt;P&gt;Hello&amp;nbsp;@Anonymous&lt;BR /&gt;it would be much simpler if you could send a .dwg explaining better.&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 17:11:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092670#M103126</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-26T17:11:08Z</dc:date>
    </item>
    <item>
      <title>Re: Need lisp for direction change of polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092784#M103127</link>
      <description>&lt;P&gt;@Anonymous,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It sounds like you are describing the &lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/CloudHelp/cloudhelp/2016/ENU/AutoCAD-Core/files/GUID-EAE8C2C3-B780-4501-9CBD-C06346CC9F2E-htm.html" target="_blank"&gt;REVERSE&lt;/A&gt; command. If you know the input / output then pass the polyline to this function..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Something like this..?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(defun RPL ( ent / )&lt;BR /&gt;;;ReversePolyLine
;;Not tested
(command "_.REVERSE" (car ent) "")
(princ)
);defun&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;~DD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 17:53:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092784#M103127</guid>
      <dc:creator>CodeDing</dc:creator>
      <dc:date>2018-06-26T17:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need lisp for direction change of polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092825#M103128</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;inputs and outputs ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That wording is what I wonder about.&amp;nbsp; What is the nature of an "input" and an "output"?&amp;nbsp; If what you mean is, for example,&amp;nbsp;that you have a Polyline, and you output its vertices to some kind of &lt;EM&gt;external file&lt;/EM&gt;, and then you pull them &lt;EM&gt;from&lt;/EM&gt; that external file to draw a new Polyline (a copy of the original), it could be that the method used to get the original's vertices (there are various ways to do it) results in their being in reverse order.&amp;nbsp; Or possibly it's the other way around, that the code that brings them back in somehow works from the&amp;nbsp;wrong end of the source information.&amp;nbsp;&amp;nbsp;Such a cause should be&amp;nbsp;easily fixable, if you have the code that does the output and input operations.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that's not the issue, tell us more about the process of outputting and inputting, the format of the information involved, etc.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 18:03:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092825#M103128</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-06-26T18:03:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need lisp for direction change of polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092830#M103129</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Júnior Nogueira,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Currently i am unable to share original .dwg but i am giving you Screenshots which is similar to original drawing. In input every segment having one id like 12345, 12346 &amp;amp; 12347 which is similar or replica to output need to modify polylines direction similar to input polylines.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Input" style="width: 616px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/516334iBB939AAF00B2BE1B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Input.JPG" alt="Input" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Input&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="output" style="width: 678px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/516335i610F844B29B6237E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Output.JPG" alt="output" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;output&lt;/span&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 18:04:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092830#M103129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-26T18:04:26Z</dc:date>
    </item>
    <item>
      <title>Re: Need lisp for direction change of polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092854#M103130</link>
      <description>&lt;P&gt;But some cases in output some polylines directions are irrespective to input we have to change that polyline directions similar to input polyline direction&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 18:13:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092854#M103130</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-26T18:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need lisp for direction change of polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092883#M103131</link>
      <description>&lt;P&gt;I am giving you Screenshots which is similar to original drawing. In input every segment having one id like 12345, 12346 &amp;amp; 12347 which is similar or replica to output. Need to modify polylines direction similar to input, some cases in output some polylines directions are irrespective to input we have to change that polyline directions similar to input. polyline direction.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="input polyline segments" style="width: 616px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/516339iE5D79F4FA375D15E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Input.JPG" alt="input polyline segments" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;input polyline segments&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="output polyline segments" style="width: 678px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/516340i3552AD84D74DE70C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Output.JPG" alt="output polyline segments" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;output polyline segments&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 18:22:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092883#M103131</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-26T18:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need lisp for direction change of polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092961#M103133</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN&gt;....&amp;nbsp;i am giving you Screenshots which is similar to original drawing. In input every segment having one id like 12345, 12346 &amp;amp; 12347 which is similar or replica to output need to modify polylines direction similar to input polylines.&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Those images don't really tell us very much.&amp;nbsp; Is each line in those grids a single-line-segment Polyline, or do they have segments within them?&amp;nbsp; What is the nature of the "id" of every segment -- extended data, perhaps?&amp;nbsp; And again, what is the process of output and input, and the format of the information?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want things to be replicas, running in the same direction, how about just using COPY?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Jun 2018 18:46:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/need-lisp-for-direction-change-of-polyline/m-p/8092961#M103133</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-06-26T18:46:13Z</dc:date>
    </item>
  </channel>
</rss>

