<?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: iLogic, Publish PDF error. in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12795052#M167766</link>
    <description>&lt;P&gt;Thank you for the help. I've modified the code and will trial it for a few weeks to see if i have any documents being mixed up.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2024 09:46:26 GMT</pubDate>
    <dc:creator>PumaBH</dc:creator>
    <dc:date>2024-05-24T09:46:26Z</dc:date>
    <item>
      <title>iLogic, Publish PDF error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12789639#M167633</link>
      <description>&lt;P&gt;Hello All,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an iLogic Rule as shown below that will publish a PDF document of the saved manufacturing drawing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When i create manufacturing drawings i have it so the .idw drawing is auto saved as a .pdf as well via the iLogic.&amp;nbsp;&lt;/P&gt;&lt;P&gt;i do this for all my drawings and on occasions the drawing that was auto saved would sometimes be incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example the drawing will save as a .pdf under the correct file name but the contents of this file will be something else that was open at the time of the save. often another drawing or part model in a random view orientation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it is not a regular occurrence and would happen once in every 20 or so drawings. probably when i have more than 10 different file types open in inventor it will confuse itself during operation.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;oPath&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;
&lt;SPAN&gt;oFileName&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;FileName&lt;/SPAN&gt;(&lt;SPAN&gt;False&lt;/SPAN&gt;) &lt;SPAN&gt;'without extension&lt;/SPAN&gt;
&lt;SPAN&gt;oRevNum&lt;/SPAN&gt; = &lt;SPAN&gt;iProperties&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"project"&lt;/SPAN&gt;, &lt;SPAN&gt;"revision number"&lt;/SPAN&gt;)
&lt;SPAN&gt;oPDFAddIn&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ApplicationAddIns&lt;/SPAN&gt;.&lt;SPAN&gt;ItemById&lt;/SPAN&gt; _
(&lt;SPAN&gt;"{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}"&lt;/SPAN&gt;)
&lt;SPAN&gt;oDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;
&lt;SPAN&gt;oContext&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateTranslationContext&lt;/SPAN&gt;
&lt;SPAN&gt;oContext&lt;/SPAN&gt;.&lt;SPAN&gt;Type&lt;/SPAN&gt; = &lt;SPAN&gt;IOMechanismEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kFileBrowseIOMechanism&lt;/SPAN&gt;
&lt;SPAN&gt;oOptions&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateNameValueMap&lt;/SPAN&gt;
&lt;SPAN&gt;oDataMedium&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateDataMedium&lt;/SPAN&gt; 


&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;oPDFAddIn&lt;/SPAN&gt;.&lt;SPAN&gt;HasSaveCopyAsOptions&lt;/SPAN&gt;(&lt;SPAN&gt;oDocument&lt;/SPAN&gt;, &lt;SPAN&gt;oContext&lt;/SPAN&gt;, &lt;SPAN&gt;oOptions&lt;/SPAN&gt;) &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"All_Color_AS_Black"&lt;/SPAN&gt;) = 0
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Remove_Line_Weights"&lt;/SPAN&gt;) = 1
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Vector_Resolution"&lt;/SPAN&gt;) = 400
&lt;SPAN&gt;oOptions&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt;(&lt;SPAN&gt;"Sheet_Range"&lt;/SPAN&gt;) = &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;PrintRangeEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kPrintAllSheets&lt;/SPAN&gt;
&lt;SPAN&gt;'oOptions.Value("Custom_Begin_Sheet") = 2'oOptions.Value("Custom_End_Sheet") = 4&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt; 


&lt;SPAN&gt;'get PDF target folder path&lt;/SPAN&gt;
&lt;SPAN&gt;oFolder&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\pdf"&lt;/SPAN&gt; &lt;SPAN&gt;'instead of "k:\dwg\pdf\"&lt;/SPAN&gt;

&lt;SPAN&gt;'Check for the PDF folder and create it if it does not exist&lt;/SPAN&gt;
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;Not&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Directory&lt;/SPAN&gt;.&lt;SPAN&gt;Exists&lt;/SPAN&gt;(&lt;SPAN&gt;oFolder&lt;/SPAN&gt;) &lt;SPAN&gt;Then&lt;/SPAN&gt;
    &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Directory&lt;/SPAN&gt;.&lt;SPAN&gt;CreateDirectory&lt;/SPAN&gt;(&lt;SPAN&gt;oFolder&lt;/SPAN&gt;)
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;


 &lt;SPAN&gt;'Set the PDF target file name&lt;/SPAN&gt;
