<?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 : CHYBNÉ ZOBRAZENÍ ČAR NA PDF</title>
  <link>https://www.cadforum.cz/forum/</link>
  <description><![CDATA[Toto je XML obsahový kanál serveru; CAD F&#243;rum : iLogic a ETO : CHYBNÉ ZOBRAZENÍ ČAR NA PDF]]></description>
  <pubDate>Sun, 17 May 2026 01:24:07 +0000</pubDate>
  <lastBuildDate>Mon, 17 Jan 2022 18:00:43 +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=32728</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[CHYBNÉ ZOBRAZENÍ ČAR NA PDF : Zkuste p&#345;idatThisApplication.U...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=32728&amp;PID=125322&amp;title=chybne-zobrazeni-car-na-pdf#125322</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> 32728<br /><strong>Zasláno:</strong> 17.led.2022 v 18:00<br /><br />Zkuste přidat<div><br></div><div><i>ThisApplication.UserInterfaceManager.DoEvents</i></div><div><br></div><div>ale tou "pozdní událostí" by to mohlo být způsobeno, PDFAddIn jede v jiném threadu.</div>]]>
   </description>
   <pubDate>Mon, 17 Jan 2022 18:00:43 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=32728&amp;PID=125322&amp;title=chybne-zobrazeni-car-na-pdf#125322</guid>
  </item> 
  <item>
   <title><![CDATA[CHYBNÉ ZOBRAZENÍ ČAR NA PDF : Zdrav&#237;m,Zjistil jsem &#382;e mi toto...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=32728&amp;PID=125317&amp;title=chybne-zobrazeni-car-na-pdf#125317</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> 32728<br /><strong>Zasláno:</strong> 17.led.2022 v 16:05<br /><br />Zdravím,<div><br></div><div>Zjistil jsem že mi toto pravidlo spouští pravidla v dílech která jsou ovládána pomocí spouštěče událostí "před uložením" a "po uložení" ...&nbsp;</div><div><br></div><div>Je možnost použít do tohoto pravidla po vyhledání výkresu dílu něco jako : počkej na ukončení&nbsp;&nbsp;</div>]]>
   </description>
   <pubDate>Mon, 17 Jan 2022 16:05:57 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=32728&amp;PID=125317&amp;title=chybne-zobrazeni-car-na-pdf#125317</guid>
  </item> 
  <item>
   <title><![CDATA[CHYBNÉ ZOBRAZENÍ ČAR NA PDF : N&#225;hodn&#283; ve smyslu &amp;#034;na n&#283;kter&#253;ch...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=32728&amp;PID=125185&amp;title=chybne-zobrazeni-car-na-pdf#125185</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> 32728<br /><strong>Zasláno:</strong> 16.pro.2021 v 16:45<br /><br />Náhodně ve smyslu "na některých výkresech" nebo "někdy ano někdy na na tomtéž výkresu"? Ruční publikování se stejnými parametry proběhne dobře vždy? Zkuste zrušit ten IF u nastavování Options.]]>
   </description>
   <pubDate>Thu, 16 Dec 2021 16:45:50 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=32728&amp;PID=125185&amp;title=chybne-zobrazeni-car-na-pdf#125185</guid>
  </item> 
  <item>
   <title><![CDATA[CHYBNÉ ZOBRAZENÍ ČAR NA PDF : Zdrav&#237;m,m&#225;m ilogic, kter&#253; pro...]]></title>
   <link>https://www.cadforum.cz/forum/forum_posts.asp?TID=32728&amp;PID=125183&amp;title=chybne-zobrazeni-car-na-pdf#125183</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> 32728<br /><strong>Zasláno:</strong> 16.pro.2021 v 16:05<br /><br />Zdravím,&nbsp;<div>mám ilogic, který pro jednotlivé výskyty dílů v sestavě vyexportuje PDF do Složky "A3" a "A4". Problém je že mi v .PDF některé čáry zobrazí špatně nebo vůbec - viz. přiložený obrázek. Děje se tam naprosto náhodně jen někde a jen někdy. Nevím co to vůbec může způsobovat.&nbsp;</div><div><br></div><div>Nemáte někdo nápad co s tím?&nbsp;</div><div><br></div><pre><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;"> - - - - - - - - - - - - - - VYTVO&#65533;ENO 2021-08-17 - - - - - - - - - - - - - -</span><span style="color: #808080; font-style: italic;"></span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">definovat aktivn&#65533; dokument jako soubor sestavy.'</span><span style="color: #808080; font-style: italic;"></span><span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">oAsmDoc</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">AssemblyDocument</span><span style="color: #800000;">oAsmDoc</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">ThisApplication</span>.<span style="color: #800000;">ActiveDocument</span><span style="color: #800000;">oAsmName</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">Left</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oAsmDoc</span>.<span style="color: #800000;">DisplayName</span>, <span style="color: #800080; font-weight: bold;">Len</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oAsmDoc</span>.<span style="color: #800000;">DisplayName</span><span style="font-weight: bold;">))</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">zkontrolujte, zda je aktivn&#65533; dokument soubor sestavy.'</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;">DocumentType</span> <span style="font-weight: bold;">&lt;&gt;</span> <span style="color: #800000;">kAssemblyDocumentObject</span> <span style="color: #FF0000; font-weight: bold;">Then</span><span style="color: #800080; font-weight: bold;">MessageBox</span>.<span style="color: #800080; font-weight: bold;">Show</span><span style="font-weight: bold;">(</span><span style="color: #008080;">"</span><span style="color: #008080;">Please run this rule from the assembly file.</span><span style="color: #008080;">"</span>, <span style="color: #008080;">"</span><span style="color: #008080;">iLogic</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span><span style="color: #FF0000; font-weight: bold;">Exit Sub</span><span style="color: #FF0000; font-weight: bold;">End</span> <span style="color: #FF0000; font-weight: bold;">If</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">z&#65533;skat vstup u&#65533;ivatele</span><span style="color: #808080; font-style: italic;"></span><span style="color: #800000;">RUsure</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">MessageBox</span>.<span style="color: #800080; font-weight: bold;">Show</span> <span style="font-weight: bold;">(</span> <span style="color: #800000;">_</span><span style="color: #008080;">"</span><span style="color: #008080;">T&#65533;m se vytvo&#65533;&#65533; soubor PDF pro v&#65533;echny sou&#65533;&#65533;sti sestavy, kter&#65533; maj&#65533; soubory v&#65533;kres&#65533;.</span><span style="color: #008080;">"</span> <span style="color: #800000;">_</span><span style="color: #FF0000; font-weight: bold;">&amp;</span> vbLf <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">Toto pravidlo o&#65533;ek&#65533;v&#65533;, &#65533;e v&#65533;kresov&#65533; soubor bude m&#65533;t stejn&#65533; n&#65533;zev a um&#65533;st&#65533;n&#65533; jako sou&#65533;&#65533;st.</span><span style="color: #008080;">"</span> <span style="color: #800000;">_</span><span style="color: #FF0000; font-weight: bold;">&amp;</span> vbLf <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;"> </span><span style="color: #008080;">"</span> <span style="color: #800000;">_</span><span style="color: #FF0000; font-weight: bold;">&amp;</span> vbLf <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">Opravdu chcete vytvo&#65533;it v&#65533;kresy PDF pro v&#65533;echny sou&#65533;&#65533;sti sestavy?</span><span style="color: #008080;">"</span> <span style="color: #800000;">_</span><span style="color: #FF0000; font-weight: bold;">&amp;</span> vbLf <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">To m&#65533;&#65533;e chv&#65533;li trvat.</span><span style="color: #008080;">"</span> , <span style="color: #008080;">"</span><span style="color: #008080;">ILogic   - d&#65533;vkov&#65533; v&#65533;stup soubory PDF </span><span style="color: #008080;">"</span>,<span style="color: #800000;">MessageBoxButtons</span>.<span style="color: #800000;">YesNo</span><span style="font-weight: bold;">)</span><span style="color: #FF0000; font-weight: bold;">If</span> <span style="color: #800000;">RUsure</span> <span style="font-weight: bold;">=</span> vbNo <span style="color: #FF0000; font-weight: bold;">Then</span><span style="color: #FF0000; font-weight: bold;">Return</span><span style="color: #FF0000; font-weight: bold;">Else</span><span style="color: #FF0000; font-weight: bold;">End</span> <span style="color: #FF0000; font-weight: bold;">If</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;"> - - - - - - - - - - - - - - Nastaven&#65533; PDF - - - - - - - - - - - - - -</span><span style="color: #808080; font-style: italic;"></span><span style="color: #800000;">oPath</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: #800000;">PDFAddIn</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">ThisApplication</span>.<span style="color: #800000;">ApplicationAddIns</span>.<span style="color: #800000;">ItemById</span><span style="font-weight: bold;">(</span><span style="color: #008080;">"</span><span style="color: #008080;">{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span><span style="color: #800000;">oContext</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">ThisApplication</span>.<span style="color: #800000;">TransientObjects</span>.<span style="color: #800000;">CreateTranslationContext</span><span style="color: #800000;">oContext</span>.<span style="color: #800000;">Type</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">IOMechanismEnum</span>.<span style="color: #800000;">kFileBrowseIOMechanism</span><span style="color: #800000;">oOptions</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">ThisApplication</span>.<span style="color: #800000;">TransientObjects</span>.<span style="color: #800000;">CreateNameValueMap</span><span style="color: #800000;">oDataMedium</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">ThisApplication</span>.<span style="color: #800000;">TransientObjects</span>.<span style="color: #800000;">CreateDataMedium</span><span style="color: #FF0000; font-weight: bold;">If</span> <span style="color: #800000;">PDFAddIn</span>.<span style="color: #800000;">HasSaveCopyAsOptions</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oDataMedium</span>, <span style="color: #800000;">oContext</span>, <span style="color: #800000;">oOptions</span><span style="font-weight: bold;">)</span> <span style="color: #FF0000; font-weight: bold;">Then</span><span style="color: #800000;">oOptions</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;">All_Color_AS_Black</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span> <span style="font-weight: bold;">=</span> <span style="font-weight: bold;">0</span><span style="color: #800000;">oOptions</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;">Remove_Line_Weights</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span> <span style="font-weight: bold;">=</span> <span style="font-weight: bold;">0</span><span style="color: #800000;">oOptions</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;">Vector_Resolution</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span> <span style="font-weight: bold;">=</span> <span style="font-weight: bold;">400</span><span style="color: #800000;">oOptions</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;">Sheet_Range</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">Inventor</span>.<span style="color: #800000;">PrintRangeEnum</span>.<span style="color: #800000;">kPrintAllSheets</span><span style="color: #800000;">oOptions</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;">Custom_Begin_Sheet</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span> <span style="font-weight: bold;">=</span> <span style="font-weight: bold;">1</span><span style="color: #800000;">oOptions</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;">Custom_End_Sheet</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span> <span style="font-weight: bold;">=</span> <span style="font-weight: bold;">4</span><span style="color: #FF0000; font-weight: bold;">End</span> <span style="color: #FF0000; font-weight: bold;">If</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">z&#65533;skat cestu k c&#65533;lov&#65533; slo&#65533;ce PDF</span><span style="color: #808080; font-style: italic;"></span><span style="color: #800000;">oFolder</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">oPath</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: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #800000;">oAsmName</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">- V&#65533;kresy</span><span style="color: #008080;">"</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Vyhledejte slo&#65533;ku PDF a vytvo&#65533;te ji, pokud neexistuje</span><span style="color: #808080; font-style: italic;"></span><span style="color: #FF0000; font-weight: bold;">If</span> <span style="color: #FF0000; font-weight: bold;">Not</span> <span style="color: #FF0000; font-weight: bold;">System</span>.<span style="color: #800000;">IO</span>.<span style="color: #800000;">Directory</span>.<span style="color: #800080; font-weight: bold;">Exists</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oFolder</span><span style="font-weight: bold;">)</span> <span style="color: #FF0000; font-weight: bold;">Then</span>    <span style="color: #FF0000; font-weight: bold;">System</span>.<span style="color: #800000;">IO</span>.<span style="color: #800000;">Directory</span>.<span style="color: #800000;">CreateDirectory</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oFolder</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: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">z&#65533;skat cestu k c&#65533;lov&#65533; podslo&#65533;ce Form&#65533;t&#65533; PDF</span><span style="color: #808080; font-style: italic;"></span><span style="color: #800000;">oFolder_A4</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">oFolder</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">\</span><span style="color: #008080;">"</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #800000;">oAsmName</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">- V&#65533;kresy _Format A4</span><span style="color: #008080;">"</span><span style="color: #800000;">oFolder_A3</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">oFolder</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">\</span><span style="color: #008080;">"</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #800000;">oAsmName</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">- V&#65533;kresy _Format A3</span><span style="color: #008080;">"</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Vyhledejte podslo&#65533;ce Form&#65533;t&#65533; PDF a vytvo&#65533;te ji, pokud neexistuje</span><span style="color: #808080; font-style: italic;"></span><span style="color: #FF0000; font-weight: bold;">If</span> <span style="color: #FF0000; font-weight: bold;">Not</span> <span style="color: #FF0000; font-weight: bold;">System</span>.<span style="color: #800000;">IO</span>.<span style="color: #800000;">Directory</span>.<span style="color: #800080; font-weight: bold;">Exists</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oFolder_A4</span><span style="font-weight: bold;">)</span> <span style="color: #FF0000; font-weight: bold;">Then</span>    <span style="color: #FF0000; font-weight: bold;">System</span>.<span style="color: #800000;">IO</span>.<span style="color: #800000;">Directory</span>.<span style="color: #800000;">CreateDirectory</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oFolder_A4</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;">If</span> <span style="color: #FF0000; font-weight: bold;">Not</span> <span style="color: #FF0000; font-weight: bold;">System</span>.<span style="color: #800000;">IO</span>.<span style="color: #800000;">Directory</span>.<span style="color: #800080; font-weight: bold;">Exists</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oFolder_A3</span><span style="font-weight: bold;">)</span> <span style="color: #FF0000; font-weight: bold;">Then</span>    <span style="color: #FF0000; font-weight: bold;">System</span>.<span style="color: #800000;">IO</span>.<span style="color: #800000;">Directory</span>.<span style="color: #800000;">CreateDirectory</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oFolder_A3</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: #808080; font-style: italic;">''</span><span style="color: #808080; font-style: italic;">MessageBox.Show("Nov&#65533; spodslo&#65533;ky vytvo&#65533;en&#65533; : " &amp; vbLf &amp; oFolder_A4 &amp; vbLf &amp; oFolder_A3, "iLogic")</span><span style="color: #808080; font-style: italic;"></span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;"> - - - - - - - - - - - - - - -</span><span style="color: #808080; font-style: italic;">''</span><span style="color: #808080; font-style: italic;"> - - - - - - - - - - - - - - V&#65533;kresy sou&#65533;&#65533;st&#65533; - - - - - - - - - - - - - -</span><span style="color: #808080; font-style: italic;"></span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">pod&#65533;vejte se na soubory, na kter&#65533; odkazuje shrom&#65533;d&#65533;n&#65533;.'</span><span style="color: #808080; font-style: italic;"></span><span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">oRefDocs</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">DocumentsEnumerator</span><span style="color: #800000;">oRefDocs</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">oAsmDoc</span>.<span style="color: #800000;">AllReferencedDocuments</span><span style="color: #FF0000; font-weight: bold;">Dim</span> <span style="color: #800000;">oRefDoc</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">Document</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">pracujte s v&#65533;kresov&#65533;mi soubory pro odkazovan&#65533; modely</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">toto o&#65533;ek&#65533;v&#65533;, &#65533;e model bude m&#65533;t kresbu se stejnou cestou a n&#65533;zvem</span><span style="color: #808080; font-style: italic;"></span><span style="color: #FF0000; font-weight: bold;">For</span> <span style="color: #FF0000; font-weight: bold;">Each</span> <span style="color: #800000;">oRefDoc</span> <span style="color: #FF0000; font-weight: bold;">In</span> <span style="color: #800000;">oRefDocs</span><span style="color: #800000;">idwPathName</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">Left</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oRefDoc</span>.<span style="color: #800000;">FullDocumentName</span>, <span style="color: #800080; font-weight: bold;">Len</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oRefDoc</span>.<span style="color: #800000;">FullDocumentName</span><span style="font-weight: bold;">)</span><span style="color: #FF0000; font-weight: bold;">-</span><span style="font-weight: bold;">3</span><span style="font-weight: bold;">)</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">idw</span><span style="color: #008080;">"</span><span style="color: #FF0000; font-weight: bold;">If</span><span style="font-weight: bold;">(</span><span style="color: #FF0000; font-weight: bold;">System</span>.<span style="color: #800000;">IO</span>.<span style="color: #800000;">File</span>.<span style="color: #800080; font-weight: bold;">Exists</span><span style="font-weight: bold;">(</span><span style="color: #800000;">idwPathName</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;">oDrawDoc</span> <span style="color: #FF0000; font-weight: bold;">As</span> <span style="color: #800000;">DrawingDocument</span>                                       <span style="color: #800000;">oDrawDoc</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">ThisApplication</span>.<span style="color: #800000;">Documents</span>.<span style="color: #800080; font-weight: bold;">Open</span><span style="font-weight: bold;">(</span><span style="color: #800000;">idwPathName</span>, False<span style="font-weight: bold;">)</span>                           <span style="color: #800000;">oFileName</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">Left</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oRefDoc</span>.<span style="color: #800000;">DisplayName</span>, <span style="color: #800080; font-weight: bold;">Len</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oRefDoc</span>.<span style="color: #800000;">DisplayName</span><span style="font-weight: bold;">))</span>                <span style="color: #800000;">p</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">Parameter</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oFileName</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span><span style="color: #008080;">"</span><span style="color: #008080;">:1</span><span style="color: #008080;">"</span>, <span style="color: #008080;">"</span><span style="color: #008080;">FORMAT</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>                <span style="color: #FF0000; font-weight: bold;">If</span> <span style="color: #800000;">p</span> <span style="font-weight: bold;">=</span> <span style="color: #008080;">"</span><span style="color: #008080;">A3</span><span style="color: #008080;">"</span> <span style="color: #FF0000; font-weight: bold;">Then</span>                <span style="color: #800000;">oFolderV</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">oFolder_A3</span>                <span style="color: #FF0000; font-weight: bold;">Else</span>                <span style="color: #800000;">oFolderV</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">oFolder_A4</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;">On</span> <span style="color: #FF0000; font-weight: bold;">Error</span> <span style="color: #FF0000; font-weight: bold;">Resume</span> <span style="color: #FF0000; font-weight: bold;">Next</span> <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">, pokud soubor PDF existuje a je otev&#65533;en&#65533; nebo pouze pro &#65533;ten&#65533;, pokra&#65533;ujte d&#65533;le</span><span style="color: #808080; font-style: italic;"></span>                             <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Nastavte n&#65533;zev c&#65533;lov&#65533;ho souboru PDF</span><span style="color: #808080; font-style: italic;"></span>                <span style="color: #800000;">oDataMedium</span>.<span style="color: #800080; font-weight: bold;">FileName</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">oFolderV</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">\</span><span style="color: #008080;">"</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #800000;">oFileName</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">.pdf</span><span style="color: #008080;">"</span>                <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">aktualizuje</span><span style="color: #808080; font-style: italic;"></span>                <span style="color: #800000;">oDrawDoc</span>.<span style="color: #800000;">StylesManager</span>.<span style="color: #800000;">Layers</span><span style="font-weight: bold;">()</span>.<span style="color: #800080; font-weight: bold;">Visible</span> <span style="font-weight: bold;">=</span> False                <span style="color: #800000;">oDrawDoc</span>.<span style="color: #800000;">StylesManager</span>.<span style="color: #800000;">Layers</span><span style="font-weight: bold;">()</span>.<span style="color: #800080; font-weight: bold;">Visible</span> <span style="font-weight: bold;">=</span> True                <span style="color: #800080; font-weight: bold;">iLogicVb</span>.<span style="color: #800080; font-weight: bold;">UpdateWhenDone</span> <span style="font-weight: bold;">=</span> True                <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Napi&#65533;te PDF</span><span style="color: #808080; font-style: italic;"></span>                <span style="color: #FF0000; font-weight: bold;">Call</span> <span style="color: #800000;">PDFAddIn</span>.<span style="color: #800000;">SaveCopyAs</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oDrawDoc</span>, <span style="color: #800000;">oContext</span>, <span style="color: #800000;">oOptions</span>, <span style="color: #800000;">oDataMedium</span><span style="font-weight: bold;">)</span>            <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">zav&#65533;i soubor</span><span style="color: #808080; font-style: italic;"></span>                <span style="color: #800000;">oDrawDoc</span>.<span style="color: #800080; font-weight: bold;">Close</span><span style="color: #FF0000; font-weight: bold;">Else</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Pokud model nem&#65533; v&#65533;kres se stejnou cestou a n&#65533;zvem - ned&#65533;lejte nic</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;">Next</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;"> - - - - - - - - - - - - - - -</span><span style="color: #808080; font-style: italic;"></span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;"> - - - - - - - - - - - - - - V&#65533;kres nejvy&#65533;&#65533;&#65533; &#65533;rovn&#65533; - - - - - - - - - - - - - -</span><span style="color: #808080; font-style: italic;"></span><span style="color: #800000;">oAsmDrawing</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">ThisDoc</span>.<span style="color: #800080; font-weight: bold;">ChangeExtension</span><span style="font-weight: bold;">(</span><span style="color: #008080;">"</span><span style="color: #008080;">.idw</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span><span style="color: #800000;">oAsmDrawingDoc</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">ThisApplication</span>.<span style="color: #800000;">Documents</span>.<span style="color: #800080; font-weight: bold;">Open</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oAsmDrawing</span>, True<span style="font-weight: bold;">)</span><span style="color: #800000;">oAsmDrawingName</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">Left</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oAsmDrawingDoc</span>.<span style="color: #800000;">DisplayName</span>, <span style="color: #800080; font-weight: bold;">Len</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oAsmDrawingDoc</span>.<span style="color: #800000;">DisplayName</span><span style="font-weight: bold;">))</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">vypi&#65533;te PDF pro soubor v&#65533;kresu sestavy nejvy&#65533;&#65533;&#65533; &#65533;rovn&#65533;</span><span style="color: #808080; font-style: italic;"></span><span style="color: #FF0000; font-weight: bold;">On</span> <span style="color: #FF0000; font-weight: bold;">Error</span> <span style="color: #FF0000; font-weight: bold;">Resume</span> <span style="color: #FF0000; font-weight: bold;">Next</span>  <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">, pokud soubor PDF existuje a je otev&#65533;en&#65533; nebo pouze pro &#65533;ten&#65533;, pokra&#65533;ujte d&#65533;le</span><span style="color: #808080; font-style: italic;"></span> <span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Nastavte n&#65533;zev c&#65533;lov&#65533;ho souboru PDF</span><span style="color: #808080; font-style: italic;"></span>                  <span style="color: #800000;">p</span> <span style="font-weight: bold;">=</span> <span style="color: #800080; font-weight: bold;">Parameter</span>.<span style="color: #800080; font-weight: bold;">Param</span><span style="font-weight: bold;">(</span> <span style="color: #008080;">"</span><span style="color: #008080;">FORMAT</span><span style="color: #008080;">"</span><span style="font-weight: bold;">)</span>                <span style="color: #FF0000; font-weight: bold;">If</span> <span style="color: #800000;">p</span> <span style="font-weight: bold;">=</span> <span style="color: #008080;">"</span><span style="color: #008080;">A3</span><span style="color: #008080;">"</span> <span style="color: #FF0000; font-weight: bold;">Then</span>                <span style="color: #800000;">oFolderVS</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">oFolder_A3</span>                <span style="color: #FF0000; font-weight: bold;">Else</span>                <span style="color: #800000;">oFolderVS</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">oFolder_A4</span>                <span style="color: #FF0000; font-weight: bold;">End</span> <span style="color: #FF0000; font-weight: bold;">If</span> <span style="color: #800000;">oDataMedium</span>.<span style="color: #800080; font-weight: bold;">FileName</span> <span style="font-weight: bold;">=</span> <span style="color: #800000;">oFolderVS</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">\</span><span style="color: #008080;">"</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #800000;">oAsmDrawingName</span> <span style="color: #FF0000; font-weight: bold;">&amp;</span> <span style="color: #008080;">"</span><span style="color: #008080;">.pdf</span><span style="color: #008080;">"</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Napi&#65533;te PDF</span><span style="color: #808080; font-style: italic;"></span><span style="color: #FF0000; font-weight: bold;">Call</span> <span style="color: #800000;">PDFAddIn</span>.<span style="color: #800000;">SaveCopyAs</span><span style="font-weight: bold;">(</span><span style="color: #800000;">oAsmDrawingDoc</span>, <span style="color: #800000;">oContext</span>, <span style="color: #800000;">oOptions</span>, <span style="color: #800000;">oDataMedium</span><span style="font-weight: bold;">)</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">Zav&#65533;ete v&#65533;kres nejvy&#65533;&#65533;&#65533; &#65533;rovn&#65533;</span><span style="color: #808080; font-style: italic;"></span><span style="color: #800000;">oAsmDrawingDoc</span>.<span style="color: #800080; font-weight: bold;">Close</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">- - - - - - - - - - - - -</span><span style="color: #808080; font-style: italic;">''</span><span style="color: #808080; font-style: italic;">MessageBox.Show("Nov&#65533; soubory vytvo&#65533;en&#65533; v: " &amp; vbLf &amp; oFolder, "iLogic")</span><span style="color: #808080; font-style: italic;">'</span><span style="color: #808080; font-style: italic;">'otev&#65533;ete slo&#65533;ku, kam jsou ulo&#65533;eny nov&#65533; soubory</span><span style="color: #808080; font-style: italic;">&nbsp;</span></pre><div><span style="color: rgb255, 0, 0; font-weight: bold;">Shell</span><span style="font-weight: bold;">(</span><span style="color: rgb0, 128, 128;">"</span><span style="color: rgb0, 128, 128;">explorer.exe </span><span style="color: rgb0, 128, 128;">"</span> <span style="color: rgb255, 0, 0; font-weight: bold;">&amp;</span> <span style="color: rgb128, 0, 0;">oFolder</span>,<span style="color: rgb128, 0, 0;">vbNormalFocus</span><span style="font-weight: bold;">)</span>&nbsp;</div><div><br></div><div><img src="uploads/4903/export_ze_sestavy.JPG" height="788" width="1472" border="0" />&nbsp;</div>]]>
   </description>
   <pubDate>Thu, 16 Dec 2021 16:05:33 +0000</pubDate>
   <guid isPermaLink="true">https://www.cadforum.cz/forum/forum_posts.asp?TID=32728&amp;PID=125183&amp;title=chybne-zobrazeni-car-na-pdf#125183</guid>
  </item> 
 </channel>
</rss>