<?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: are there any way to continue the polyline after break? in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282637#M165538</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;My version of such a routine is &lt;FONT color="#000000"&gt;&lt;STRONG&gt;PolylineContinue.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;PLC&lt;/STRONG&gt;&lt;/FONT&gt; command, available &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8071104/highlight/true#M370151" target="_blank"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;.&amp;nbsp; Some advantages over &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;'s PLContinue command [sorry]:&amp;nbsp; it works in any UCS....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well, didn't know about yours. Very comprehensive routine though! No wonder that is better that mine since is almost 10 times longer. And good feature is to close pl to original beginning.&lt;/P&gt;
&lt;P&gt;Anyway, one thing I don't like... how you automatically rotate the UCS to WCS and back... I'm working almost always under UCS so this is disturbing to me. And I would say that my routine works in UCS quite well.&lt;/P&gt;</description>
    <pubDate>Thu, 20 Sep 2018 20:55:29 GMT</pubDate>
    <dc:creator>ВeekeeCZ</dc:creator>
    <dc:date>2018-09-20T20:55:29Z</dc:date>
    <item>
      <title>are there any way to continue the polyline after break?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282395#M165533</link>
      <description>&lt;P&gt;I use polyline to draw a line with straight and curve sections. The command breaks but I want to continue the previous the polyline to draw the arc. If I start a new polyline command, I have to start from straight instead of arc, and joint to the old one, which would lead to more work. so I am looking for the method to continue a break polyline command. Thanks.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 19:07:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282395#M165533</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T19:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: are there any way to continue the polyline after break?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282439#M165534</link>
      <description>&lt;P&gt;I need more information.&amp;nbsp; When you say after a break, do you mean you end the pline command and then decide to continue a pline from there? Please explain.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 19:28:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282439#M165534</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-20T19:28:41Z</dc:date>
    </item>
    <item>
      <title>Betreff: are there any way to continue the polyline after break?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282447#M165535</link>
      <description>&lt;P&gt;You can not "continue" a breaked command, breaked is breaked (but i don't know how it can break except the user leave the command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I not really understand what your problem is with the start of the new(second) polyline before you use command join or pedit(with option join),&lt;/P&gt;
&lt;P&gt;so you can start with a straight or an arc segment, it is your choice!?&lt;/P&gt;
&lt;P&gt;What is your problem by this point, can you show(jpg/dwg) and explain it more in detail?&lt;/P&gt;
&lt;P&gt;Start a second PL and after this join both together is the fastest way without programming.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 19:31:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282447#M165535</guid>
      <dc:creator>cadffm</dc:creator>
      <dc:date>2018-09-20T19:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: are there any way to continue the polyline after break?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282463#M165536</link>
      <description>&lt;P&gt;I can offer my version of PLContinue routine, one of my favorites.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(vl-load-com)&lt;BR /&gt;;------------------------------------------------------------------------------------------------------------
;------------------------------------------------------------------------------------------------------------
(defun c:&lt;STRONG&gt;PLContinue&lt;/STRONG&gt; ( / *error* :getAveragePtOfSelectionPts adoc oVAR nVAR ss en pt wd el pte)
  
  (defun *error* (errmsg)
    (if (not (wcmatch errmsg "Function cancelled,quit / exit abort,console break,end"))
      (princ (strcat "\nError: " errmsg)))
    (vla-endundomark adoc)
    (mapcar 'setvar nVAR oVAR)
    (princ))
  
  (defun :getAveragePtOfSelectionPts (enx / id en sum pts)
    (setq id  (caar enx)
	  pts (cond ((= id 1)
		     (cdar (reverse (car enx))))
		    ((or (= id 2) (= id 3))
		     (mapcar 'cadr (cdadr enx)))
		    ((= id 4)
		     (mapcar 'cadr (cdddar enx)))
		    ((setq en (cadar enx))
		     (list (vlax-curve-getPointAtDist en (* 0.5 (vlax-curve-getDistAtPoint en (vlax-curve-getEndPoint en)))))))
	  sum '(0 0)
	  num (length pts))
    (foreach x pts (setq sum (mapcar '+ x sum)))
    (mapcar '/ sum (list num num)))
  
  ;--------
  
  (vla-startundomark (setq adoc (vla-get-activedocument (vlax-get-acad-object))))
  (setq oVAR (mapcar 'getvar (setq nVAR '(CMDECHO PEDITACCEPT CLAYER))))
  (mapcar 'setvar '(CMDECHO PEDITACCEPT) '(1 1))
  
  (if (and (setq ss (ssget "_:S" '((0 . "LWPOLYLINE,LINE,ARC"))))
	   (= 1 (sslength ss))
	   (setq en (ssname ss 0)
		 wd (cond ((= "LWPOLYLINE" (cdr (assoc 0 (entget en))))
			   (cdr (assoc 40 (entget en))))
			  (0.)))
	   (setq pt (:getAveragePtOfSelectionPts (ssnamex ss 0)))
	   (setq pt (vlax-curve-getClosestPointTo en pt))
	   (setq pt (if (&amp;gt; (vlax-curve-getDistAtPoint en pt)
			   (* 0.5 (vlax-curve-getDistAtPoint en (setq pte (vlax-curve-getEndPoint en)))))
		      (vlax-curve-getEndPoint en)
		      (vlax-curve-getStartPoint en)))
	   )
    (progn
      (setvar 'CMDECHO 0)
      (if (ssget "_P" '((0 . "LINE,ARC")))
	(progn
	  (command "_.PEDIT" en "")
	  (setq en (entlast))
	  (if (not (equal pte (vlax-curve-getEndPoint en) 1e-6))
	    (command "_.REVERSE" en ""))
	  ))
      (setvar 'CLAYER (cdr (assoc 8 (entget en))))
      (setq el (entlast))
      (setvar 'CMDECHO 1)
      (command "_.PLINE" (trans pt 0 1))
      (setvar 'CMDECHO 0)
      (command "_W" wd wd)
      (setvar 'CMDECHO 1)
      (while (&amp;gt; (getvar 'CMDACTIVE) 0)
	(command PAUSE))
      (setvar 'CMDECHO 0)
      (if (/= el (entlast))
	(command "_.JOIN" en (entlast) ""))))
  (*error* "end")
  )&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;BTW At AUGI wishlist is this still one of top 30. Vote for it!!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 19:50:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282463#M165536</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2018-09-20T19:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: are there any way to continue the polyline after break?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282574#M165537</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;I use polyline to draw a line with straight and curve sections. The command breaks but &lt;FONT color="#0000ff"&gt;I want to continue the previous the polyline to draw the arc&lt;/FONT&gt;. If I start a new polyline command, I have to start from straight instead of arc, and joint to the old one....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My version of such a routine is &lt;FONT color="#000000"&gt;&lt;STRONG&gt;PolylineContinue.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;PLC&lt;/STRONG&gt;&lt;/FONT&gt; command, available &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8071104/highlight/true#M370151" target="_blank"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;.&amp;nbsp; Some advantages over &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;'s PLContinue command [sorry]:&amp;nbsp; it works in any UCS; &lt;FONT color="#0000ff"&gt;&lt;EM&gt;it knows the direction the end of the selected object is headed&lt;/EM&gt;&lt;/FONT&gt;, so you can immediately go into the Arc option, and it heads out in the tangent-continuation direction just as if you were continuing in the original Pline command; after you've added at least one segment, the Close option takes it back to the other end of the &lt;EM&gt;original object&lt;/EM&gt;, not to where you hooked on.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 20:30:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282574#M165537</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-09-20T20:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: are there any way to continue the polyline after break?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282637#M165538</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;My version of such a routine is &lt;FONT color="#000000"&gt;&lt;STRONG&gt;PolylineContinue.lsp&lt;/STRONG&gt;&lt;/FONT&gt; with its &lt;FONT color="#000000"&gt;&lt;STRONG&gt;PLC&lt;/STRONG&gt;&lt;/FONT&gt; command, available &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/share-your-favorite-usefull-lisp-files/m-p/8071104/highlight/true#M370151" target="_blank"&gt;&amp;gt;here&amp;lt;&lt;/A&gt;.&amp;nbsp; Some advantages over &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;'s PLContinue command [sorry]:&amp;nbsp; it works in any UCS....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Well, didn't know about yours. Very comprehensive routine though! No wonder that is better that mine since is almost 10 times longer. And good feature is to close pl to original beginning.&lt;/P&gt;
&lt;P&gt;Anyway, one thing I don't like... how you automatically rotate the UCS to WCS and back... I'm working almost always under UCS so this is disturbing to me. And I would say that my routine works in UCS quite well.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 20:55:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282637#M165538</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2018-09-20T20:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: are there any way to continue the polyline after break?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282703#M165539</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/1779365"&gt;@ВeekeeCZ&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;.... Well, didn't know about yours. .... Anyway, one thing I don't like... how you automatically rotate the UCS to WCS and back... I'm working almost always under UCS so this is disturbing to me. And I would say that my routine works in UCS quite well.&lt;/BLOCKQUOTE&gt;
&lt;HR /&gt;
&lt;P&gt;Yours may work well in any UCS if the object selected is in the current one, but it didn't work [for me] when&amp;nbsp;a selected Polyline was not -- it drew a Polyline continuing from the end, but drew it in the current UCS, so since it wasn't in the same plane as the original, it couldn't Join&amp;nbsp;the new one&amp;nbsp;to the original.&amp;nbsp; That's why mine changes the UCS when there's a difference that matters [it doesn't always] -- it needs to draw in the UCS of the object in order to join the new part to it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Anyway, it's supposed to turn UCSFOLLOW off, so it won't jump to Plan view in&amp;nbsp;a different UCS when it changes it, so I&amp;nbsp;hope at least it's not disturbing in that way.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Sep 2018 21:34:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8282703#M165539</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-09-20T21:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: are there any way to continue the polyline after break?</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8283972#M165540</link>
      <description>&lt;P&gt;You're right Kent, I'm working in one plane only, just different views.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, with UCSFOLLOW 0 it just rotates the crosshair. Still annoying if you don't need it, IMHO.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Sep 2018 12:11:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/are-there-any-way-to-continue-the-polyline-after-break/m-p/8283972#M165540</guid>
      <dc:creator>ВeekeeCZ</dc:creator>
      <dc:date>2018-09-21T12:11:41Z</dc:date>
    </item>
  </channel>
</rss>

