<?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 : PŘIDÁNÍ PARAMETRU ANO/NE POMOCÍ I-LOGIKU</title>
  <link>https://www.cadforum.cz/forum/</link>
  <description><![CDATA[Toto je XML obsahový kanál serveru; CAD F&#243;rum : iLogic a ETO : PŘIDÁNÍ PARAMETRU ANO/NE POMOCÍ I-LOGIKU]]></description>
  <pubDate>Wed, 06 May 2026 21:39:34 +0000</pubDate>
  <lastBuildDate>Tue, 17 Dec 2019 14:52:39 +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=29126</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[PŘIDÁNÍ PARAMETRU ANO/NE POMOCÍ I-LOGIKU : D&#205;KY U&#381; MI TO FUNGUJE ]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=118602&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#118602</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> 29126<br /><strong>Zasláno:</strong> 17.pro.2019 v 14:52<br /><br />DÍKY UŽ MI TO FUNGUJE]]>
   </description>
   <pubDate>Tue, 17 Dec 2019 14:52:39 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=118602&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#118602</guid>
  </item> 
  <item>
   <title><![CDATA[PŘIDÁNÍ PARAMETRU ANO/NE POMOCÍ I-LOGIKU : Je to stejn&#233;, jako u parametru...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=118597&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#118597</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> 29126<br /><strong>Zasláno:</strong> 17.pro.2019 v 13:30<br /><br />Je to stejné, jako u parametru text<div><table width="99%"><tr><td><pre class="BBcode"></div><div>ActiveAsm.ComponentDefinition.Parameters.UserParameters.AddByValue("MyBoolParam", True, "BOOLEAN")</div><div></pre></td></tr></table></div>]]>
   </description>
   <pubDate>Tue, 17 Dec 2019 13:30:41 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=118597&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#118597</guid>
  </item> 
  <item>
   <title><![CDATA[PŘIDÁNÍ PARAMETRU ANO/NE POMOCÍ I-LOGIKU : D&#283;kuji,na u&#382;ivatelsk&#233; i-vlastnosti...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=118596&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#118596</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> 29126<br /><strong>Zasláno:</strong> 17.pro.2019 v 13:17<br /><br />Děkuji,&nbsp;<div>na uživatelské i-vlastnosti mi to funguje ale potřebuji to dostat do uživatelských parametrů sestavy.&nbsp;</div>]]>
   </description>
   <pubDate>Tue, 17 Dec 2019 13:17:02 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=118596&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#118596</guid>
  </item> 
  <item>
   <title><![CDATA[PŘIDÁNÍ PARAMETRU ANO/NE POMOCÍ I-LOGIKU : V&#253;&#353;e je to nazna&#269;eno - nap&#345;.:Dim...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=118595&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#118595</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> 29126<br /><strong>Zasláno:</strong> 17.pro.2019 v 12:40<br /><br />Výše je to naznačeno - např.:<div><br></div><div><pre><span style="color: #FF0000; ">Dim</span> <span style="color: #800000; ">customPropertySet</span> = <span style="color: #800080; ">ThisDoc</span>.<span style="color: #800080; ">Document</span>.<span style="color: #800000; ">PropertySets</span>.<span style="color: #800000; ">Item</span>(<span style="color: #008080; ">"Inventor User Defined Properties"</span>)<span style="color: #FF0000; ">Try</span><span style="color: #800000; "> customPropertySet</span>.<span style="color: #800000; ">Add</span>(<span style="color: #FF0000; ">True</span>, <span style="color: #008080; ">"AntikorozníÚprava"</span>)<span style="color: #800000; "> customPropertySet</span>.<span style="color: #800000; ">Add</span>(<span style="color: #FF0000; ">False</span>, <span style="color: #008080; ">"AplikujPískování"</span>)<span style="color: #FF0000; ">Catch</span><span style="color: #FF0000; ">End</span> <span style="color: #FF0000; ">Try</span></pre><pre><span style="color: #FF0000; "><br></span></pre></div>]]>
   </description>
   <pubDate>Tue, 17 Dec 2019 12:40:44 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=118595&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#118595</guid>
  </item> 
  <item>
   <title><![CDATA[PŘIDÁNÍ PARAMETRU ANO/NE POMOCÍ I-LOGIKU : Zdrav&#237;m,Pot&#345;ebuji dostat do sestavy...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=118593&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#118593</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> 29126<br /><strong>Zasláno:</strong> 17.pro.2019 v 11:23<br /><br />Zdravím,&nbsp;<div><br></div><div>Potřebuji dostat do sestavy cca 6 parametrů booleovských parametrů (ANO/NE), do sestavy. Chtěl bych to dostat pomocí i-logicu. Jak to napíšu? jde to vůbec?</div>]]>
   </description>
   <pubDate>Tue, 17 Dec 2019 11:23:16 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=118593&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#118593</guid>
  </item> 
  <item>
   <title><![CDATA[PŘIDÁNÍ PARAMETRU ANO/NE POMOCÍ I-LOGIKU :  To m&#225;te n&#283;jak&#233; slo&#382;it&#233;, m&#283;lo...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=117073&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#117073</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> 29126<br /><strong>Zasláno:</strong> 12.čvc.2019 v 14:07<br /><br />To máte nějaké složité, mělo by stačit automatické vytváření správných typů parametrů - něco jako:<div>&nbsp;</div><div><table width="99%"><tr><td><pre class="BBcode"></div><div>customPropertySet = ThisDoc.Document.PropertySets.Item("Inventor User Defined Properties")<br>customPropertySet.Add("Bukové dřevo", "NášMateriál")<br>customPropertySet.Add(False,"AplikujPískování")</div><div></pre></td></tr></table></div><div>&nbsp;</div><div>asi obalené to Try/Catch</div><div>&nbsp;</div>]]>
   </description>
   <pubDate>Fri, 12 Jul 2019 14:07:59 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=117073&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#117073</guid>
  </item> 
  <item>
   <title><![CDATA[PŘIDÁNÍ PARAMETRU ANO/NE POMOCÍ I-LOGIKU : Zdrav&#237;m, m&#225;m pravidlo viz n&#237;&#382;e,...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=117067&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#117067</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> 29126<br /><strong>Zasláno:</strong> 12.čvc.2019 v 11:34<br /><br />Zdravím, mám pravidlo viz níže, které mi přidává i-vlastnosti + parametry ( číselné i textové ). Potřebuji nyní přidat parametr ano/ne a jak tedy rozšířit toto pravidlo aby to fungovalo?<div><br></div><div><pre><span style="color: #FF0000; font-weight: bold;">Sub</span> <span style="color: #800080; font-weight: bold;">Main</span><span style="font-weight: bold;">()</span>    <span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">userParams</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">UserParameters</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">GetUserParams</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="font-weight: bold;">)</span>     <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR0</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">NADPIS - ROZM&#65533;R</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR1</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">NADPIS - ROZM&#65533;R</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR2</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">NADPIS - ROZM&#65533;R</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR3</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">NADPIS - ROZM&#65533;R</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR4</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">NADPIS - ROZM&#65533;R</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR5</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">NADPIS - ROZM&#65533;R</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR1</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">POPIS - ROZM&#65533;R</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR2</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">POPIS - ROZM&#65533;R</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR3</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">POPIS - ROZM&#65533;R</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR4</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">POPIS - ROZM&#65533;R</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR5</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">POPIS - ROZM&#65533;R</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">D&#65533;LKA</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">D&#65533;LKA PROFILU</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">STRANA_A_Y</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">ROZM&#65533;R PRO OSU Y (V&#65533;T&#65533;INOU D&#65533;LKA)</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">STRANA_B_X</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">ROZM&#65533;R PRO OSU X</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">STRANA_C_Z</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">ROZM&#65533;R PRO OSU Z</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameterTEXT</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">MAT</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">MATERI&#65533;L</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameterTEXT</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">POPIS_DILU</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">GRAV&#65533;RA</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureParameterTEXT</span><span style="font-weight: bold;">(</span><span style="color: #800000;">userParams</span>, <span style="color: #008080;">"</span><span style="color: #008080;">POLOTOVAR</span><span style="color: #008080;">"</span>, <span style="color: #800000;">comment</span>:<span style="font-weight: bold;">=</span><span style="color: #008080;">"</span><span style="color: #008080;">PRO V&#65533;ECHNY</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>        <span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">customPropertySet</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: #800000;">PropertySets</span>.<span style="color: #800000;">Item</span><span style="font-weight: bold;">(</span><span style="color: #008080;">"</span><span style="color: #008080;">Inventor User Defined Properties</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>        <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">N0</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">N0-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>     <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">N1</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">N1-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">N2</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">N2-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">N3</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">N3-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">N4</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">N4-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">N5</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">N5-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>        <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR0</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR0-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR1</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR1-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR2</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR2-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR3</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR3-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR4</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR4-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR5</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">NR5-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>        <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">P1</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">P1-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">P2</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">P2-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">P3</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">P3-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">P4</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">P4-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">P5</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">P5-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>        <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR1</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR1-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR2</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR2-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR3</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR3-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR4</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR4-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR5</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">PR5-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>        <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">MAT</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">MAT-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">MAT2</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">MAT2-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">TYP1</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">TYP1-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">TYP2</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">TYP2-M</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">POPIS_REVIZE</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>    <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">customPropertySet</span>, <span style="color: #008080;">"</span><span style="color: #008080;">POLOTOVAR</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span><span style="color: #FF0000; font-weight: bold;">End Sub</span><span style="color: #FF0000; font-weight: bold;">Function</span> <span style="color: #800000;">GetUserParams</span><span style="font-weight: bold;">(</span><span style="color: #800000;">doc</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">Document</span><span style="font-weight: bold;">)</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">UserParameters</span>    <span style="color: #FF0000; font-weight: bold;">If</span> <span style="font-weight: bold;">(</span><span style="color: #800000;">doc</span>.<span style="color: #800000;">DocumentType</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">DocumentTypeEnum</span>.<span style="color: #800000;">kAssemblyDocumentObject</span><span style="font-weight: bold;">)</span> <span style="color: #FF0000; font-weight: bold;">Then</span>        <span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">asm</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">AssemblyDocument</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">doc</span>        <span style="color: #FF0000; font-weight: bold;">Return</span> <span style="color: #800000;">asm</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;">ElseIf</span> <span style="font-weight: bold;">(</span><span style="color: #800000;">doc</span>.<span style="color: #800000;">DocumentType</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">DocumentTypeEnum</span>.<span style="color: #800000;">kPartDocumentObject</span><span style="font-weight: bold;">)</span> <span style="color: #FF0000; font-weight: bold;">Then</span>        <span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">prt</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="color: #FF0000; font-weight: bold;">Return</span> <span style="color: #800000;">prt</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;">Else</span>        <span style="color: #FF0000; font-weight: bold;">Throw</span> <span style="color: #FF0000; font-weight: bold;">New</span> <span style="color: #800000;">ArgumentOutOfRangeException</span><span style="font-weight: bold;">(</span><span style="color: #008080;">"</span><span style="color: #008080;">Document can be AssemblyDocument or PartDocument</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</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;">End Function</span> <span style="color: #FF0000; font-weight: bold;">Function</span> <span style="color: #800000;">EnsureParameter</span><span style="font-weight: bold;">(</span>                <span style="color: #800000;">userParams</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">UserParameters</span>,                <span style="color: #800000;">paramName</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #FF0000; font-weight: bold;">String</span>,                <span style="color: #FF0000; font-weight: bold;">Optional</span> <span style="color: #800000;">defaultValue</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #FF0000; font-weight: bold;">Double</span> <span style="font-weight: bold;">=</span> <span style="font-weight: bold;">0</span>,                <span style="color: #FF0000; font-weight: bold;">Optional</span> <span style="color: #800000;">units</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #FF0000; font-weight: bold;">String</span> <span style="font-weight: bold;">=</span> <span style="color: #008080;">"</span><span style="color: #008080;">mm</span><span style="color: #008080;">"</span>,                <span style="color: #FF0000; font-weight: bold;">Optional</span> <span style="color: #800000;">comment</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #FF0000; font-weight: bold;">String</span> <span style="font-weight: bold;">=</span> <span style="color: #008080;">""</span><span style="font-weight: bold;">)</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800080; font-weight: bold;">Parameter</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: #800080; font-weight: bold;">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: #800000;">paramName</span><span style="font-weight: bold;">)</span>    <span style="color: #FF0000; font-weight: bold;">Catch</span> <span style="color: #800000;">ex</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">Exception</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: #800000;">paramName</span>, <span style="color: #800000;">defaultValue</span>, <span style="color: #800000;">units</span><span style="font-weight: bold;">)</span>        <span style="color: #800000;">p</span>.<span style="color: #800000;">Comment</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">comment</span>    <span style="color: #FF0000; font-weight: bold;">End</span> <span style="color: #FF0000; font-weight: bold;">Try</span>    <span style="color: #FF0000; font-weight: bold;">Return</span> <span style="color: #800000;">p</span><span style="color: #FF0000; font-weight: bold;">End Function</span><span style="color: #FF0000; font-weight: bold;">Function</span> <span style="color: #800000;">EnsureParameterTEXT</span><span style="font-weight: bold;">(</span>                <span style="color: #800000;">userParams</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">UserParameters</span>,                <span style="color: #800000;">paramName</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #FF0000; font-weight: bold;">String</span>,                <span style="color: #FF0000; font-weight: bold;">Optional</span> <span style="color: #800000;">defaultValue</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #FF0000; font-weight: bold;">String</span><span style="font-weight: bold;">=</span> <span style="color: #008080;">""</span>,                <span style="color: #FF0000; font-weight: bold;">Optional</span> <span style="color: #800000;">comment</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #FF0000; font-weight: bold;">String</span> <span style="font-weight: bold;">=</span> <span style="color: #008080;">""</span><span style="font-weight: bold;">)</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800080; font-weight: bold;">Parameter</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: #800080; font-weight: bold;">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: #800000;">paramName</span><span style="font-weight: bold;">)</span>    <span style="color: #FF0000; font-weight: bold;">Catch</span> <span style="color: #800000;">ex</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">Exception</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: #800000;">paramName</span>, <span style="color: #800000;">defaultValue</span>, <span style="color: #008080;">"</span><span style="color: #008080;">TEXT</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>        <span style="color: #800000;">p</span>.<span style="color: #800000;">Comment</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">comment</span>    <span style="color: #FF0000; font-weight: bold;">End</span> <span style="color: #FF0000; font-weight: bold;">Try</span>    <span style="color: #FF0000; font-weight: bold;">Return</span> <span style="color: #800000;">p</span><span style="color: #FF0000; font-weight: bold;">End Function</span><span style="color: #FF0000; font-weight: bold;">Function</span> <span style="color: #800000;">EnsureProperty</span><span style="font-weight: bold;">(</span><span style="color: #800000;">propertySet</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">PropertySet</span>, <span style="color: #800000;">propName</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #FF0000; font-weight: bold;">String</span>, <span style="color: #FF0000; font-weight: bold;">Optional</span> <span style="color: #800000;">defaultValue</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #FF0000; font-weight: bold;">String</span>  <span style="font-weight: bold;">=</span> <span style="color: #008080;">""</span><span style="font-weight: bold;">)</span> <span style="color: #FF0000; font-weight: bold;">As</span> &#091;<span style="color: #FF0000; font-weight: bold;">Property</span>&#093;    <span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">p</span> <span style="color: #FF0000; font-weight: bold;">As</span> &#091;<span style="color: #FF0000; font-weight: bold;">Property</span>&#093;    <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;">propertySet</span><span style="font-weight: bold;">(</span><span style="color: #800000;">propName</span><span style="font-weight: bold;">)</span>    <span style="color: #FF0000; font-weight: bold;">Catch</span> <span style="color: #800000;">ex</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">Exception</span>        <span style="color: #800000;">p</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">propertySet</span>.<span style="color: #800000;">Add</span><span style="font-weight: bold;">(</span><span style="color: #800000;">defaultValue</span>,<span style="color: #800000;">propName</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: #FF0000; font-weight: bold;">Return</span> <span style="color: #800000;">p</span><span style="color: #FF0000; font-weight: bold;">End Function</span></pre></div>]]>
   </description>
   <pubDate>Fri, 12 Jul 2019 11:34:39 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=29126&amp;PID=117067&amp;title=pridani-parametru-ano-ne-pomoci-ilogiku#117067</guid>
  </item> 
 </channel>
</rss>