<?xml version="1.0" encoding="windows-1250" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>CAD F&#243;rum : Porovnanie zoznamov</title>
  <link>https://www.cadforum.cz/forum/</link>
  <description><![CDATA[Toto je XML obsahový kanál serveru; CAD F&#243;rum : CAD programov&#225;n&#237; : Porovnanie zoznamov]]></description>
  <pubDate>Mon, 14 Sep 2026 22:57:08 +0000</pubDate>
  <lastBuildDate>Mon, 22 Dec 2014 19:54:22 +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/RSS_post_feed.asp?TID=20009</WebWizForums:feedURL>
  <image>
   <title><![CDATA[CAD F&#243;rum]]></title>
   <url>https://www.cadforum.cz/forum/forum_images/web_wiz_forums.png</url>
   <link>https://www.cadforum.cz/forum/</link>
  </image>
  <item>
   <title><![CDATA[Porovnanie zoznamov :   michaelflyer napsal(a):......]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90347&amp;title=porovnanie-zoznamov#90347</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=1045">johny</a><br /><strong>Předmět:</strong> 20009<br /><strong>Zasláno:</strong> 22.pro.2014 v 19:54<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Původně odeslal(a) michaelflyer" alt="Původně odeslal(a) michaelflyer" style="vertical-align: text-bottom;" /> <strong>michaelflyer napsal(a):</strong><br /><br />&nbsp;<span style="line-height: 1.4;">... Aj keď stále mi vrtá hlavou ako lisp vie, že má toto použiť, keď sa program preruší pomocou klávesy "Esc"?<br></span></td></tr></table><div><br></div><div>...lebo to niekto múdry tak naprogramoval ;-)</div><div><br></div><div>PS. je důležité aby to bylo právě *error*, ne třeba jen (defun error () ...)</div><div>Více: http://www.lee-mac.com/errorhandling.html</div>]]>
   </description>
   <pubDate>Mon, 22 Dec 2014 19:54:22 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90347&amp;title=porovnanie-zoznamov#90347</guid>
  </item> 
  <item>
   <title><![CDATA[Porovnanie zoznamov : Probl&#233;mem asi nebude ssget.. viz...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90346&amp;title=porovnanie-zoznamov#90346</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=1045">johny</a><br /><strong>Předmět:</strong> 20009<br /><strong>Zasláno:</strong> 22.pro.2014 v 19:42<br /><br />Problémem asi nebude ssget.. viz poznámky v kódu.<div><br></div><div><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;">(setq m0 T)</span><br style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;"><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;">(if (= m0 "Copy") ;V předchozím řádku jste do m0&nbsp;</span><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; line-height: 1.4; : rgb247, 247, 249;">vložil</span><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; line-height: 1.4; : rgb247, 247, 249;">&nbsp;</span><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; line-height: 1.4; : rgb247, 247, 249;">True, jak KDY může nastat tato podmínka??</span></div><div><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;">(progn ;progn nemusí být, když bude následovat jediný příkaz (while...)</span><br style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;"><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;">(while m0 ;klidně bych dal podmínku (while (= m0 "Copy") a zrušil předchozí 2 řádky...)&nbsp;</span><br style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;"><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;">(command "_copy" objekt "" "0,0,0" ""); dál nezkoumáno.</span><br style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;"><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;">(setq objekt nil)</span><br style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;"><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;">(setq objekt (ssget "_P"))</span><br style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;"><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;">(setq m0 (getpoint "\nVyber dva body!"))</span><br style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;"><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;">(command "_ROTATE" objekt "" m0 "_R" m0 pause pause)</span><br style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;"><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;">)</span><br style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;"><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;">)</span><br style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;"><span style="color: rgb54, 69, 90; font-family: 'Courier New', Courier, mono; : rgb247, 247, 249;">)&nbsp;</span></div>]]>
   </description>
   <pubDate>Mon, 22 Dec 2014 19:42:34 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90346&amp;title=porovnanie-zoznamov#90346</guid>
  </item> 
  <item>
   <title><![CDATA[Porovnanie zoznamov :    johny napsal(a):  michaelflyer...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90318&amp;title=porovnanie-zoznamov#90318</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=2183">michaelflyer</a><br /><strong>Předmět:</strong> 20009<br /><strong>Zasláno:</strong> 22.pro.2014 v 10:30<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Původně odeslal(a) johny" alt="Původně odeslal(a) johny" style="vertical-align: text-bottom;" /> <strong>johny napsal(a):</strong><br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Původně odeslal(a) michaelflyer" alt="Původně odeslal(a) michaelflyer" style="vertical-align: text-bottom;" /> <strong>michaelflyer napsal(a):</strong><br /><br /><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size: small; font-family: Arial, sans-serif;">Toto jeprogram, ktorý zrotuje podľa referenčného bodu a&nbsp;je tam aj možnosť „copy“– či chceš kopírovať a&nbsp;zároveň rotovať objekt. Celkom dobrá vec ale viacako 1x coyp sa nedá zrealizovať. Vysvetlím nižšie...</span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">&nbsp; </font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2"><font color="#993300">(defun c:rot(/ objekt m0)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(prompt "\nVyber objekt narotovanie:")</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(setq objekt (ssget))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(initget 1 "Copy")</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(setq m0 (getpoint "\nVyber dva body!&#091;Copy&#093;?:"))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(if (= m0 "Copy")</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(progn</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(command "_copy" objekt"" "0,0,0" "")</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(setq objekt nil)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(setq objekt (ssget "_P"))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(setq m0 (getpoint "\nVyber dvabody!"))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(command "_ROTATE" objekt"" m0 "_R" m0 pause pause)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2"><font color="#993300">)</font></font></span></p></td></tr></table><div><br></div><div>Taky mám svůj program na referenční otáčení - a velmi velmi oblíbený:</div><div><div><br></div><div><font face="Courier New, Courier, mono">(defun C:O() ;Otoc-tremi-body</font></div><div><font face="Courier New, Courier, mono">&nbsp; (command "_select" pause)</font></div><div><font face="Courier New, Courier, mono">&nbsp; (command "_rotate" "_p" "" pause "_r" "@" pause pause)</font></div><div><font face="Courier New, Courier, mono">&nbsp; (princ)</font></div><div><font face="Courier New, Courier, mono">)</font></div><div><span style="font-size: 12px; line-height: 1.4;"><br></span></div><div><span style="font-size: 12px; line-height: 1.4;">Pak mám i druhý, který používám... no když, tak jednou za rok (=k ničemu)..&nbsp;</span></div><div><span style="font-size: 12px; line-height: 1.4;"><br></span></div><div><span style="font-size: 12px; line-height: 1.4;"><font face="Courier New, Courier, mono">(defun C:Ok() ;Otoc-a-zkopiruj-tremi-body</font></span></div><div><font face="Courier New, Courier, mono">&nbsp; (command "_select" pause)</font></div><div><font face="Courier New, Courier, mono">&nbsp; (command "_rotate" "_p" "" pause "_c" "_r" "@" pause pause)</font></div><div><font face="Courier New, Courier, mono">&nbsp; (princ)</font></div><div><font face="Courier New, Courier, mono">)</font></div></div><p></td></tr></table></p><p><br></p><p>Ďakumem za ten *error* už to torošku lepšie chápem... Aj keď stále mi vrtá hlavou ako lisp vie, že má toto použiť, keď sa program preruší pomocou klávesy "Esc"?&nbsp;</p><p>&nbsp; <font face="Courier New, Courier, mono">(command "_rotate" "_p" "" pause "_c" "_r" "@" pause pause)</font>- Ja frčím ešte stále na Acad 2000 a takéto zlepšováky si musím doprogramovať. Takže sa stále musím vrátiť k (ssget "_P") - problém je ale v tom, že aj tie príklady čo ste mi na ne poslal odkaz, neriešia to čo by som potreboval. Neviem či to je autocadom2000, alebo nezle napísaného programu... Stačí že urobím túto smičku a už to nefunguje:</p><p>&nbsp;</p><p><font face="Courier New, Courier, mono">(setq m0 T)<br>  (if (= m0 "Copy")<br>    (progn<br>      (while m0<br>      (command "_copy" objekt "" "0,0,0" "")<br>      (setq objekt nil)<br>      (setq objekt (ssget "_P"))<br>      (setq m0 (getpoint "\nVyber dva body!"))<br>	(command "_ROTATE" objekt "" m0 "_R" m0 pause pause)<br>    )<br>  )<br>    ) &nbsp;&nbsp;</font></p>]]>
   </description>
   <pubDate>Mon, 22 Dec 2014 10:30:21 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90318&amp;title=porovnanie-zoznamov#90318</guid>
  </item> 
  <item>
   <title><![CDATA[Porovnanie zoznamov :   michaelflyer napsal(a):   Toto...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90286&amp;title=porovnanie-zoznamov#90286</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=1045">johny</a><br /><strong>Předmět:</strong> 20009<br /><strong>Zasláno:</strong> 19.pro.2014 v 14:25<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Původně odeslal(a) michaelflyer" alt="Původně odeslal(a) michaelflyer" style="vertical-align: text-bottom;" /> <strong>michaelflyer napsal(a):</strong><br /><br /><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size: small; font-family: Arial, sans-serif;">Toto jeprogram, ktorý zrotuje podľa referenčného bodu a&nbsp;je tam aj možnosť „copy“– či chceš kopírovať a&nbsp;zároveň rotovať objekt. Celkom dobrá vec ale viacako 1x coyp sa nedá zrealizovať. Vysvetlím nižšie...</span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">&nbsp; </font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2"><font color="#993300">(defun c:rot(/ objekt m0)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(prompt "\nVyber objekt narotovanie:")</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(setq objekt (ssget))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(initget 1 "Copy")</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(setq m0 (getpoint "\nVyber dva body!&#091;Copy&#093;?:"))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(if (= m0 "Copy")</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(progn</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(command "_copy" objekt"" "0,0,0" "")</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(setq objekt nil)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(setq objekt (ssget "_P"))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(setq m0 (getpoint "\nVyber dvabody!"))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(command "_ROTATE" objekt"" m0 "_R" m0 pause pause)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2"><font color="#993300">)</font></font></span></p></td></tr></table><div><br></div><div>Taky mám svůj program na referenční otáčení - a velmi velmi oblíbený:</div><div><div><br></div><div><font face="Courier New, Courier, mono">(defun C:O() ;Otoc-tremi-body</font></div><div><font face="Courier New, Courier, mono">&nbsp; (command "_select" pause)</font></div><div><font face="Courier New, Courier, mono">&nbsp; (command "_rotate" "_p" "" pause "_r" "@" pause pause)</font></div><div><font face="Courier New, Courier, mono">&nbsp; (princ)</font></div><div><font face="Courier New, Courier, mono">)</font></div><div><span style="font-size: 12px; line-height: 1.4;"><br></span></div><div><span style="font-size: 12px; line-height: 1.4;">Pak mám i druhý, který používám... no když, tak jednou za rok (=k ničemu)..&nbsp;</span></div><div><span style="font-size: 12px; line-height: 1.4;"><br></span></div><div><span style="font-size: 12px; line-height: 1.4;"><font face="Courier New, Courier, mono">(defun C:Ok() ;Otoc-a-zkopiruj-tremi-body</font></span></div><div><font face="Courier New, Courier, mono">&nbsp; (command "_select" pause)</font></div><div><font face="Courier New, Courier, mono">&nbsp; (command "_rotate" "_p" "" pause "_c" "_r" "@" pause pause)</font></div><div><font face="Courier New, Courier, mono">&nbsp; (princ)</font></div><div><font face="Courier New, Courier, mono">)</font></div></div><span style="font-size:10px"><br /><br />Upravil johny - 19.pro.2014 v 15:11</span>]]>
   </description>
   <pubDate>Fri, 19 Dec 2014 14:25:02 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90286&amp;title=porovnanie-zoznamov#90286</guid>
  </item> 
  <item>
   <title><![CDATA[Porovnanie zoznamov :   michaelflyer napsal(a):   Ast&#253;m...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90285&amp;title=porovnanie-zoznamov#90285</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=1045">johny</a><br /><strong>Předmět:</strong> 20009<br /><strong>Zasláno:</strong> 19.pro.2014 v 14:16<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Původně odeslal(a) michaelflyer" alt="Původně odeslal(a) michaelflyer" style="vertical-align: text-bottom;" /> <strong>michaelflyer napsal(a):</strong><br /><br /><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><font size="2" style="font-family: Arial, sans-serif;">&nbsp;A&nbsp;stým (ssget "_P") mám stále problémy! Aj keďdám niekolko objektov skopírovať a&nbsp;chcem aby mi ich vybralo pomocou</font><span style="font-family: Arial, sans-serif; font-size: 9pt;"><font size="2">&nbsp; </font></span><font size="2" style="font-family: Arial, sans-serif;">(ssget "_P") vyberie mi iba párobjektov. Ako by sa to dalo obýsť. Nefunguje niečo ako (ssget „_L“) napríkladpodľa počtu posledných nakreslených objektov? Alebo niečo podobné?</font><span style="font-size: small; line-height: 115%;">&nbsp;</span></p></td></tr></table><div><br></div><div>Můj oblíbený link na all-about-ssget</div><div><span style="font-size: 12px; line-height: 1.4;"><br></span></div><div><span style="font-size: 12px; line-height: 1.4;">http://www.lee-mac.com/ssget.html</span></div>]]>
   </description>
   <pubDate>Fri, 19 Dec 2014 14:16:48 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90285&amp;title=porovnanie-zoznamov#90285</guid>
  </item> 
  <item>
   <title><![CDATA[Porovnanie zoznamov :   michaelflyer napsal(a):   Rozm&#253;&#353;lal som...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90284&amp;title=porovnanie-zoznamov#90284</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=1045">johny</a><br /><strong>Předmět:</strong> 20009<br /><strong>Zasláno:</strong> 19.pro.2014 v 14:06<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Původně odeslal(a) michaelflyer" alt="Původně odeslal(a) michaelflyer" style="vertical-align: text-bottom;" /> <strong>michaelflyer napsal(a):</strong><br /><br /><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size: small; font-family: Arial, sans-serif;">Rozmýšlalsom nad tým „OSMODE“. Má jednu nevýhodu – ak spadne program tak uchopovaciebody sú vynulované a&nbsp;tak ostáva na užívateľovi aby si ich zasepozapínal... Mám preto lepšie riešenie ktoré som našiel:</span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;</font></font></span><font size="2"><font color="#993300">(defun osnap-off ()</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;</font></font></span><font size="2"><font color="#993300">(setvar "osmode" (logior (getvar"osmode") 16384))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;</font></font></span><font size="2"><font color="#993300">)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2"><font color="#993300">&nbsp;</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2"><font color="#993300">(defunosnap-on ()</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;</font></font></span><font size="2"><font color="#993300">(setvar "osmode" (logand (getvar"osmode") (~ 16384)))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;</font></font></span><font size="2"><font color="#993300">)</font> </font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">Ak aj spadnetak užívateľ stlačí klávesu F3 a&nbsp;nemusí prácne všetko zapínať (každýsnap)...</font></span></p></td></tr></table><div><br></div><div>Psal jsem Vám, že si to musíte v error funkci hlídat. A to platí ať to uděláte tak, či onak. Povypínané proměnné musíte při erroru znovu ponahazovat.</div><div><br></div><div><div><font face="Courier New, Courier, mono">(defun c:VasProgram ()</font></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">(defun *error* (errmsg) ; *error* funkce se spustí pri jakekoliv chybe</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; (if (not (wcmatch errmsg "Function cancelled, quit / exit abort, console break"))</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; &nbsp; (princ (strcat "\nError: " errmsg)))</font></div><div><span style="font-family: 'Courier New', Courier, mono; font-size: 12px; line-height: 1.4;">&nbsp; (setvar "OSMODE" old_osmode) ;podle mého</span></div><div><font face="Courier New, Courier, mono">&nbsp; (osnap-on) ;podle vašeho.. + doplnit o podmínku na stav před spuštěním</font></div><div><font face="Courier New, Courier, mono">&nbsp; &nbsp; (princ)</font></div><div><font face="Courier New, Courier, mono">&nbsp;); end *error*</font></div></div><div><font face="Courier New, Courier, mono"><br></font></div><div><font face="Courier New, Courier, mono">(prikazy VasehoProgramu)</font></div><div><span style="font-family: 'Courier New', Courier, mono; font-size: 12px; line-height: 1.4;">);konec VasehoProgramu</span></div><div><br></div><div>A ještě k tomu vašemu.. Ano, jako přepínač je to pěkné a taky to používám, ale napsal jsem vám to jednodušší, páč u tohoto vašeho je třeba hlídat, abyste svým programem nezapnul OSNAP i tehdá, když ho sám uživatel měl před spuštěním vašeho programu vypnutý.</div><span style="font-size:10px"><br /><br />Upravil johny - 19.pro.2014 v 16:46</span>]]>
   </description>
   <pubDate>Fri, 19 Dec 2014 14:06:09 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90284&amp;title=porovnanie-zoznamov#90284</guid>
  </item> 
  <item>
   <title><![CDATA[Porovnanie zoznamov :    Ospravedl&#328;ujem sa za dlhodob&#250;...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90281&amp;title=porovnanie-zoznamov#90281</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=2183">michaelflyer</a><br /><strong>Předmět:</strong> 20009<br /><strong>Zasláno:</strong> 19.pro.2014 v 12:55<br /><br /><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">Ospravedlňujem</font><span style="mso-spacerun:yes"><font size="2">&nbsp; </font></span><font size="2">sa za dlhodobú neprítomnosť. Mal som inéstarosti.</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">VladimírMichl:</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">Žiaľ, to minepomôže. Budem musieť ostať pri „equal“ s&nbsp;nejakou toleranciou ako ste miporadili na začiatku.</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">&nbsp;</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">Johny:</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2"><font color="#993300">(while (not (and(setq ensel (entsel "\nSelect polyline: ")) </font></font></span><strong><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2"><font color="#993300">; – Tak to som netušil,že „and“ sa dá aj takto použiť!</font></font></span><span style="font-size:9.0pt;font-family:  &quot;Times New Roman&quot;,&quot;serif&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:  SK"><span style="mso-tab-count:2"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</font></font></span></span></strong><span style="font-size:9.0pt;font-family:  &quot;Times New Roman&quot;,&quot;serif&quot;;mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:  SK"><span style="mso-tab-count:2"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span></span><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;mso-fareast-font-family:  &quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;</font></font></span><font size="2"><font color="#993300">(eq (cdr (assoc 0 (entget (car ensel))));</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Times New Roman&quot;,&quot;serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-tab-count:2"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span></span><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;mso-fareast-font-family:  &quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">"LWPOLYLINE"))) </font></font><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;</font></font></span></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">Ale je toveľmi pekné a&nbsp;elegantné riešenie!</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">Rozmýšlalsom nad tým „OSMODE“. Má jednu nevýhodu – ak spadne program tak uchopovaciebody sú vynulované a&nbsp;tak ostáva na užívateľovi aby si ich zasepozapínal... Mám preto lepšie riešenie ktoré som našiel:</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;</font></font></span><font size="2"><font color="#993300">(defun osnap-off ()</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;</font></font></span><font size="2"><font color="#993300">(setvar "osmode" (logior (getvar"osmode") 16384))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;</font></font></span><font size="2"><font color="#993300">)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2"><font color="#993300">&nbsp;</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2"><font color="#993300">(defunosnap-on ()</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;</font></font></span><font size="2"><font color="#993300">(setvar "osmode" (logand (getvar"osmode") (~ 16384)))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;</font></font></span><font size="2"><font color="#993300">)</font> </font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">Ak aj spadnetak užívateľ stlačí klávesu F3 a&nbsp;nemusí prácne všetko zapínať (každýsnap)...</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">&nbsp;</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">Ďakujem Vámobom za rady a&nbsp;poučenie.</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">&nbsp;</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">Neviem čimám zakladať novú tému, ale hodím to sem:</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">Toto jeprogram, ktorý zrotuje podľa referenčného bodu a&nbsp;je tam aj možnosť „copy“– či chceš kopírovať a&nbsp;zároveň rotovať objekt. Celkom dobrá vec ale viacako 1x coyp sa nedá zrealizovať. Vysvetlím nižšie...</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">&nbsp; </font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2"><font color="#993300">(defun c:rot(/ objekt m0)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(prompt "\nVyber objekt narotovanie:")</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(setq objekt (ssget))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(initget 1 "Copy")</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(setq m0 (getpoint "\nVyber dva body!&#091;Copy&#093;?:"))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(if (= m0 "Copy")</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(progn</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(command "_copy" objekt"" "0,0,0" "")</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(setq objekt nil)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(setq objekt (ssget "_P"))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">(setq m0 (getpoint "\nVyber dvabody!"))</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp;&nbsp;&nbsp; </font></font></span><font size="2"><font color="#993300">)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><span style="mso-spacerun:yes"><font size="2"><font color="#993300">&nbsp; </font></font></span><font size="2"><font color="#993300">(command "_ROTATE" objekt"" m0 "_R" m0 pause pause)</font></font></span></p><font size="2"><font color="#993300"></font></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2"><font color="#993300">)</font> </font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">&nbsp;&nbsp;</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;  mso-fareast-font-family:&quot;Times New Roman&quot;;mso-fareast-:SK"><font size="2">Akonáhleimplementujem „while“ (setq objekt (ssget "_P")) – nedokáže vybraťposledné objekty. A&nbsp;stým (ssget "_P") mám stále problémy! Aj keďdám niekolko objektov skopírovať a&nbsp;chcem aby mi ich vybralo pomocou</font><span style="mso-spacerun:yes"><font size="2">&nbsp; </font></span><font size="2">(ssget "_P") vyberie mi iba párobjektov. Ako by sa to dalo obýsť. Nefunguje niečo ako (ssget „_L“) napríkladpodľa počtu posledných nakreslených objektov? Alebo niečo podobné?</font></span></p><font size="2"></font><p ="ms&#111;normal"="" style="margin-bottom:0cm;margin-bottom:.0001pt;line-height:  normal"><span style="font-size:9.0pt"><o:p><font size="2">&nbsp;</font></o:p></span></p><font size="2"></font><p ="ms&#111;normal"=""><span style="font-size:9.0pt;line-height:115%"><o:p><font size="2">&nbsp;</font></o:p></span></p><span style="font-size:10px"><br /><br />Upravil michaelflyer - 19.pro.2014 v 12:58</span>]]>
   </description>
   <pubDate>Fri, 19 Dec 2014 12:55:33 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=90281&amp;title=porovnanie-zoznamov#90281</guid>
  </item> 
  <item>
   <title><![CDATA[Porovnanie zoznamov : No a na z&#225;v&#283;r jsem si nechal toto.....]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=88990&amp;title=porovnanie-zoznamov#88990</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=1045">johny</a><br /><strong>Předmět:</strong> 20009<br /><strong>Zasláno:</strong> 15.říj.2014 v 17:22<br /><br /><div><span style="line-height: 16.7999992370605px;">No a na závěr jsem si nechal toto.. Napsal jsem vám k tomu pár poznámek jak si to můžete opravit.&nbsp;</span></div><div><br></div><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Původně odeslal(a) michaelflyer" alt="Původně odeslal(a) michaelflyer" style="vertical-align: text-bottom;" /> <strong>michaelflyer napsal(a):</strong><br /><br /><p><span style="line-height: 1.4;"><table width="99%"><tr><td><pre class="BBcode">(while (/= &nbsp; ;chybně napsaná podmínka. Správně např. (/= LWPOLYLINE "LWPOLYLINE")</span></p><p>	   (setq LWPOLYLINE&nbsp;(progn ;progn do setq nepatří! Jestli to mělo být pro while, tak ani to nepotřebuje progn. Celý řádek smazat.<br>		    (setq ent_s_bodom (entsel "\nVyber polilajnu v bode výstupu:")) ;název bych volil jednodušší<br>		    (setq ent_zoznam (entget (car ent_s_bodom))) ;<span style="line-height: 16.7999992370605px;">název bych volil jednodušší</span><span style="line-height: 1.4;">&nbsp;</span></p><p>		    (foreach i ent_zoznam ;foreach je tu nevhodný. Proč? Je to indexované a jen s jedním výskytem v seznamu. (narozdíl od kódu 10 v předchozím případě)... Tedy stačí (assoc 0 ent_zoznam)<br>		      (if (eq (car i) 0)<br>			(setq LWPOLYLINE (cdr i))))<br>		    (princ LWPOLYLINE))) ;proč tiskout na obrazovku? smazat<br>	   (setq LWPOLYLINE_2 "LWPOLYLINE"))) ;proč to ukládat do další proměnné, celé smazat</p><p></pre></td></tr></table>&nbsp;</p><p><span style="line-height: 1.4;"></td></tr></table></span></p><p>Jinak třeba takto bych to udělal já.</p><p><span style="line-height: 16.7999992370605px;"><table width="99%"><tr><td><pre class="BBcode"></span></p><p><font face="Courier New, Courier, mono">&nbsp; (while (not (and (setq ensel (entsel "\nSelect polyline: "))</font></p><p><font face="Courier New, Courier, mono"><span ="apple-tab-span"="" style="white-space:pre">		</span> &nbsp; (eq (cdr (assoc 0 (entget (car ensel)))); &nbsp;</font></p><p><font face="Courier New, Courier, mono"><span ="apple-tab-span"="" style="white-space:pre">		</span> &nbsp; &nbsp; &nbsp; "LWPOLYLINE")))</font></p><p><font face="Courier New, Courier, mono">&nbsp; &nbsp; (prompt "\nWrong selection. Try again.")); while</font></p><p><span style="line-height: 16.7999992370605px;"></pre></td></tr></table>&nbsp;</span></p><span style="font-size:10px"><br /><br />Upravil johny - 15.říj.2014 v 19:07</span>]]>
   </description>
   <pubDate>Wed, 15 Oct 2014 17:22:30 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=88990&amp;title=porovnanie-zoznamov#88990</guid>
  </item> 
  <item>
   <title><![CDATA[Porovnanie zoznamov :   michaelflyer napsal(a):(vlax-curve*)...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=88989&amp;title=porovnanie-zoznamov#88989</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=1045">johny</a><br /><strong>Předmět:</strong> 20009<br /><strong>Zasláno:</strong> 15.říj.2014 v 16:48<br /><br /><p><span style="line-height: 16.7999992370605px;"><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Původně odeslal(a) michaelflyer" alt="Původně odeslal(a) michaelflyer" style="vertical-align: text-bottom;" /> <strong>michaelflyer napsal(a):</strong><br /><br /></span></p><p><span style="line-height: 1.4;">(vlax-curve*) to sa musím doučiť - mysleli ste to na získanie koncových bodov polilajny.</span></p><p><span style="line-height: 16.7999992370605px;"></td></tr></table></span></p><p>Ano, mimo jiné. Těch funkcí je ale spousta... např. GetPointAtDistance...</p><p><span style="line-height: 16.7999992370605px;"><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Původně odeslal(a) michaelflyer" alt="Původně odeslal(a) michaelflyer" style="vertical-align: text-bottom;" /> <strong>michaelflyer napsal(a):</strong><br /><br /></span></p><p><span style="line-height: 1.4;">OSNAP tu mám trošku nedostatky - robím to trošku zložito. teda cez makro. Comand "_osnap" "off"... Viem že sa to dá robiť cez setvar getvar. No neviem kde a ako mám prísť k tým príkazom poznám nejaké "to" cmdecho ale to je všetko.</span></p><p><span style="line-height: 16.7999992370605px;"></td></tr></table></span></p><p><span style="line-height: 16.7999992370605px;">_Osnap. Dejte F1 a hledejte. _Osnap je příkaz, který ovládá proměnou "osmode". Jakých nabývá hodnot najdete v nápovědě. Pro to nejjednodušší vám ale stačí vědět toto:</span></p><p><span style="font-family: 'Courier New', Courier, mono; line-height: 1.4;">(setq old_osmode (getvar "OSMODE")) ; na začátku programu uložíte starou hodnotu</span></p><p><font face="Courier New, Courier, mono">(setvar "OSMODE" 0) ; vypnete uchop</font></p><p></p><p><font face="Courier New, Courier, mono">(setvar "OSMODE" old_osmode) ; na konci programu a v error funkci obnovíte starou hodnotu&nbsp;</font></p><div><br></div><p><span style="line-height: 16.7999992370605px;"><br></span></p><p></p><span style="font-size:10px"><br /><br />Upravil johny - 15.říj.2014 v 20:27</span>]]>
   </description>
   <pubDate>Wed, 15 Oct 2014 16:48:22 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=88989&amp;title=porovnanie-zoznamov#88989</guid>
  </item> 
  <item>
   <title><![CDATA[Porovnanie zoznamov :  Jestli v&#225;m jde o rozd&#237;l dvou...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=88978&amp;title=porovnanie-zoznamov#88978</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=9">Vladimír Michl</a><br /><strong>Předmět:</strong> 20009<br /><strong>Zasláno:</strong> 15.říj.2014 v 10:26<br /><br />Jestli vám jde o rozdíl dvou seznamů, pak můžete použít tuto funkci:<div> </div><div><table width="99%"><tr><td><pre class="BBcode">(defun ListDiff (list1 list2)<br> (vl-remove-if '(lambda(x) (member x list2)) list1)<br>)</pre></td></tr></table></div><div> </div><div>Ale u porovnávání souřadnic nebo jiných reálných čísel (v jakýchkoliv programovacích jazycích) je třeba dát pozor na nejistou přesnou shodu.</div>]]>
   </description>
   <pubDate>Wed, 15 Oct 2014 10:26:49 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=20009&amp;PID=88978&amp;title=porovnanie-zoznamov#88978</guid>
  </item> 
 </channel>
</rss>