<?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 : Chyba v pravidle rozvinu</title>
  <link>https://www.cadforum.cz/forum/</link>
  <description><![CDATA[Toto je XML obsahový kanál serveru; CAD F&#243;rum : iLogic a ETO : Chyba v pravidle rozvinu]]></description>
  <pubDate>Wed, 06 May 2026 19:27:41 +0000</pubDate>
  <lastBuildDate>Tue, 24 Jul 2018 14:50:31 +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=26434</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[Chyba v pravidle rozvinu :  Rozhodn&#283; nedoporu&#269;uju pou&#382;&#237;v&#225;n&#237;...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=26434&amp;PID=112163&amp;title=chyba-v-pravidle-rozvinu#112163</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=9996">Navara</a><br /><strong>Předmět:</strong> 26434<br /><strong>Zasláno:</strong> 24.čvc.2018 v 14:50<br /><br /><font color="red">Rozhodně nedoporučuju používání lokálních pravidel pro generování rozvinů!</font><div>Chyba je v nesprávném použití </div><div><table width="99%"><tr><td><pre class="BBcode">ThisApplication.ActiveDocument</pre></td></tr></table></div><div>To odkazuje na aktuálně otevřený dokument místo toho, nad kterým je potřeba provádět pravidlo. Tam je potřeba použít</div><div><table width="99%"><tr><td><pre class="BBcode">ThisDoc.Document</pre></td></tr></table></div><div>&nbsp;</div><div>&nbsp;A i to doporučuju použít maximálně jednou a výsledek si uložit o proměnné</div>]]>
   </description>
   <pubDate>Tue, 24 Jul 2018 14:50:31 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=26434&amp;PID=112163&amp;title=chyba-v-pravidle-rozvinu#112163</guid>
  </item> 
  <item>
   <title><![CDATA[Chyba v pravidle rozvinu : Ahoj,m&#225;m pravidlo kter&#233; funguje...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=26434&amp;PID=112162&amp;title=chyba-v-pravidle-rozvinu#112162</link>
   <description>
    <![CDATA[<strong>Autor:</strong> <a href="https://www.cadforum.cz/forum/member_profile.asp?PF=4903">Lukáš Záruba</a><br /><strong>Předmět:</strong> 26434<br /><strong>Zasláno:</strong> 24.čvc.2018 v 14:41<br /><br />Ahoj,&nbsp;<div>mám pravidlo které funguje ale když uložím sestavu která obsahuje díl s tímto pravidlem, tak mi to vyhodí chybu:</div><div><br></div><div><img src="uploads/4903/pravidlo_dxf.JPG" height="121" width="410" border="0" /><br></div><div><br></div><div>jinak pravidlo nezlobí. neví někdo co s tím?</div><div>&nbsp; &nbsp;&nbsp;<div>&nbsp;&nbsp;<span style="color: rgb255, 0, 0; font-weight: bold;">Dim</span> <span style="color: rgb128, 0, 0;">FilePath</span> <span style="color: rgb255, 0, 0; font-weight: bold;">As</span> <span style="color: rgb255, 0, 0; font-weight: bold;">String</span><pre>    <span style="color: #800000;">FilePath</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">ThisDoc</span>.<span style="color: #800080; font-weight: bold;">Path</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">\EXPORT\</span><span style="color: #008080;">"</span>                                                                        <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Kam se ma export rozvinu ulozit?</span><span style="color: #808080; font-style: italic;"></span>        <span style="color: #FF0000; font-weight: bold;">If</span> <span style="color: #800080; font-weight: bold;">ThisApplication</span>.<span style="color: #800000;">ActiveDocument</span>.<span style="color: #800000;">ComponentDefinition</span>.<span style="color: #800000;">HasFlatPattern</span> <span style="font-weight: bold;">=</span> False <span style="color: #FF0000; font-weight: bold;">Then</span>                    <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Ma dil rozvin?</span><span style="color: #808080; font-style: italic;"></span>       <span style="color: #800080; font-weight: bold;">ThisApplication</span>.<span style="color: #800000;">ActiveDocument</span>.<span style="color: #800000;">ComponentDefinition</span>.<span style="color: #800000;">Unfold</span>                                        <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Pokud ne, vytvor rozvin</span><span style="color: #808080; font-style: italic;"></span>    <span style="color: #FF0000; font-weight: bold;">Else</span>       <span style="color: #800080; font-weight: bold;">ThisApplication</span>.<span style="color: #800000;">ActiveDocument</span>.<span style="color: #800000;">ComponentDefinition</span>.<span style="color: #800000;">FlatPattern</span>.<span style="color: #800000;">Edit</span>                                <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Pokud ano, skoc do editace</span><span style="color: #808080; font-style: italic;"></span>    <span style="color: #FF0000; font-weight: bold;">End</span> <span style="color: #FF0000; font-weight: bold;">If</span>    <span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">fSett</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #FF0000; font-weight: bold;">String</span>    <span style="color: #800000;">fSett</span> <span style="font-weight: bold;">=</span> <span style="color: #008080;">"</span><span style="color: #008080;">FLAT PATTERN DXF?AcadVersion=2000&amp;InvisibleLayers=IV_UNCONSUMEND_SKETCHES;IV_TANGENT;IV_BEND;IV_BEND_DOWN;IV_TOOL_CENTER;IV_TOOL_CENTER_DOWN;IV_ARC_CENTERS;IV_FEATURE_PROFILES_DOWN;IV_ALTREP_FRONT;IV_ALTREP_BACK;IV_TE&#65533;NA_SVINUT&#65533;;IV_ROLL&amp;SplineTolerance Double 0.01</span><span style="color: #008080;">"</span>                    <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Nastaveni exportu</span><span style="color: #808080; font-style: italic;"></span>        <span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">fSname</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #FF0000; font-weight: bold;">String</span>    <span style="color: #800000;">fSname</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">FilePath</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #800080; font-weight: bold;">ThisDoc</span>.<span style="color: #800080; font-weight: bold;">FileName</span><span style="font-weight: bold;">(</span>False<span style="font-weight: bold;">)</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">.dxf</span><span style="color: #008080;">"</span>                                                <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Nastaveni ulozeni cesta+nazev</span><span style="color: #808080; font-style: italic;"></span>        <span style="color: #800080; font-weight: bold;">ThisApplication</span>.<span style="color: #800000;">ActiveDocument</span>.<span style="color: #800000;">ComponentDefinition</span>.<span style="color: #800000;">DataIO</span>.<span style="color: #800000;">WriteDataToFile</span><span style="font-weight: bold;">(</span> <span style="color: #800000;">fSett</span>, <span style="color: #800000;">fSname</span><span style="font-weight: bold;">)</span>             <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Save s nastavenim fSett a do cesty fSname</span><span style="color: #808080; font-style: italic;"></span>  <span style="color: #800080; font-weight: bold;">ThisApplication</span>.<span style="color: #800000;">ActiveDocument</span>.<span style="color: #800000;">ComponentDefinition</span>.<span style="color: #800000;">FlatPattern</span>.<span style="color: #800000;">ExitEdit</span>        </pre></div></div>]]>
   </description>
   <pubDate>Tue, 24 Jul 2018 14:41:12 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=26434&amp;PID=112162&amp;title=chyba-v-pravidle-rozvinu#112162</guid>
  </item> 
 </channel>
</rss>