<?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</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]]></description>
  <pubDate>Thu, 07 May 2026 09:13:54 +0000</pubDate>
  <lastBuildDate>Mon, 26 Nov 2018 17:09:55 +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=28058</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 :  Prvn&#237; &#345;&#225;dek ned&#225;v&#225; smyslMus&#237;te...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=28058&amp;PID=114672&amp;title=chyba-v-pravidle#114672</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> 28058<br /><strong>Zasláno:</strong> 26.lis.2018 v 17:09<br /><br />První řádek nedává smysl<div>Musíte si vybrat buď doc, nebo ThisDoc,Document ale ne obojí</div>]]>
   </description>
   <pubDate>Mon, 26 Nov 2018 17:09:55 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=28058&amp;PID=114672&amp;title=chyba-v-pravidle#114672</guid>
  </item> 
  <item>
   <title><![CDATA[CHYBA V PRAVIDLE : Zdrav&#237;m,m&#225;m pravidlo kter&#233; mi...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=28058&amp;PID=114671&amp;title=chyba-v-pravidle#114671</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> 28058<br /><strong>Zasláno:</strong> 26.lis.2018 v 16:46<br /><br />Zdravím,&nbsp;<div><br></div><div>mám pravidlo které mi vytvoří textový parametr a následně ho vyplní číslem součásti. V díle to funguje skvěle ale chci to použít pro sestavu a tam mi to píše toho:</div><div><br></div><div><img src="uploads/4903/Výstřižek1.JPG" height="292" width="521" border="0" /><br></div><div><br></div><div>Já nevím co po mě přesně chce.</div><div><br></div><div>Pravidlo je to toto:</div><div><br></div><div><pre><span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">part</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">PartDocument</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">doc</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">ThisDoc</span>.<span style="color: #800080; font-weight: bold;">Document</span><span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">userParams</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">part</span>.<span style="color: #800000;">ComponentDefinition</span>.<span style="color: #800000;">Parameters</span>.<span style="color: #800000;">UserParameters</span><span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">p</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">Inventor</span>.<span style="color: #800000;">Parameter</span><span style="color: #FF0000; font-weight: bold;">Try</span> <span style="color: #800000;">p</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">userParams</span><span style="font-weight: bold;">(</span><span style="color: #008080;">"</span><span style="color: #008080;">POPIS_DILU</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span><span style="color: #FF0000; font-weight: bold;">Catch</span> <span style="color: #800000;">p</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">userParams</span>.<span style="color: #800000;">AddByValue</span><span style="font-weight: bold;">(</span><span style="color: #008080;">"</span><span style="color: #008080;">POPIS_DILU</span><span style="color: #008080;">"</span>,<span style="color: #008080;">"</span><span style="color: #008080;">XXXXXXX</span><span style="color: #008080;">"</span>, <span style="color: #800000;">UnitsTypeEnum</span>.<span style="color: #800000;">kTextUnits</span><span style="font-weight: bold;">)</span><span style="color: #FF0000; font-weight: bold;">End</span> <span style="color: #FF0000; font-weight: bold;">Try</span><span style="color: #800000;">p</span>.<span style="color: #800000;">Comment</span> <span style="font-weight: bold;">=</span> <span style="color: #008080;">"</span><span style="color: #008080;">GRAVURA</span><span style="color: #008080;">"</span><span style="color: #800080; font-weight: bold;">iProperties</span>.<span style="color: #800080; font-weight: bold;">Value</span><span style="font-weight: bold;">(</span><span style="color: #008080;">"</span><span style="color: #008080;">Project</span><span style="color: #008080;">"</span>, <span style="color: #008080;">"</span><span style="color: #008080;">Part Number</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span> <span style="font-weight: bold;">=</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: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">without extension</span><span style="color: #808080; font-style: italic;"></span><span style="color: #800080; font-weight: bold;">Parameter</span><span style="font-weight: bold;">(</span><span style="color: #008080;">"</span><span style="color: #008080;">POPIS_DILU</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">iProperties</span>.<span style="color: #800080; font-weight: bold;">Value</span><span style="font-weight: bold;">(</span><span style="color: #008080;">"</span><span style="color: #008080;">Project</span><span style="color: #008080;">"</span>, <span style="color: #008080;">"</span><span style="color: #008080;">Part Number</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span><span style="color: #800080; font-weight: bold;">iProperties</span>.<span style="color: #800080; font-weight: bold;">Value</span><span style="font-weight: bold;">(</span><span style="color: #008080;">"</span><span style="color: #008080;">Project</span><span style="color: #008080;">"</span>, <span style="color: #008080;">"</span><span style="color: #008080;">Stock Number</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">iProperties</span>.<span style="color: #800080; font-weight: bold;">Value</span><span style="font-weight: bold;">(</span><span style="color: #008080;">"</span><span style="color: #008080;">Project</span><span style="color: #008080;">"</span>, <span style="color: #008080;">"</span><span style="color: #008080;">Part Number</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span></pre><pre><br></pre><pre>Nevíte někdo jak to zprovoznit?</pre></div>]]>
   </description>
   <pubDate>Mon, 26 Nov 2018 16:46:14 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=28058&amp;PID=114671&amp;title=chyba-v-pravidle#114671</guid>
  </item> 
 </channel>
</rss>