<?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 PDF Optionen verteilen in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894947#M118496</link>
    <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6370526"&gt;@d.eisen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wenn Sie in Ihrem Windows-Dateimanagerfenster auf ein PDF-Dokument doppelklicken, wird es automatisch in einem Viewer geöffnet? Verfügen Sie über eine Standardanwendung zum Öffnen von PDF-Dokumenten auf allen Zielcomputern?&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 15:22:05 GMT</pubDate>
    <dc:creator>WCrihfield</dc:creator>
    <dc:date>2020-11-25T15:22:05Z</dc:date>
    <item>
      <title>Export PDF Optionen verteilen</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894142#M118473</link>
      <description>&lt;P&gt;Hallo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;hat von euch jemand eine Möglichkeit gefunden die Export-Optionen für eine PDF grundsätzlich einheitlich an User zu Verteilen?&lt;/P&gt;&lt;P&gt;Es geht mir explizit um den Haken "Publizierte Datei in Viewer anzeigen" ich würde gerne diesen Haken standardmäßig raus haben. Da ich nicht will das beim benutzen meines ExportPDF VBA Makros der Viewer geöffnet wird. Da dies unnötig zeit kostet.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 08:25:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894142#M118473</guid>
      <dc:creator>d.eisen</dc:creator>
      <dc:date>2020-11-25T08:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Export PDF Optionen verteilen</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894529#M118482</link>
      <description>&lt;P&gt;Kannst du dein ExportPDF VBA Makro &lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;anfügen&lt;/SPAN&gt;&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;Ich dachte, dass nach Export durch PDFAddIn,&amp;nbsp;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;standardmäßig&lt;/SPAN&gt;&lt;/SPAN&gt; kein Viewer anziegt wird?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 12:02:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894529#M118482</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T12:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Export PDF Optionen verteilen</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894534#M118483</link>
      <description>&lt;P&gt;Hi, klar hier ist es:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Option Explicit&lt;/P&gt;&lt;P&gt;Const EXPORTPATH As String = "C:\Temp\"&lt;/P&gt;&lt;P&gt;Public Sub ExportPDF()&lt;BR /&gt;On Error Resume Next&lt;/P&gt;&lt;P&gt;Dim oApp As Inventor.Application&lt;BR /&gt;Set oApp = ThisApplication&lt;BR /&gt;&lt;BR /&gt;Dim oDrawDoc As DrawingDocument&lt;BR /&gt;Set oDrawDoc = ThisApplication.ActiveDocument&lt;BR /&gt;&lt;BR /&gt;'Prüfung richtiges Dokument geöffnet&lt;BR /&gt;If oApp.Documents.Count = 0 Then Exit Sub&lt;BR /&gt;If oApp.ActiveDocument.DocumentType &amp;lt;&amp;gt; kDrawingDocumentObject Then&lt;BR /&gt;MsgBox "Funktion ist nur in Zeichnungen zulässig"&lt;BR /&gt;Exit Sub&lt;BR /&gt;End If&lt;/P&gt;&lt;P&gt;Dim oFileSystem As Object&lt;BR /&gt;Set oFileSystem = CreateObject("Scripting.FilesystemObject")&lt;/P&gt;&lt;P&gt;Dim PDFAddIn As TranslatorAddIn&lt;BR /&gt;Set PDFAddIn = ThisApplication.ApplicationAddIns.ItemById("{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}")&lt;/P&gt;&lt;P&gt;Dim oContext As TranslationContext&lt;BR /&gt;Set oContext = ThisApplication.TransientObjects.CreateTranslationContext&lt;BR /&gt;oContext.Type = kFileBrowseIOMechanism&lt;/P&gt;&lt;P&gt;Dim oOptions As NameValueMap&lt;BR /&gt;Set oOptions = ThisApplication.TransientObjects.CreateNameValueMap&lt;/P&gt;&lt;P&gt;Dim oDataMedium As DataMedium&lt;BR /&gt;Set oDataMedium = ThisApplication.TransientObjects.CreateDataMedium&lt;BR /&gt;&lt;BR /&gt;'Optionen für PDF Export wählen&lt;BR /&gt;If PDFAddIn.HasSaveCopyAsOptions(oDrawDoc, oContext, oOptions) Then&lt;BR /&gt;oOptions.Value("All_Color_AS_Black") = 0&lt;BR /&gt;oOptions.Value("Remove_Line_Weights") = 1&lt;BR /&gt;oOptions.Value("Vector_Resolution") = 4800&lt;BR /&gt;oOptions.Value("Sheet_Range") = kPrintAllSheets&lt;BR /&gt;'oOptions.Value("Custom_Begin_Sheet") = 2&lt;BR /&gt;'oOptions.Value("Custom_End_Sheet") = 4&lt;BR /&gt;End If&lt;BR /&gt;&lt;BR /&gt;'Titel&lt;BR /&gt;Dim oTitle As String&lt;BR /&gt;oTitle = oDrawDoc.PropertySets.Item(1).Item(1).Expression&lt;BR /&gt;&lt;BR /&gt;'Teilenummer&lt;BR /&gt;Dim oPrtNo As String&lt;BR /&gt;oPrtNo = oDrawDoc.PropertySets.Item("Design Tracking - Eigenschaften").Item("Part Number").Expression&lt;BR /&gt;'Zeichen aus Titel filtern&lt;BR /&gt;oTitle = Replace(oTitle, "/", "-")&lt;BR /&gt;oTitle = Replace(oTitle, "\", "-")&lt;BR /&gt;oTitle = Replace(oTitle, ":", "-")&lt;BR /&gt;oTitle = Replace(oTitle, "*", "-")&lt;BR /&gt;oTitle = Replace(oTitle, "?", "-")&lt;BR /&gt;oTitle = Replace(oTitle, "&amp;lt;", "-")&lt;BR /&gt;oTitle = Replace(oTitle, "&amp;gt;", "-")&lt;BR /&gt;oTitle = Replace(oTitle, "|", "-")&lt;BR /&gt;&lt;BR /&gt;'Zeichnungsnummer&lt;BR /&gt;Dim oDrwNo As String&lt;BR /&gt;oDrwNo = oFileSystem.GetFilename(oDrawDoc.FullFileName)&lt;BR /&gt;&lt;BR /&gt;'Revision&lt;BR /&gt;Dim oRev As String&lt;BR /&gt;oRev = oDrawDoc.PropertySets.Item("Inventor User Defined Properties").Item("Revision").Expression&lt;BR /&gt;&lt;BR /&gt;'Dateiname ermittlen&lt;BR /&gt;Dim oDaNa As String&lt;BR /&gt;oDaNa = EXPORTPATH + oPrtNo &amp;amp; "_" &amp;amp; oDrwNo &amp;amp; "_" &amp;amp; oRev &amp;amp; "_" &amp;amp; oTitle&lt;BR /&gt;&lt;BR /&gt;'Dateierweiterung ermitteln&lt;BR /&gt;Dim oDen As String&lt;BR /&gt;oDen = ".pdf"&lt;BR /&gt;&lt;BR /&gt;'Dateiname festlegen&lt;BR /&gt;Dim FileName As String&lt;BR /&gt;FileName = oDaNa &amp;amp; oDen&lt;BR /&gt;&lt;BR /&gt;' PDF speichern unter&lt;BR /&gt;oDataMedium.FileName = FileName&lt;BR /&gt;&lt;BR /&gt;Call PDFAddIn.SaveCopyAs(oDrawDoc, oContext, oOptions, oDataMedium)&lt;BR /&gt;&lt;BR /&gt;' Zoom&lt;BR /&gt;oDrawDoc.Views.Item(1).Fit&lt;BR /&gt;&lt;BR /&gt;' Explorer starten&lt;BR /&gt;'Call VBA.Shell("explorer " &amp;amp; EXPORTPATH, vbNormalFocus)&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ich habe gesucht ob in der Registry noch ein "oOptions.Value("")" schaltet habe aber nichts gefunden.&lt;/P&gt;&lt;P&gt;Das Kontrollkästchen im Inventor Export "Publizierte Datei Im Viewer anzeigen" demnach vermutlich nicht über die Registry mit beeinflusst.&amp;nbsp; Sondern ist eine manuelle ak- oder deaktiverung.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 12:08:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894534#M118483</guid>
      <dc:creator>d.eisen</dc:creator>
      <dc:date>2020-11-25T12:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: Export PDF Optionen verteilen</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894568#M118485</link>
      <description>&lt;P&gt;Es ist komisch aber wenn ich diese Makro nutze, alles wirkt und kein Window &lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;erscheint&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;Neues Pdf wird &lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;erstellt.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 12:26:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894568#M118485</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T12:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Export PDF Optionen verteilen</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894589#M118487</link>
      <description>&lt;P&gt;Hast du geprüft wie deine Inventor Optionen beim Exportieren von PDF bei Zeichnungen sind?&lt;/P&gt;&lt;P&gt;Ob hier das Kontrollkästchen bei der Option "Publizierte Datei in Viewer anzeigen" aktiviert ist oder nicht?&lt;/P&gt;&lt;P&gt;Ist ein Haken gesetzt geht der Viewer auf, ist das Kontrollkästchen leer dann nicht.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also bei mir wird der Adobe Reader gestartet wenn ich den Haken manuell setze.&lt;/P&gt;&lt;P&gt;Da ich mit dem Makro diesen anscheinend nicht ansteuere.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 12:34:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894589#M118487</guid>
      <dc:creator>d.eisen</dc:creator>
      <dc:date>2020-11-25T12:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Export PDF Optionen verteilen</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894859#M118492</link>
      <description>&lt;P&gt;Du hast recht.&lt;/P&gt;&lt;P&gt;Mit der Option "Publizierte Datei in Viewer anzeigen" aktiviert, pdf window erscheint.&lt;/P&gt;&lt;P&gt;Ich habe also erfahen, dass deises Problem mehr problematisch ist, als ich dachte. In Inventor von alten versionen Inventor, konnte man auch eine andere Option andern:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;oOptions.Value("Launch_Viewer") = true ' or false&lt;/LI-CODE&gt;&lt;P&gt;Seit Inventor 2018 wirkt es aber nicht mehr.&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" rel="noopener"&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 14:45:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894859#M118492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T14:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Export PDF Optionen verteilen</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894934#M118495</link>
      <description>&lt;P&gt;Mine wird so angegeben:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;oOptions.Value("Launch_Viewer") = 0 ' 0 = False, 1 = True&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sehen Sie, ob dies für Sie funktioniert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;FYI: Ich verwende Inventor Pro 2021.1 und aktualisierte Adobe Reader DC auf einem vollständig aktualisierten Windows 10-PC.&amp;nbsp; Ich kann diese Einstellung von 0 auf 1 und zurück auf 0 umstellen, und es tut immer das, was erwartet wird.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this solved your problem, or answered your question, please click &lt;SPAN style="background-color: green; color: white;"&gt;&lt;STRONG&gt;ACCEPT SOLUTION&lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;Or, if this helped you, please click 'LIKE' &lt;SPAN&gt;&lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@7401B55A0A518861312A0F851CD29320/emoticons/1f44d.png" alt=":thumbs_up:" title=":thumbs_up:" /&gt;&lt;/SPAN&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 15:29:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894934#M118495</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2020-11-25T15:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Export PDF Optionen verteilen</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894947#M118496</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6370526"&gt;@d.eisen&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Wenn Sie in Ihrem Windows-Dateimanagerfenster auf ein PDF-Dokument doppelklicken, wird es automatisch in einem Viewer geöffnet? Verfügen Sie über eine Standardanwendung zum Öffnen von PDF-Dokumenten auf allen Zielcomputern?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 15:22:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9894947#M118496</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2020-11-25T15:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: Export PDF Optionen verteilen</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9896436#M118517</link>
      <description>&lt;P&gt;Ich habe die Option nun mit eingefügt:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;'Optionen für PDF Export wählen&lt;BR /&gt;If PDFAddIn.HasSaveCopyAsOptions(oDrawDoc, oContext, oOptions) Then&lt;BR /&gt;oOptions.Value("All_Color_AS_Black") = 0&lt;BR /&gt;oOptions.Value("Remove_Line_Weights") = 1&lt;BR /&gt;oOptions.Value("Vector_Resolution") = 400&lt;BR /&gt;oOptions.Value("Sheet_Range") = kPrintAllSheets&lt;BR /&gt;&lt;STRONG&gt;oOptions.Value("Launch_Viewer") = 0 ' 0 = False, 1 = True&lt;/STRONG&gt;&lt;BR /&gt;End If&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hat jedoch nicht den gewünschten Effekt, es scheint bei der Inventor Version 2019.4.2 noch nicht zu funktionieren&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Der Eintrag "Launch Viewer" ist auch nicht in der Registry zu finden sieh Bild.&lt;/P&gt;&lt;P&gt;Der Einzige Wert der einem "Viewer anzeigen" am nähesten kommt ist der &lt;STRONG&gt;DisplayPublishedFileInViewer&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Dieser hat aber bei der Exportieren PDF Funktion keine Auswirkung.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Es ist ein Standard-Viewer für PDF hinterlegt, das ganze ist aber kein Windows-Thema sondern eine Inventor Funktion die ich manuell ein- und ausschalten kann. Ich finde aber leider eben nicht heraus wie ich ihn ansteuern kann oder in welchem Registry-Wert oder Konfigurationsdatei der Wert gespeichert.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 06:17:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/export-pdf-optionen-verteilen/m-p/9896436#M118517</guid>
      <dc:creator>d.eisen</dc:creator>
      <dc:date>2020-11-26T06:17:06Z</dc:date>
    </item>
  </channel>
</rss>

