<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Export To PDF options in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-to-pdf-options/m-p/8392097#M91276</link>
    <description>&lt;P&gt;I'll agree I can't find that option. Can you try this...&lt;/P&gt;&lt;PRE&gt;Dim Doc As DrawingDocument = ThisApplication.ActiveDocument
Dim MyArrayList As New ArrayList
For Each oSheet As Sheet In Doc.Sheets
	If oSheet.ExcludeFromPrinting Then 
		MyArrayList.Add(oSheet.Name)
		oSheet.ExcludeFromPrinting = False
	End If	
Next&lt;BR /&gt;&lt;BR /&gt;'your code to export pdf here&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Sheet&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;Doc&lt;/SPAN&gt;.&lt;SPAN&gt;Sheets&lt;/SPAN&gt;
	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;MyArrayList&lt;/SPAN&gt;.&lt;SPAN&gt;Contains&lt;/SPAN&gt;(&lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt;) &lt;SPAN&gt;Then&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;ExcludeFromPrinting&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;
&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Nov 2018 16:32:41 GMT</pubDate>
    <dc:creator>clutsa</dc:creator>
    <dc:date>2018-11-09T16:32:41Z</dc:date>
    <item>
      <title>Export To PDF options</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-to-pdf-options/m-p/8391731#M91267</link>
      <description>&lt;P&gt;While exporting to PDF Through VBA (api), it is not possible to alter the option &lt;EM&gt;Print excluded sheets&lt;/EM&gt; and &lt;EM&gt;Display Published File in Viewer&lt;/EM&gt;. (see screenshot):&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Export -&amp;gt; PDF -&amp;gt; options" style="width: 536px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/567729i6913B548331A3E58/image-size/large?v=v2&amp;amp;px=999" role="button" title="NA.PNG" alt="Export -&amp;gt; PDF -&amp;gt; options" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Export -&amp;gt; PDF -&amp;gt; options&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;What I tried so far without success:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Searching for the options here on the forum: only 6 options found.&lt;/LI&gt;&lt;LI&gt;Using the &lt;EM&gt;Translator.HasSaveCopyAsOptions&lt;/EM&gt; to get the default options:&lt;BR /&gt;I've found 43 options, including the previous 6 and an options &lt;EM&gt;Launch_Viewer&lt;/EM&gt;&lt;/LI&gt;&lt;LI&gt;&lt;EM&gt;Launch_Viewer = False&lt;/EM&gt; didn't work&lt;/LI&gt;&lt;LI&gt;I've tried &lt;EM&gt;ViewPDFWhenFinished&lt;/EM&gt;&lt;EM&gt; = False&lt;/EM&gt; (option found for 3D PDF)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Any help or suggestion in the right direction would be welcome.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 14:38:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-to-pdf-options/m-p/8391731#M91267</guid>
      <dc:creator>ACEDeSmedt</dc:creator>
      <dc:date>2018-11-09T14:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: Export To PDF options</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-to-pdf-options/m-p/8392097#M91276</link>
      <description>&lt;P&gt;I'll agree I can't find that option. Can you try this...&lt;/P&gt;&lt;PRE&gt;Dim Doc As DrawingDocument = ThisApplication.ActiveDocument
Dim MyArrayList As New ArrayList
For Each oSheet As Sheet In Doc.Sheets
	If oSheet.ExcludeFromPrinting Then 
		MyArrayList.Add(oSheet.Name)
		oSheet.ExcludeFromPrinting = False
	End If	
Next&lt;BR /&gt;&lt;BR /&gt;'your code to export pdf here&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;Each&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Sheet&lt;/SPAN&gt; &lt;SPAN&gt;In&lt;/SPAN&gt; &lt;SPAN&gt;Doc&lt;/SPAN&gt;.&lt;SPAN&gt;Sheets&lt;/SPAN&gt;
	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;MyArrayList&lt;/SPAN&gt;.&lt;SPAN&gt;Contains&lt;/SPAN&gt;(&lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;Name&lt;/SPAN&gt;) &lt;SPAN&gt;Then&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;ExcludeFromPrinting&lt;/SPAN&gt; = &lt;SPAN&gt;True&lt;/SPAN&gt;
&lt;SPAN&gt;Next&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Nov 2018 16:32:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-to-pdf-options/m-p/8392097#M91276</guid>
      <dc:creator>clutsa</dc:creator>
      <dc:date>2018-11-09T16:32:41Z</dc:date>
    </item>
    <item>
      <title>Re: Export To PDF options</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-to-pdf-options/m-p/8395128#M91302</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/529290"&gt;@ACEDeSmedt&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Engineering team knows about Launch_Viewer option which is not working for PDF translator. A change request is already created with engineering team and details are given below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;INVGEN - 2958 - API: The Launch_Viewer option for PDF translator does not work (Display Published File in Viewer)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As a workaround, you can try suggestion in below forum discussion link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/pdfaddin-option-quot-launch-viewer-quot-true-or-false-not-set-in/td-p/7604075" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-customization/pdfaddin-option-quot-launch-viewer-quot-true-or-false-not-set-in/td-p/7604075&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;</description>
      <pubDate>Mon, 12 Nov 2018 05:10:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-to-pdf-options/m-p/8395128#M91302</guid>
      <dc:creator>chandra.shekar.g</dc:creator>
      <dc:date>2018-11-12T05:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Export To PDF options</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-to-pdf-options/m-p/11217287#M138986</link>
      <description>&lt;P&gt;Is this working yet?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2022 15:08:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-to-pdf-options/m-p/11217287#M138986</guid>
      <dc:creator>mslosar</dc:creator>
      <dc:date>2022-06-06T15:08:03Z</dc:date>
    </item>
  </channel>
</rss>