&lt;SPAN&gt;oDataMedium&lt;/SPAN&gt;.&lt;SPAN&gt;FileName&lt;/SPAN&gt; = &lt;SPAN&gt;oFolder&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\"&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;oFileName&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;".pdf"&lt;/SPAN&gt; 
&lt;SPAN&gt;'_" rev" &amp;amp; oRevNum &amp;amp; ".pdf" &lt;/SPAN&gt;


&lt;SPAN&gt;'Publish document&lt;/SPAN&gt;
&lt;SPAN&gt;oPDFAddIn&lt;/SPAN&gt;.&lt;SPAN&gt;SaveCopyAs&lt;/SPAN&gt;(&lt;SPAN&gt;oDocument&lt;/SPAN&gt;, &lt;SPAN&gt;oContext&lt;/SPAN&gt;, &lt;SPAN&gt;oOptions&lt;/SPAN&gt;, &lt;SPAN&gt;oDataMedium&lt;/SPAN&gt;) 
&lt;SPAN&gt;'------end of iLogic-------&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Cheers!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 10:13:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12789639#M167633</guid>
      <dc:creator>PumaBH</dc:creator>
      <dc:date>2024-05-22T10:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, Publish PDF error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12789907#M167640</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13699729"&gt;@PumaBH&lt;/a&gt;.&amp;nbsp; It sounds like it is getting different documents mixed up.&amp;nbsp; And since this is the case, we have to take a very close look at how we are getting a document for this code to work with.&amp;nbsp; In your code, you are using the 'ThisDoc' term in several places, but then you are also using the 'ThisApplication.ActiveDocument' term, which could be retrieving a different document object than what the 'ThisDoc' term is pointing to.&amp;nbsp; So, I would suggest that you replace 'ThisApplication.ActiveDocument' with 'ThisDoc.Document', instead.&amp;nbsp; That way all of those terms should be pointing to the same document.&amp;nbsp; The term 'ThisApplication.ActiveDocument' will always capture the document that is currently, visibly showing on your Inventor screen at the moment that code is encountered.&amp;nbsp; If that code gets ran by events or gets ran remotely, then the wrong document may be showing on your Inventor screen at that time, causing the problem.&amp;nbsp; The term 'ThisDoc' has pretty dynamic functionality, and works differently in different situations, in an attempt to point to the most relevant document, and is the term I use most within most of my iLogic rules.&amp;nbsp; It was not always that way though.&amp;nbsp; I had to learn about this situation myself at one point, then made the change because of it.&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2024 12:20:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12789907#M167640</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2024-05-22T12:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, Publish PDF error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12794870#M167764</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using a code that I activate when I want to make a pdf&lt;/P&gt;&lt;P&gt;The code creates two pdf's. One on a specific location in our network and one in the folder where the IDW is. In that folder a new folder is made "PDF" and the folder will also open automatically after the pdf has been created&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's the code:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;On&lt;/SPAN&gt; &lt;SPAN&gt;Error&lt;/SPAN&gt; &lt;SPAN&gt;Resume&lt;/SPAN&gt; &lt;SPAN&gt;Next&lt;/SPAN&gt;

&lt;SPAN&gt;'define the folder where you want to save the files&lt;/SPAN&gt;
&lt;SPAN&gt;oFolder&lt;/SPAN&gt; = &lt;SPAN&gt;"g:\pdf\2024\"&lt;/SPAN&gt;

&lt;SPAN&gt;'grab the filename&lt;/SPAN&gt;
&lt;SPAN&gt;oFileName&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;FileName&lt;/SPAN&gt;(&lt;SPAN&gt;False&lt;/SPAN&gt;) &lt;SPAN&gt;'without extension&lt;/SPAN&gt;

&lt;SPAN&gt;'create the folder if it doesn't exist&lt;/SPAN&gt;
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;Not&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Directory&lt;/SPAN&gt;.&lt;SPAN&gt;Exists&lt;/SPAN&gt;(&lt;SPAN&gt;oFolder&lt;/SPAN&gt;) &lt;SPAN&gt;Then&lt;/SPAN&gt; 
    &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Directory&lt;/SPAN&gt;.&lt;SPAN&gt;CreateDirectory&lt;/SPAN&gt;(&lt;SPAN&gt;oFolder&lt;/SPAN&gt;)
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;


&lt;SPAN&gt;'save as a pdf&lt;/SPAN&gt;
&lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN&gt;oFolder&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;oFileName&lt;/SPAN&gt; &amp;amp; - 1 &amp;amp; &lt;SPAN&gt;".pdf"&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)

