<?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) : region2poly error</title>
  <link>https://www.cadforum.cz/forum_en/</link>
  <description><![CDATA[This is an XML content feed of; CAD Forum discussion (EN) : ARKANCE (CAD Studio) applications : region2poly error]]></description>
  <pubDate>Sun, 10 May 2026 15:18:31 +0000</pubDate>
  <lastBuildDate>Thu, 15 Jul 2021 14:45:47 +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=13615</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[region2poly error : I did some digging.The problem...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13615&amp;PID=37997&amp;title=region2poly-error#37997</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=878569">w64bitcad</a><br /><strong>Subject:</strong> 13615<br /><strong>Posted:</strong> 15.Jul.2021 at 14:45<br /><br /><div>I did some digging.</div><div>The problem is with PEDITACCEPT.</div><div><br></div><div>Instead of:</div><div><pre ="bbcode"=""><div>(if (eq etyp "LWPOLYLINE")(command "._PEDIT" "_L" "_J" "_P" "" ""))</div><div>(if (and (/= etyp "CIRCLE")(/= etyp "LWPOLYLINE"))(command "._PEDIT" "_L" "_Y" "_J" "_P" "" "")</div></pre></div><div>this seems to work:<br></div><div><div><pre ="bbcode"="">(if (= (getvar "PEDITACCEPT") 1)(command "PEDIT" "_L" "_J" "_P" "" "")(command "PEDIT" "_L" "_Y" "_J" "_P" "" ""))</pre></div></div><div><br></div><span style="font-size:10px"><br /><br />Edited by w64bitcad - 16.Jul.2021 at 12:16</span>]]>
   </description>
   <pubDate>Thu, 15 Jul 2021 14:45:47 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13615&amp;PID=37997&amp;title=region2poly-error#37997</guid>
  </item> 
  <item>
   <title><![CDATA[region2poly error : It probably doesn&amp;#039;t like...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13615&amp;PID=37996&amp;title=region2poly-error#37996</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=3">Vladimir Michl</a><br /><strong>Subject:</strong> 13615<br /><strong>Posted:</strong> 15.Jul.2021 at 14:39<br /><br />It probably doesn't like one of the options. Please try the following LISP code:<div><br></div><div><table width="99%"><tr><td><pre class="BBcode"></div><div><div>; Convert Region to Polyline (by Arkance Systems)</div><div>;</div><div>;1.1 - multiple</div><div>;</div><div>(defun c:region2poly (/ cmde ss reg reg1 lay etyp i)</div><div>&nbsp;(setq cmde (getvar "CMDECHO"))</div><div>&nbsp; (setvar "cmdecho" 0)</div><div>&nbsp; ;(setq reg (entsel "\nSelect a region: "))</div><div>&nbsp; ;(if reg</div><div>&nbsp; (setq ss (ssget '((0 . "REGION"))))</div><div>&nbsp; (if ss</div><div>&nbsp; &nbsp;(progn</div><div>&nbsp; &nbsp;(setq i 0)</div><div>&nbsp; &nbsp;(while (&lt; i (sslength ss))</div><div>&nbsp; &nbsp;;(setq reg1 (entget (car reg)))</div><div>&nbsp; &nbsp;(setq reg1 (entget (ssname ss i)))</div><div>&nbsp; &nbsp;(setq lay (cdr (assoc 8 reg1)))</div><div>&nbsp; &nbsp;(setq etyp (cdr (assoc 0 reg1)))</div><div>;is layer locked?</div><div>(if (= 4 (logand 4 (cdr (assoc 70 (tblsearch "layer" lay)))))</div><div>&nbsp;(command "_LAYER" "_U" lay "")</div><div>)</div><div><br></div><div>;region?</div><div>;&nbsp; &nbsp; &nbsp;(if (eq etyp "REGION")</div><div>;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (progn</div><div><span style="white-space:pre">	</span>(command "._explode" (cdr (assoc -1 reg1)))</div><div><span style="white-space:pre">	</span>(setq reg1 (entget (entlast)))</div><div><span style="white-space:pre">	</span>(setq etyp (cdr (assoc 0 reg1)))</div><div><br></div><div>(if (eq etyp "LWPOLYLINE")(command "._PEDIT" "_L" "_J" "_P" "" ""))</div><div><br></div><div>(if (and (/= etyp "CIRCLE")(/= etyp "LWPOLYLINE"))</div><div>&nbsp;(command "._PEDIT" "_L" "_Y" "_J" "_P" "" "")</div><div>)</div><div>(princ "\nConverted to polyline.")</div><div>;)</div><div>;(princ " Not a region!")</div><div>;) ; if</div><div><span style="white-space:pre">	</span>(setq i (1+ i))</div><div>) ; while</div><div>))</div><div>(setvar "cmdecho" cmde)</div><div>(princ)</div><div>);</div></div><div></pre></td></tr></table></div><div><br></div>]]>
   </description>
   <pubDate>Thu, 15 Jul 2021 14:39:52 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13615&amp;PID=37996&amp;title=region2poly-error#37996</guid>
  </item> 
  <item>
   <title><![CDATA[region2poly error : When I use region2poly 1.1 on...]]></title>
   <link>https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13615&amp;PID=37995&amp;title=region2poly-error#37995</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://www.cadforum.cz/forum_en/member_profile.asp?PF=878569">w64bitcad</a><br /><strong>Subject:</strong> 13615<br /><strong>Posted:</strong> 15.Jul.2021 at 14:25<br /><br /><div>When I use region2poly 1.1 on AutoCAD 2021, I receive an error:</div><div>Invalid option keyword.</div><div>; error: Function cancelled</div><div>Is there anything I can do in order to fix this?</div><div><br></div>]]>
   </description>
   <pubDate>Thu, 15 Jul 2021 14:25:25 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum_en/forum_posts.asp?TID=13615&amp;PID=37995&amp;title=region2poly-error#37995</guid>
  </item> 
 </channel>
</rss>