<?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: Check File out from Vault Browser from Inventor using iLogic in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886498#M169302</link>
    <description>&lt;P&gt;You can using this code. You should insert the parameters you want to search.&lt;BR /&gt;&lt;SPAN&gt;mSearchParams&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"Name"&lt;/SPAN&gt;, &lt;SPAN&gt;"YourNameWithExtension"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'Build one to many name/value pairs of Property/Value as search criteria&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;mSearchParams&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;Collections&lt;/SPAN&gt;.&lt;SPAN&gt;Generic&lt;/SPAN&gt;.&lt;SPAN&gt;Dictionary&lt;/SPAN&gt;(&lt;SPAN&gt;Of&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;, &lt;SPAN&gt;String&lt;/SPAN&gt;) &lt;SPAN&gt;'add UDP.DisplayName, Value Pairs&lt;/SPAN&gt;
	&lt;SPAN&gt;mSearchParams&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"Name"&lt;/SPAN&gt;, &lt;SPAN&gt;"YourNameWithExtension"&lt;/SPAN&gt;)

	&lt;SPAN&gt;'returns full file name in local working folder (download enforces override, if local file exists)&lt;/SPAN&gt;
	&lt;SPAN&gt;mVaultFile&lt;/SPAN&gt; = &lt;SPAN&gt;iLogicVault&lt;/SPAN&gt;.&lt;SPAN&gt;GetFileBySearchCriteria&lt;/SPAN&gt;(&lt;SPAN&gt;mSearchParams&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;) &lt;SPAN&gt;', True: combine search criteria by AND; , , True: check-out&lt;/SPAN&gt;

	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;mVaultFile&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;Nothing&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
		&lt;SPAN&gt;Logger&lt;/SPAN&gt;.&lt;SPAN&gt;Error&lt;/SPAN&gt;(&lt;SPAN&gt;"Vault file search: File not found - Please double check that file can be found with search criteria applied."&lt;/SPAN&gt;)
	&lt;SPAN&gt;Else&lt;/SPAN&gt;
		&lt;SPAN&gt;Logger&lt;/SPAN&gt;.&lt;SPAN&gt;Info&lt;/SPAN&gt;(&lt;SPAN&gt;"File "&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;mVaultFile&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;" found by search and downloaded to local workspace."&lt;/SPAN&gt;)
		&lt;SPAN&gt;'add next action using the downloaded file here, e.g. Component.Replace("Part1:1", mVaultFile, True)&lt;/SPAN&gt;
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jul 2024 12:36:48 GMT</pubDate>
    <dc:creator>m_baczewski</dc:creator>
    <dc:date>2024-07-09T12:36:48Z</dc:date>
    <item>
      <title>Check File out from Vault Browser from Inventor using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886237#M169289</link>
      <description>&lt;P&gt;Does anyone know how to check out a file from the vault browser in Inventor using iLogic?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can check-in, and check on the top level assembly with iLogic, but I cannot figure out how to check a part out from the vault tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We cannot use the Model Browser tab, as it is a referenced Solid Edge file and there are no options for vault when you RMB on the part in the Model Tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The image shows the Vault tab in the browser, and that we would like to check out the Solid Edge File (245731-customer.asm) and then check it back in.&amp;nbsp; I have also added an image showing the RMB options from the Model Tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be great.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 10:29:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886237#M169289</guid>
      <dc:creator>ccoomes</dc:creator>
      <dc:date>2024-07-09T10:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: Check File out from Vault Browser from Inventor using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886443#M169299</link>
      <description>&lt;P&gt;Hi, is it possible to make use off the standard snippits Inventor 2024&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nstevelmans_0-1720527312504.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1384658i1C34918453851470/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nstevelmans_0-1720527312504.png" alt="nstevelmans_0-1720527312504.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 12:17:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886443#M169299</guid>
      <dc:creator>nstevelmans</dc:creator>
      <dc:date>2024-07-09T12:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Check File out from Vault Browser from Inventor using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886469#M169301</link>
      <description>&lt;P&gt;Unfortunately the snippets only refer to the active document.&amp;nbsp; unless of course I have missed something obvious&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cant make the Solid Edge file the active document.&amp;nbsp; However when you RMB over the file in the Vault Browser it allows you to Check on.&amp;nbsp; This action of RMB and check out is what I am trying to replicate.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 12:29:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886469#M169301</guid>
      <dc:creator>ccoomes</dc:creator>
      <dc:date>2024-07-09T12:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Check File out from Vault Browser from Inventor using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886498#M169302</link>
      <description>&lt;P&gt;You can using this code. You should insert the parameters you want to search.&lt;BR /&gt;&lt;SPAN&gt;mSearchParams&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"Name"&lt;/SPAN&gt;, &lt;SPAN&gt;"YourNameWithExtension"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'Build one to many name/value pairs of Property/Value as search criteria&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;mSearchParams&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;Collections&lt;/SPAN&gt;.&lt;SPAN&gt;Generic&lt;/SPAN&gt;.&lt;SPAN&gt;Dictionary&lt;/SPAN&gt;(&lt;SPAN&gt;Of&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;, &lt;SPAN&gt;String&lt;/SPAN&gt;) &lt;SPAN&gt;'add UDP.DisplayName, Value Pairs&lt;/SPAN&gt;
	&lt;SPAN&gt;mSearchParams&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"Name"&lt;/SPAN&gt;, &lt;SPAN&gt;"YourNameWithExtension"&lt;/SPAN&gt;)

	&lt;SPAN&gt;'returns full file name in local working folder (download enforces override, if local file exists)&lt;/SPAN&gt;
	&lt;SPAN&gt;mVaultFile&lt;/SPAN&gt; = &lt;SPAN&gt;iLogicVault&lt;/SPAN&gt;.&lt;SPAN&gt;GetFileBySearchCriteria&lt;/SPAN&gt;(&lt;SPAN&gt;mSearchParams&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;) &lt;SPAN&gt;', True: combine search criteria by AND; , , True: check-out&lt;/SPAN&gt;

	&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;mVaultFile&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;Nothing&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
		&lt;SPAN&gt;Logger&lt;/SPAN&gt;.&lt;SPAN&gt;Error&lt;/SPAN&gt;(&lt;SPAN&gt;"Vault file search: File not found - Please double check that file can be found with search criteria applied."&lt;/SPAN&gt;)
	&lt;SPAN&gt;Else&lt;/SPAN&gt;
		&lt;SPAN&gt;Logger&lt;/SPAN&gt;.&lt;SPAN&gt;Info&lt;/SPAN&gt;(&lt;SPAN&gt;"File "&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;mVaultFile&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;" found by search and downloaded to local workspace."&lt;/SPAN&gt;)
		&lt;SPAN&gt;'add next action using the downloaded file here, e.g. Component.Replace("Part1:1", mVaultFile, True)&lt;/SPAN&gt;
	&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 12:36:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886498#M169302</guid>
      <dc:creator>m_baczewski</dc:creator>
      <dc:date>2024-07-09T12:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Check File out from Vault Browser from Inventor using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886728#M169309</link>
      <description>&lt;P&gt;Hi this is working for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'Build one to many name/value pairs of Property/Value as search criteria&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;mSearchParams&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;New&lt;/SPAN&gt; &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;Collections&lt;/SPAN&gt;.&lt;SPAN&gt;Generic&lt;/SPAN&gt;.&lt;SPAN&gt;Dictionary&lt;/SPAN&gt;(&lt;SPAN&gt;Of&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt;, &lt;SPAN&gt;String&lt;/SPAN&gt;) &lt;SPAN&gt;'add UDP.DisplayName, Value Pairs&lt;/SPAN&gt;