&lt;SPAN&gt;oPath&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt;
&lt;SPAN&gt;'get STEP target folder path&lt;/SPAN&gt;
&lt;SPAN&gt;oFolder&lt;/SPAN&gt; = &lt;SPAN&gt;oPath&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\"&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;oAsmName&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;" PDF"&lt;/SPAN&gt;
&lt;SPAN&gt;'Check for the step folder and create it if it does not exist&lt;/SPAN&gt;
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;Not&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Directory&lt;/SPAN&gt;.&lt;SPAN&gt;Exists&lt;/SPAN&gt;(&lt;SPAN&gt;oFolder&lt;/SPAN&gt;) &lt;SPAN&gt;Then&lt;/SPAN&gt;
&lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;Directory&lt;/SPAN&gt;.&lt;SPAN&gt;CreateDirectory&lt;/SPAN&gt;(&lt;SPAN&gt;oFolder&lt;/SPAN&gt;)
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;SaveAs&lt;/SPAN&gt;(&lt;SPAN&gt;oFolder&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\"&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;oFileName&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;" - 1"&lt;/SPAN&gt; &amp;amp;(&lt;SPAN&gt;".pdf"&lt;/SPAN&gt;), &lt;SPAN&gt;True&lt;/SPAN&gt;)

&lt;SPAN&gt;'open the folder where the new files are saved&lt;/SPAN&gt;
&lt;SPAN&gt;Shell&lt;/SPAN&gt;(&lt;SPAN&gt;"explorer.exe "&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;oFolder&lt;/SPAN&gt;,&lt;SPAN&gt;vbNormalFocus&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 08:22:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12794870#M167764</guid>
      <dc:creator>berry.lejeune</dc:creator>
      <dc:date>2024-05-24T08:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, Publish PDF error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12795052#M167766</link>
      <description>&lt;P&gt;Thank you for the help. I've modified the code and will trial it for a few weeks to see if i have any documents being mixed up.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 09:46:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12795052#M167766</guid>
      <dc:creator>PumaBH</dc:creator>
      <dc:date>2024-05-24T09:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, Publish PDF error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12795054#M167767</link>
      <description>&lt;P&gt;Thanks for the code! i will more than likely end up using this as we have a central area for certified drawings on our network. would be useful to have my drawing saved there automatically.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 09:47:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12795054#M167767</guid>
      <dc:creator>PumaBH</dc:creator>
      <dc:date>2024-05-24T09:47:35Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, Publish PDF error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12795071#M167768</link>
      <description>&lt;P&gt;In the code there are some lines with the word "step" but this doesn't change anything about the use of the code.&lt;/P&gt;&lt;P&gt;I copied this code from the one that also makes steps in a&amp;nbsp; similar way as the pdf's&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 09:55:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12795071#M167768</guid>
      <dc:creator>berry.lejeune</dc:creator>
      <dc:date>2024-05-24T09:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, Publish PDF error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12795390#M167775</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/10724257"&gt;@berry.lejeune&lt;/a&gt;.&amp;nbsp; I see something in your code example above that looks like it might need to be changed, or maybe needs an additional line of code somewhere to support.&amp;nbsp; The following line of code:&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;oFolder = oPath &amp;amp; "\" &amp;amp; oAsmName &amp;amp; " PDF"&lt;/LI-CODE&gt;
&lt;P&gt;...contains the variable 'oAsmName', but that variable has not been declared or any value set to it anywhere else in that code.&amp;nbsp; Should that maybe be replaced with the 'oFileName' variable, or should there be another line of code somewhere that sets its value a certain way?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, your code example does not allow for any 'options' to be specified about the PDF export process, so the export will most likely just attempt to use options that you used the last time you manually exported a PDF.&amp;nbsp; Sometimes those options are not super important, but if they are important, or you want more consistent results, you could include a little more code in your rule to use the TranslatorAddIn resource, and its SaveCopyAs method for the exports, to enable being able to specify the options within the rule, similar to&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13699729"&gt;@PumaBH&lt;/a&gt;&amp;nbsp;'s original example if you wanted.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2024 12:35:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12795390#M167775</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2024-05-24T12:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic, Publish PDF error.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12799652#M167847</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code I use is something what I threw together from some existing codes which I found online and here in the forum. I'm&amp;nbsp;pretty much&amp;nbsp;&lt;SPAN&gt;illiterate when it comes to coding &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@B4D44A73814D7FC0D950DEDFACB97081/emoticons/1f642.png" alt=":slightly_smiling_face:" title=":slightly_smiling_face:" /&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The "options" also do not need to change for what I'm using the code, but thanks for the suggestion&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 09:42:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-publish-pdf-error/m-p/12799652#M167847</guid>
      <dc:creator>berry.lejeune</dc:creator>
      <dc:date>2024-05-27T09:42:06Z</dc:date>
    </item>
  </channel>
</rss>

