<?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: ControlDefinition VaultCheckin does not work in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/controldefinition-vaultcheckin-does-not-work/m-p/10611088#M45919</link>
    <description>&lt;P&gt;Perhaps this might work if the part file is in edit mode and is the active document.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You could also open the part in it’s own document this way the file is the active document and not the assembly and then use&amp;nbsp;&lt;SPAN&gt;VaultCheckinTop.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Sep 2021 14:21:53 GMT</pubDate>
    <dc:creator>A.Acheson</dc:creator>
    <dc:date>2021-09-09T14:21:53Z</dc:date>
    <item>
      <title>ControlDefinition VaultCheckin does not work</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/controldefinition-vaultcheckin-does-not-work/m-p/10610401#M45918</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I programmed a little tool in VB.net which does stuff like update iProperties.&lt;/P&gt;&lt;P&gt;To help the engineers in the workflow I want to automatically check-in new files into Vault (so that they don´t need to go over the built-in tools).&lt;/P&gt;&lt;P&gt;Is used the ControlDefinition VaultCheckinTop which works flawless, but the problem is when creating a element inside an assembly and only want to check-in that element, the mentioned control does not work (because it would check-in the main assembly).&lt;/P&gt;&lt;P&gt;But the ControlDefinition VaultCheckin does seems to not work at all (no matter if I use the method Execute() or Execute2(true).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My code (excerpt) is as follow:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim oDoc As Document
invApp As Inventor.Application
oDoc = invApp.ActiveEditDocument

Dim oControl As ControlDefinition
oControl = invApp.CommandManager.ControlDefinitions.Item("VaultCheckin")
oControl.Execute()&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 09 Sep 2021 10:06:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/controldefinition-vaultcheckin-does-not-work/m-p/10610401#M45918</guid>
      <dc:creator>bernd.schreck</dc:creator>
      <dc:date>2021-09-09T10:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: ControlDefinition VaultCheckin does not work</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/controldefinition-vaultcheckin-does-not-work/m-p/10611088#M45919</link>
      <description>&lt;P&gt;Perhaps this might work if the part file is in edit mode and is the active document.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You could also open the part in it’s own document this way the file is the active document and not the assembly and then use&amp;nbsp;&lt;SPAN&gt;VaultCheckinTop.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Sep 2021 14:21:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/controldefinition-vaultcheckin-does-not-work/m-p/10611088#M45919</guid>
      <dc:creator>A.Acheson</dc:creator>
      <dc:date>2021-09-09T14:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: ControlDefinition VaultCheckin does not work</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/controldefinition-vaultcheckin-does-not-work/m-p/10618251#M45920</link>
      <description>Sadly it does not work when the file is in edit mode. Even if I active it by code (.Activate()) it does not work.&lt;BR /&gt;That I can use VaultCheckinTop when only the file is open I know. It was the exact point that it should work inside an assembly.&lt;BR /&gt;Maybe someone else have any experience with this issue?&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Sep 2021 10:34:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/controldefinition-vaultcheckin-does-not-work/m-p/10618251#M45920</guid>
      <dc:creator>bernd.schreck</dc:creator>
      <dc:date>2021-09-13T10:34:23Z</dc:date>
    </item>
  </channel>
</rss>

