<?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 - add PDF to Vault in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-add-pdf-to-vault/m-p/12269733#M158413</link>
    <description>Ooohhh... I didn't know about that!</description>
    <pubDate>Wed, 27 Sep 2023 10:55:45 GMT</pubDate>
    <dc:creator>gerrardhickson</dc:creator>
    <dc:date>2023-09-27T10:55:45Z</dc:date>
    <item>
      <title>iLogic - add PDF to Vault</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-add-pdf-to-vault/m-p/12265053#M158279</link>
      <description>&lt;P&gt;I am trying to automate our document control system so that once a drawing has been either completed, checked or approved, the drawing is checked into the vault, a pdf is created, and the pdf is also checked into the vault, amongst other things.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently it will check the file into the vault with the lines:&lt;/P&gt;&lt;PRE&gt;						&lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN&gt;ControlDefinitions&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"VaultCheckinTop"&lt;/SPAN&gt;).&lt;SPAN&gt;Execute2&lt;/SPAN&gt;(&lt;SPAN&gt;False&lt;/SPAN&gt;)
						&lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;Windows&lt;/SPAN&gt;.&lt;SPAN&gt;Forms&lt;/SPAN&gt;.&lt;SPAN&gt;SendKeys&lt;/SPAN&gt;.&lt;SPAN&gt;SendWait&lt;/SPAN&gt;(&lt;SPAN&gt;CommentBox&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;Chr&lt;/SPAN&gt;(9) &amp;amp; &lt;SPAN&gt;vbCrLf&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm also successfully creating the PDF&amp;nbsp; and saving it on my local drive with the lines:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;NewFileNameAndExtension&lt;/SPAN&gt;=&lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PathAndFileName&lt;/SPAN&gt;(&lt;SPAN&gt;False&lt;/SPAN&gt;)&amp;amp; &lt;SPAN&gt;"_REV_"&lt;/SPAN&gt; &amp;amp; &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;)&amp;amp;&lt;SPAN&gt;".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;NewFileNameAndExtension&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;I want to then be able to check the PDF file into the vault in the same manner as I have done the drawing itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new to inventor/ilogic/vault so I'm not sure how to do this, I have managed to get everything else so far from these forums but couldn't find anything on this. Any help would be greatly appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Running Inventor Professional 2023 and vault Basic 2023&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Alasdair&lt;/P&gt;</description>
      <pubDate>Mon, 25 Sep 2023 16:30:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-add-pdf-to-vault/m-p/12265053#M158279</guid>
      <dc:creator>alasdair_crawford</dc:creator>
      <dc:date>2023-09-25T16:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - add PDF to Vault</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-add-pdf-to-vault/m-p/12268058#M158348</link>
      <description>&lt;P&gt;Although it is possible to check in files using ilogic it's tough and I don't expect that there are many examples out there. You would need to talk to the vault API therefore you might have more luck on the vault forums.&lt;/P&gt;
&lt;P&gt;Or start using Inventor 2024. In Inventor 2024 you can use iLogic to use the vault easily. Have a look at this:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=6-GNaoGu40w" target="_blank"&gt;https://www.youtube.com/watch?v=6-GNaoGu40w&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Tue, 26 Sep 2023 18:47:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-add-pdf-to-vault/m-p/12268058#M158348</guid>
      <dc:creator>JelteDeJong</dc:creator>
      <dc:date>2023-09-26T18:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - add PDF to Vault</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-add-pdf-to-vault/m-p/12269733#M158413</link>
      <description>Ooohhh... I didn't know about that!</description>
      <pubDate>Wed, 27 Sep 2023 10:55:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-add-pdf-to-vault/m-p/12269733#M158413</guid>
      <dc:creator>gerrardhickson</dc:creator>
      <dc:date>2023-09-27T10:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic - add PDF to Vault</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-add-pdf-to-vault/m-p/12269851#M158417</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5011186"&gt;@JelteDeJong&lt;/a&gt;, that does look a lot easier. Sadly going by the comments looks like that'll only be available for Vault Pro, whereas we'd ideally like it to work in Vault basic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The code I have already will check the drawing in quite easily with just a couple of lines, so I feel like there should be a way to make similar code work for PDFs. Trouble is the code I have will check in the open document, and inventor can't open PDFs, so if I could make it check in a document from a file reference rather than whatever is open at the time then that should hopefully work... maybe...?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Sep 2023 11:45:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/ilogic-add-pdf-to-vault/m-p/12269851#M158417</guid>
      <dc:creator>alasdair_crawford</dc:creator>
      <dc:date>2023-09-27T11:45:31Z</dc:date>
    </item>
  </channel>
</rss>