&lt;SPAN&gt;mSearchParams&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"Description"&lt;/SPAN&gt;, &lt;SPAN&gt;"Teststep"&lt;/SPAN&gt;)	&lt;SPAN&gt;'applies to file 001002.ipt&lt;/SPAN&gt;

&lt;SPAN&gt;'...add as many as required to enable a unique search result&lt;/SPAN&gt;

&lt;SPAN&gt;'returns full file name in local working folder (download enforces override, if local file exists)&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;mVaultFile&lt;/SPAN&gt; = &lt;SPAN&gt;iLogicVault&lt;/SPAN&gt;.&lt;SPAN&gt;GetFileBySearchCriteria&lt;/SPAN&gt;(&lt;SPAN&gt;mSearchParams&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;, &lt;SPAN&gt;True&lt;/SPAN&gt;)

&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;mVaultFile&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;Nothing&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
	&lt;SPAN&gt;Logger&lt;/SPAN&gt;.&lt;SPAN&gt;Error&lt;/SPAN&gt;(&lt;SPAN&gt;"Vault file search: File not found - Please double check that file can be found with search criteria applied."&lt;/SPAN&gt;)
&lt;SPAN&gt;Else&lt;/SPAN&gt;
	&lt;SPAN&gt;Logger&lt;/SPAN&gt;.&lt;SPAN&gt;Info&lt;/SPAN&gt;(&lt;SPAN&gt;"File "&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;mVaultFile&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;" found by search and downloaded to local workspace."&lt;/SPAN&gt;)
	&lt;SPAN&gt;'add next action using the downloaded file here, e.g. Component.Replace("Part1:1", mVaultFile, True)&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 14:03:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886728#M169309</guid>
      <dc:creator>nstevelmans</dc:creator>
      <dc:date>2024-07-09T14:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Check File out from Vault Browser from Inventor using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886989#M169313</link>
      <description>&lt;P&gt;Thanks to all.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I managed to get to a solution.&amp;nbsp; It was all my fault.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hadn't been refreshing the vault status in the Vault Tab.&amp;nbsp; If I had done this it would have shown me that the parts very being checked out as required, and if I had read the snippets correctly I would have realised you can check them out when you check the file status...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All sorted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now to find a solution to paste text into the Check In dialog box, and click ok automatically....&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jul 2024 15:33:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/check-file-out-from-vault-browser-from-inventor-using-ilogic/m-p/12886989#M169313</guid>
      <dc:creator>ccoomes</dc:creator>
      <dc:date>2024-07-09T15:33:16Z</dc:date>
    </item>
  </channel>
</rss>

