<?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: join tow parallell polyline in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207523#M80574</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7344697"&gt;@abdulellah.alattab&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;.... why *.fas format file can not able to load as attachment . ....&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You should be able to put it in a .zip file and attach that.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2019 16:50:46 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2019-12-17T16:50:46Z</dc:date>
    <item>
      <title>join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9203596#M80563</link>
      <description>&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;there is an lisp to join polylines positioned&amp;nbsp; with gap as shown image .&lt;/P&gt;&lt;P&gt;select first line&amp;nbsp; then second line , give angle measured from first line , lisp extend second line and join it with first by an inclined line&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="join two parallel polylines.JPG" style="width: 648px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/708257iEE079C1480776573/image-size/large?v=v2&amp;amp;px=999" role="button" title="join two parallel polylines.JPG" alt="join two parallel polylines.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 00:36:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9203596#M80563</guid>
      <dc:creator>abdulellah.alattab</dc:creator>
      <dc:date>2019-12-16T00:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9203639#M80564</link>
      <description>&lt;P&gt;Study the INTERS function&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Dec 2019 02:20:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9203639#M80564</guid>
      <dc:creator>devitg</dc:creator>
      <dc:date>2019-12-16T02:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9206242#M80565</link>
      <description>&lt;P&gt;Can be done simple&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;pick line 1 end get the x,y co-ords.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pick line 2 end get xy co-ords&lt;/P&gt;&lt;P&gt;use sin cos to work out new x &amp;amp; Y co-ord of sloping line for entered angle.&lt;/P&gt;&lt;P&gt;draw line pedit and join if pline.&lt;/P&gt;&lt;P&gt;use fillet entlast and line 2 to auto join (use ssget with pick point of line 2)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or end point angle draw a line way longer, then fillet using pick line 2. (you need to know roughly how far apart lines would normally be to make 2 picks.)&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 07:11:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9206242#M80565</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-12-17T07:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9206922#M80566</link>
      <description>&lt;P&gt;Any interest in something that does this?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tcc.JPG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/708802i2A02BD4C09803FAF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tcc.JPG" alt="tcc.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can get &lt;FONT color="#000000"&gt;&lt;STRONG&gt;TCC.lsp&lt;/STRONG&gt;&lt;/FONT&gt; that does it&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/reverse-curves-with-tangent-known-beginning-and-end-points/m-p/2481861/highlight/true#M277043" target="_blank" rel="noopener"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;.&amp;nbsp; You pick the nearer endpoints and specify the radius of the arc segments, and it draws a Polyline [the reddish part here].&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 13:30:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9206922#M80566</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-12-17T13:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207035#M80567</link>
      <description>&lt;P&gt;...and they don't need to be parallel for TCC to connect them:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tcc2.JPG" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/708814i321EA21405278302/image-size/medium?v=v2&amp;amp;px=400" role="button" title="tcc2.JPG" alt="tcc2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;nor do they need to be straight:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tcc3.JPG" style="width: 397px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/708816iFE4CA140C6DA32F9/image-dimensions/397x103?v=v2" width="397" height="103" role="button" title="tcc3.JPG" alt="tcc3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 14:06:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207035#M80567</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-12-17T14:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207179#M80568</link>
      <description>&lt;P&gt;i am glad for your replay lisp wise&lt;/P&gt;&lt;P&gt;i am sure you will help me . this lisp posted in this link is what i want . &lt;A href="https://www.theswamp.org/index.php?topic=54130.msg587555#msg587555" target="_blank" rel="noopener"&gt;https://www.theswamp.org/index.php?topic=54130.msg587555#msg587555&lt;/A&gt; it need littel modification . let me run fillet command with preset radius equal zero , and aske me to pick lines that i want to join them , after that done , lisp return to frist task with last angle value . lisp must be remember last angle value when start it agine. i hope to help me&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 14:54:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207179#M80568</guid>
      <dc:creator>abdulellah.alattab</dc:creator>
      <dc:date>2019-12-17T14:54:05Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207273#M80569</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7344697"&gt;@abdulellah.alattab&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;i am glad for your replay lisp wise&lt;/P&gt;
