<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>CAD Forum discussion (EN) : Autolisp File</title>
  <link>https://www.cadforum.cz/forum_en/</link>
  <description><![CDATA[This is an XML content feed of; CAD Forum discussion (EN) : AutoCAD : Autolisp File]]></description>
  <pubDate>Sat, 16 May 2026 22:46:17 +0000</pubDate>
  <lastBuildDate>Tue, 28 Jan 2014 17:02:18 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://www.cadforum.cz/forum_en/RSS_post_feed.asp?TID=9995</WebWizForums:feedURL>
  <image>
   <title><![CDATA[CAD Forum discussion (EN)]]></title>
   <url>https://www.cadforum.cz/forum_en/forum_images/web_wiz_forums.png</url>
   <link>https://www.cadforum.cz/forum_en/</link>
  </image>
  <item>
   <title><![CDATA[Autolisp File : Ah, yes, of course.... I at first...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9995&amp;PID=25834&amp;title=autolisp-file#25834</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=353260">Kent Cooper</a><br /><strong>Subject:</strong> 9995<br /><strong>Posted:</strong> 28.Jan.2014 at 17:02<br /><br />Ah, yes, of course....&nbsp; I at first had it doing Matchprop before Pedit, and I reversed that specifically in case of non-zero width, but didn't think about the entity-name change, and obviously didn't test the reversed-order version in that situation.]]>
   </description>
   <pubDate>Tue, 28 Jan 2014 17:02:18 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9995&amp;PID=25834&amp;title=autolisp-file#25834</guid>
  </item> 
  <item>
   <title><![CDATA[Autolisp File : Hello Kent I&amp;#039;ve managed...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9995&amp;PID=25831&amp;title=autolisp-file#25831</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=364557">1616syd</a><br /><strong>Subject:</strong> 9995<br /><strong>Posted:</strong> 28.Jan.2014 at 15:58<br /><br />Hello Kent<DIV>I've managed to juggle your code with the addition of <strong><EM>entlast</EM></strong>&nbsp;in</DIV><DIV>the matchprop call instead of <strong><EM>lin</EM></strong>, which holds only the original data</DIV><DIV>fo the selected line, and not the new polyline.</DIV><DIV>&nbsp;</DIV><DIV><FONT color=#0033ff>(defun C:MPPL (/ pl lin)<BR>&nbsp; (setq pea (getvar 'peditaccept))<BR>&nbsp; (setvar 'peditaccept 1)<BR>&nbsp; (setq<BR>&nbsp;&nbsp;&nbsp; pl (car (entsel "\nSelect Polyline to match Line to: "))<BR>&nbsp;&nbsp;&nbsp; lin (car (entsel "\nSelect Line to convert to Polyline and match selected one: "))<BR>&nbsp; ); setq<BR>&nbsp; (command "_.pedit" lin "" "_.matchprop" pl (entlast) "")<BR>&nbsp; (setvar 'peditaccept pea)<BR>&nbsp; (princ)<BR>); defun<BR></FONT></DIV><DIV><FONT color=#000000>Kind Regards</FONT></DIV><DIV><FONT color=#0033ff><FONT color=#000000>Syd</FONT></DIV></FONT>]]>
   </description>
   <pubDate>Tue, 28 Jan 2014 15:58:52 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9995&amp;PID=25831&amp;title=autolisp-file#25831</guid>
  </item> 
  <item>
   <title><![CDATA[Autolisp File : Thank you for that Kent, it works...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9995&amp;PID=25830&amp;title=autolisp-file#25830</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=364557">1616syd</a><br /><strong>Subject:</strong> 9995<br /><strong>Posted:</strong> 28.Jan.2014 at 15:18<br /><br />Thank you for that Kent, it works OK, other than it has to be run a second<DIV>time to create the global width of the new polyline to match original if greater than 0.</DIV><DIV>Kind regards</DIV><DIV>Syd</DIV>]]>
   </description>
   <pubDate>Tue, 28 Jan 2014 15:18:15 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9995&amp;PID=25830&amp;title=autolisp-file#25830</guid>
  </item> 
  <item>
   <title><![CDATA[Autolisp File : Try this, in nearly simplest terms:  (defun...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9995&amp;PID=25829&amp;title=autolisp-file#25829</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=353260">Kent Cooper</a><br /><strong>Subject:</strong> 9995<br /><strong>Posted:</strong> 28.Jan.2014 at 15:09<br /><br />Try this, in nearly simplest terms:<DIV>&nbsp;</DIV><DIV>(defun C:MPPL</DIV><DIV>; = Match Properties of Polyline to Line &#091;including converting&nbsp;Line to Polyline&#093;<BR>&nbsp; (/ pl lin)<BR>&nbsp; (setq pea (getvar 'peditaccept))<BR>&nbsp; (setvar 'peditaccept 1)<BR>&nbsp; (setq<BR>&nbsp;&nbsp;&nbsp; pl (car (entsel "\nSelect Polyline to match Line to: "))<BR>&nbsp;&nbsp;&nbsp; lin (car (entsel "\nSelect Line to convert to Polyline and match selected one: "))<BR>&nbsp; ); setq<BR>&nbsp; (command<BR>&nbsp;&nbsp;&nbsp; "_.pedit" lin ""<BR>&nbsp;&nbsp;&nbsp; "_.matchprop" pl lin ""<BR>&nbsp; ); command<BR>&nbsp; (setvar 'peditaccept pea)<BR>); defun</DIV><DIV>&nbsp;</DIV><DIV>It ought to be enhanced with valid-object-type selection controls, maybe command-echo suppression, error handling, and all the other usual bells and whistles, but as a start it works for me, in limited testing.</DIV>]]>
   </description>
   <pubDate>Tue, 28 Jan 2014 15:09:40 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9995&amp;PID=25829&amp;title=autolisp-file#25829</guid>
  </item> 
  <item>
   <title><![CDATA[Autolisp File : Anyone got a lisp file which will...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9995&amp;PID=25825&amp;title=autolisp-file#25825</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=364557">1616syd</a><br /><strong>Subject:</strong> 9995<br /><strong>Posted:</strong> 27.Jan.2014 at 22:41<br /><br />Anyone got a lisp file which will enable the properties of a LWPOLYLINE to be matched to a LINE<DIV>and thus converting it into a LWPOLYLINE, in much the same way as the MATCH PROPERTIES</DIV><DIV>does with other objects.<img src="http://www.cadforum.cz/forum_en/smileys/smiley32.gif" height="17" width="18" border="0" alt="Clap" title="Clap" /></DIV>]]>
   </description>
   <pubDate>Mon, 27 Jan 2014 22:41:17 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=9995&amp;PID=25825&amp;title=autolisp-file#25825</guid>
  </item> 
 </channel>
</rss>