&lt;P&gt;i am sure you will help me . this lisp posted in this link is what i want ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;I can't get that to work.&amp;nbsp; I don't see attachments for the image/drawing that shows how it's supposed to work, nor to get the later code modification(s), and if one needs to be a member there to see attachments, I'm not willing to join just for this.&amp;nbsp; I tried several combinations of direction of Polylines, which one is above the other, the Left/Right/Both options, etc., and I got "numberp: nil" error messages every time.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried asking there?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I may just try something starting from my TCC command rather than from that, but not immediately.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[By the way, the word "repl&lt;FONT color="#FF0000"&gt;a&lt;/FONT&gt;y" &lt;EM&gt;is&lt;/EM&gt;&amp;nbsp; an English word, but it means something completely different -- you want the word "&lt;STRONG&gt;&lt;FONT color="#000000"&gt;reply&lt;/FONT&gt;&lt;/STRONG&gt;."]&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 15:31:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207273#M80569</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-12-17T15:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207418#M80570</link>
      <description>&lt;P&gt;Simple code, maybe you will like it&lt;/P&gt;&lt;PRE&gt;(defun c:jtangle nil (jtangle))

(defun jtangle () (setq jt_ang (* PI (/ (getreal "\nGeneral angle for sloped joint &amp;gt;" ) 180.0))))

(defun c:angjoin ( / e p1 p2 p3 p4 p5 *error*)
(defun *error* () (princ))
(if (not jt_ang) (jtangle))
(setq
    p1 (getpoint "\n Specify startpoint of sloped polyline &amp;gt; ")
    p2 (polar p1 jt_ang 10000.0)
    e (car(entsel "\n Select line to intersect with &amp;gt;"))
    p3 (cdr (assoc 10 (entget e)))
    p4 (cdr (assoc 11 (entget e)))
    p5 (inters p1 p2 p3 p4 nil)
)
(command "pline" p1 p5 (getpoint "\nSelect endpoint of sloped polyline") "")
(princ)
)&lt;/PRE&gt;&lt;P&gt;To store or change angle of sloped line use command JTANGLE.&lt;/P&gt;&lt;P&gt;To create a sloped line and join it to other use command ANGJOIN.&lt;/P&gt;&lt;P&gt;It asks you to select starting point of sloped line, line to cross with, and at the end&lt;/P&gt;&lt;P&gt;to click at end point to finish polyline.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 16:10:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207418#M80570</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2019-12-17T16:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207479#M80571</link>
      <description>&lt;P&gt;i am sorry about word my English very weak .&lt;/P&gt;&lt;P&gt;i will attach two lisp files (plangle and JL commands ) , i think ,&amp;nbsp;&amp;nbsp;They will be useful for the purpose of the study .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will not be a hindrance to you, I am sure of that&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 16:27:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207479#M80571</guid>
      <dc:creator>abdulellah.alattab</dc:creator>
      <dc:date>2019-12-17T16:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207483#M80572</link>
      <description>&lt;P&gt;and this .&lt;/P&gt;&lt;P&gt;why *.fas format file can not able to load as attachment .&lt;/P&gt;&lt;P&gt;Why do I always ask for a&amp;nbsp; DWG&amp;nbsp;file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 16:33:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207483#M80572</guid>
      <dc:creator>abdulellah.alattab</dc:creator>
      <dc:date>2019-12-17T16:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207495#M80573</link>
      <description>&lt;P&gt;thanks for your help , but some thing wrong about second command .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command: ANGJOIN&lt;BR /&gt;Specify startpoint of sloped polyline &amp;gt;&lt;BR /&gt;Select line to intersect with &amp;gt;&lt;FONT color="#FF0000"&gt;too many arguments&lt;/FONT&gt;&lt;BR /&gt;Command:&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 16:36:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207495#M80573</guid>
      <dc:creator>abdulellah.alattab</dc:creator>
      <dc:date>2019-12-17T16:36:26Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207523#M80574</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7344697"&gt;@abdulellah.alattab&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;.... why *.fas format file can not able to load as attachment . ....&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You should be able to put it in a .zip file and attach that.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 16:50:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207523#M80574</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2019-12-17T16:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207557#M80575</link>
      <description>&lt;P&gt;Instead of polylines use LINE objects (you may easily join them later).&lt;/P&gt;&lt;P&gt;Use command to define an global angle.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is another version that draws line at angle to the point of intersection, and waits&lt;/P&gt;&lt;P&gt;to extend other line to intersection point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(defun c:angjoin2 ( / e p1 p2 p3 p4 p5 *error*)
(defun *error* () (princ))
(if (not jt_ang) (jtangle))
(setq
    p1 (getpoint "\n Specify startpoint of sloped polyline &amp;gt; ")
    p2 (polar p1 jt_ang 10000.0)
    e (car(entsel "\n Select line to intersect with &amp;gt;"))
    p3 (cdr (assoc 10 (entget e)))
    p4 (cdr (assoc 11 (entget e)))
    p5 (inters p1 p2 p3 p4 nil)
)
(setq m
         (entmakex
           (list
             '(0 . "LINE")
             (cons 10 p1)
             (cons 11 p5)
           )
         )
       )
(command "_extend" m "")
  (while (&amp;gt; (getvar 'cmdactive) 0)
   (command "\\")
  )
(princ)
)&lt;/PRE&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, 17 Dec 2019 17:02:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207557#M80575</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2019-12-17T17:02:14Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207850#M80576</link>
      <description>&lt;P&gt;my opinion "well job" &amp;lt; it need more effort&amp;nbsp; , there is other way make it more efficient .&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 19:14:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207850#M80576</guid>
      <dc:creator>abdulellah.alattab</dc:creator>
      <dc:date>2019-12-17T19:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207950#M80577</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7344697"&gt;@abdulellah.alattab&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;my opinion "well job" &amp;lt; it need more effort&amp;nbsp; , there is other way make it more efficient .&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Ohh, that's rude!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But on the other hand, what a great opportunity for you! You know, everyone who's learning needs some goal. The big thing. Something to aim the effort. F&lt;SPAN style="font-family: inherit;"&gt;or us is hard to tell what you consider as efficient... because we don't know your specific workflow.&amp;nbsp;&lt;/SPAN&gt;So once you learn enough you can do adjust the workflow to be as efficient as you think is the best. Nobody else could ever do that for you.&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;DIV id="gtx-trans" style="position: absolute; left: 29px; top: 38px;"&gt;
&lt;DIV class="gtx-trans-icon"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Dec 2019 19:54:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207950#M80577</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2019-12-17T19:54:31Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207996#M80578</link>
      <description>&lt;P&gt;Your previous program is very impressive, can you make it work in any direction in the 2d model space .&amp;nbsp;At least in the vertical and horizontal direction&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my goal is : rebar drafting ................&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 20:20:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9207996#M80578</guid>
      <dc:creator>abdulellah.alattab</dc:creator>
      <dc:date>2019-12-17T20:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9208074#M80579</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7344697"&gt;@abdulellah.alattab&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;my goal is : rebar drafting ................&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Code I've provided was written as a sample to show what can be done with few simple lines of code.&amp;nbsp; As a such it needs some optimizations. First it would have to calculate&amp;nbsp; orientation (inclination) of first bar, on that it would add angle to draw sloped bar, find intersection to second bar and finally extend second bar to intersection.&amp;nbsp; It would have to use autolisp trans command to work correctly no matter how your lines are positioned. And it can be optimized to do it more efficiently. It would work correctly for any orientation of two bars that had to be joined.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Without lisp you can try a option to use &lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;polar tracking&lt;/STRONG&gt; &lt;/FONT&gt;and with enabled option &lt;FONT color="#FF0000"&gt;extension &lt;/FONT&gt;for object snap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many years ago I had been doing a lot of rebar drafting and calculations (beams, slabs, plates, various foundations....) and have had all my drafting and calculations done in acad (eurocode and PBAB sandard). If you want to achieve your goal the best option is to learn basics of autolisp. Knowing just basic set of commands enables you to create very usable helper functions or even a whole programs. Of course, that program would need a lot of testing before you can use it in practice.&amp;nbsp; Asking for help without learning autolisp wont get you far with your goal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 21:05:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9208074#M80579</guid>
      <dc:creator>hak_vz</dc:creator>
      <dc:date>2019-12-17T21:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9208271#M80580</link>
      <description>&lt;P&gt;I hope so, if i don't make mistake, you are also a civil engineer. Being like that, you certainly know that your time is no longer yours, work is losing us.&lt;span class="lia-unicode-emoji" title=":downcast_face_with_sweat:"&gt;😓&lt;/span&gt;&lt;span class="lia-unicode-emoji" title=":downcast_face_with_sweat:"&gt;😓&lt;/span&gt;&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, 17 Dec 2019 23:11:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9208271#M80580</guid>
      <dc:creator>abdulellah.alattab</dc:creator>
      <dc:date>2019-12-17T23:11:27Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9208277#M80581</link>
      <description>&lt;P&gt;&lt;EM&gt;I am embarrassed to carry out your stress with me, but what I want is an amendment, according to what is mentioned here, no more.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;I will never go back to bother you .&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 23:16:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9208277#M80581</guid>
      <dc:creator>abdulellah.alattab</dc:creator>
      <dc:date>2019-12-17T23:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: join tow parallell polyline</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9208314#M80582</link>
      <description>&lt;P&gt;Hi hak_vz a quick and dirty is&lt;/P&gt;&lt;P&gt;UCS ob pick 1st line end point&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;(setq pt1 (getpoint)) returns (0.0 0.0 0.0)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;(setq pt2 (getpoint)) returns&amp;nbsp;&lt;FONT&gt;(-123.470482154845 -127.157217775563 0.0)&lt;/FONT&gt; the x y z of the point so know the Y value&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;check the +/- of X Y diff gives direction&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;use sin cos for new x y of pt3 given angle&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;as per my previous post does not matter line or pline.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT&gt;Then UCS W&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2019 23:50:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/join-tow-parallell-polyline/m-p/9208314#M80582</guid>
      <dc:creator>Sea-Haven</dc:creator>
      <dc:date>2019-12-17T23:50:10Z</dc:date>
    </item>
  </channel>
</rss>

