<?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: Vault process automation synchronize properties/change lifecycle- C# in Vault Customization Forum</title>
    <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12758278#M893</link>
    <description>&lt;P&gt;I think you should implement steps 1 and 2 listed above, integrated with your model/drawing creation in Inventor. You need to call the Inventor user command "VaultCheckInTop" to add the newly created files, including the CAD BOM, to Vault. A property synchronization should be unnecessary if you pre-populate all properties during the model/drawing creation. The post-event of the AddFiles action (the initial check-in will fire the AddFile rather than the Check-in) can be your starting point for the subsequent steps. This event can also be the starting point for consuming Vault API. To get started, I recommend reading the latest Blog post series Vault SDK Getting Started:&amp;nbsp;&lt;A href="https://blogs.autodesk.com/vault/tag/vault-customization/" target="_blank"&gt;Vault Customization Archives - Under the Hood - All things PDM and PLM (autodesk.com)&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 May 2024 15:38:42 GMT</pubDate>
    <dc:creator>Markus.Koechl</dc:creator>
    <dc:date>2024-05-07T15:38:42Z</dc:date>
    <item>
      <title>Vault process automation synchronize properties/change lifecycle- C#</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12757764#M892</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm developing a configurator integrated with the ERP system, which generates a model based on user-entered data, creates drawings, and then inputs all the elements into Vault.&lt;/P&gt;&lt;P&gt;I'm familiar with the Inventor API in general, but now I need to work with Vault, and unfortunately, I'm not familiar with its API. That's why I'm asking: Is it possible to perform these steps in Vault through the API:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Synchronize assembly properties along with dependent elements.&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m_baczewski_0-1715083698111.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1359184iDD9D2ED43712590B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="m_baczewski_0-1715083698111.png" alt="m_baczewski_0-1715083698111.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Wait until the synchronization is completed.&lt;/LI&gt;&lt;LI&gt;Change the Lifecycle to "Documentation Ready."&lt;/LI&gt;&lt;LI&gt;Wait again until everything is done.&lt;/LI&gt;&lt;LI&gt;Assign the item.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m_baczewski_2-1715083838533.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1359186i954B00C842676133/image-size/medium?v=v2&amp;amp;px=400" role="button" title="m_baczewski_2-1715083838533.png" alt="m_baczewski_2-1715083838533.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;6.Change the Number in the Item.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m_baczewski_3-1715083995432.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1359187i0698653ACE2273FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="m_baczewski_3-1715083995432.png" alt="m_baczewski_3-1715083995432.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;7.Save the element.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m_baczewski_4-1715084029517.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1359188i7C0ECF092A107D40/image-size/medium?v=v2&amp;amp;px=400" role="button" title="m_baczewski_4-1715084029517.png" alt="m_baczewski_4-1715084029517.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8.Finally, go to the components list (BOM) in Item and change lifecycle to "For review."&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m_baczewski_5-1715084410743.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1359195iC3B94A955C745D24/image-size/medium?v=v2&amp;amp;px=400" role="button" title="m_baczewski_5-1715084410743.png" alt="m_baczewski_5-1715084410743.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would appreciate any help or tips. Where can I find materials on this?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 12:21:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12757764#M892</guid>
      <dc:creator>m_baczewski</dc:creator>
      <dc:date>2024-05-07T12:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Vault process automation synchronize properties/change lifecycle- C#</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12758278#M893</link>
      <description>&lt;P&gt;I think you should implement steps 1 and 2 listed above, integrated with your model/drawing creation in Inventor. You need to call the Inventor user command "VaultCheckInTop" to add the newly created files, including the CAD BOM, to Vault. A property synchronization should be unnecessary if you pre-populate all properties during the model/drawing creation. The post-event of the AddFiles action (the initial check-in will fire the AddFile rather than the Check-in) can be your starting point for the subsequent steps. This event can also be the starting point for consuming Vault API. To get started, I recommend reading the latest Blog post series Vault SDK Getting Started:&amp;nbsp;&lt;A href="https://blogs.autodesk.com/vault/tag/vault-customization/" target="_blank"&gt;Vault Customization Archives - Under the Hood - All things PDM and PLM (autodesk.com)&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 May 2024 15:38:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12758278#M893</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2024-05-07T15:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: Vault process automation synchronize properties/change lifecycle- C#</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12759561#M894</link>
      <description>&lt;P&gt;Thanks for the response. I use the "VaultCheckInTop" method during model and drawing generation, but unfortunately, even after this operation, I have inconsistent properties, and only synchronization helps.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m_baczewski_0-1715147088275.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1359547i9AAC1CAC4A8DFC08/image-size/medium?v=v2&amp;amp;px=400" role="button" title="m_baczewski_0-1715147088275.png" alt="m_baczewski_0-1715147088275.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to perform synchronization in such a way that it doesn't involve the Job Processor?&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 05:42:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12759561#M894</guid>
      <dc:creator>m_baczewski</dc:creator>
      <dc:date>2024-05-08T05:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Vault process automation synchronize properties/change lifecycle- C#</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12759772#M895</link>
      <description>&lt;P&gt;What properties are not compliant? Are these missing values, or are Vault systems properties to be written back into the file? You can implement an update properties function, but I recommend avoiding additional synchronization: Knowing the properties that will be missed for new files, your automation should be enabled to read these before check-in and write them into the iProperties. Then, a check-in is sufficient. To read properties, you can re-use the existing Vault connection. You can review a fully &lt;A href="https://github.com/koechlm/iLogic-Vault/blob/2023.3/iLogic-Vault-QuickstartLibrary/iLogic-Vault%20QuickstartLibrary.cs" target="_blank" rel="noopener"&gt;coded sample&lt;/A&gt;, as we had an open-source tech preview for the iLogic-Vault integration before Inventor 2024 implemented this as a default. If your automation leverages iLogic anyway, you have all you need there.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 07:58:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12759772#M895</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2024-05-08T07:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: Vault process automation synchronize properties/change lifecycle- C#</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12759802#M896</link>
      <description>&lt;P&gt;&lt;SPAN&gt;In my case, the inconsistent property is the first creation date, which does not match the creation date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m_baczewski_0-1715156666246.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1359592iB5EE6F19BE6E2B5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="m_baczewski_0-1715156666246.png" alt="m_baczewski_0-1715156666246.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="m_baczewski_1-1715156795374.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1359594iDFEEF1EEDB887C42/image-size/medium?v=v2&amp;amp;px=400" role="button" title="m_baczewski_1-1715156795374.png" alt="m_baczewski_1-1715156795374.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 08:24:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12759802#M896</guid>
      <dc:creator>m_baczewski</dc:creator>
      <dc:date>2024-05-08T08:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Vault process automation synchronize properties/change lifecycle- C#</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12759921#M897</link>
      <description>&lt;P&gt;I guess (due to localization ;)), you are writing back the "Original Create Date" (Vault System Property) that differs from the file's creation date. A post-event handler for AddFile could do the action instead of a job to get this synchronized automatically.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 09:21:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12759921#M897</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2024-05-08T09:21:28Z</dc:date>
    </item>
    <item>
      <title>Re: Vault process automation synchronize properties/change lifecycle- C#</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12760023#M898</link>
      <description>&lt;P&gt;Okay, I understand. Isn't it the case that by using AddFile, files being placed in Vault lose their connection to the parent?&lt;/P&gt;&lt;P&gt;Initially, I used this solution and for now, it's working fine: &lt;A href="https://forums.autodesk.com/t5/vault-customization/syncing-vault-properties/m-p/9762768#M8857" target="_new" rel="noreferrer"&gt;https://forums.autodesk.com/t5/vault-customization/syncing-vault-properties/m-p/9762768#M8857&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 10:03:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12760023#M898</guid>
      <dc:creator>m_baczewski</dc:creator>
      <dc:date>2024-05-08T10:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: Vault process automation synchronize properties/change lifecycle- C#</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12760044#M899</link>
      <description>&lt;P&gt;I did not say you should use the AddFile method rather than leveraging the AddFile post-event. The files added via the Inventor command manager "VaultCheckInTop" will capture all references properly and fire this event.&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 10:19:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12760044#M899</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2024-05-08T10:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Vault process automation synchronize properties/change lifecycle- C#</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12760074#M900</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I understand now, but I'm not sure why in my case the Inventor command manager "VaultCheckInTop" doesn't cause the properties to be updated during CheckIn. Property inconsistency only occurs in drawings. I'm using Inventor Professional 2022.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It looks like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Public&lt;/SPAN&gt; &lt;SPAN&gt;Static&lt;/SPAN&gt; &lt;SPAN&gt;void&lt;/SPAN&gt; &lt;SPAN&gt;VaultCheckIn&lt;/SPAN&gt;(&lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;Application&lt;/SPAN&gt; &lt;SPAN&gt;invApp&lt;/SPAN&gt;, &lt;SPAN&gt;int&lt;/SPAN&gt; &lt;SPAN&gt;sleepTime&lt;/SPAN&gt;)
{
    &lt;SPAN&gt;Process&lt;/SPAN&gt;[] &lt;SPAN&gt;inventorProcess&lt;/SPAN&gt; = &lt;SPAN&gt;Process&lt;/SPAN&gt;.&lt;SPAN&gt;GetProcessesByName&lt;/SPAN&gt;(&lt;SPAN&gt;"Inventor"&lt;/SPAN&gt;); // &lt;SPAN&gt;ustawia&lt;/SPAN&gt; &lt;SPAN&gt;okno&lt;/SPAN&gt; &lt;SPAN&gt;inventora&lt;/SPAN&gt; &lt;SPAN&gt;na&lt;/SPAN&gt; &lt;SPAN&gt;aktywne&lt;/SPAN&gt;, &lt;SPAN&gt;w&lt;/SPAN&gt; &lt;SPAN&gt;innym&lt;/SPAN&gt; &lt;SPAN&gt;wypadku&lt;/SPAN&gt; &lt;SPAN&gt;nie&lt;/SPAN&gt; &lt;SPAN&gt;wpisze&lt;/SPAN&gt; &lt;SPAN&gt;Do&lt;/SPAN&gt; &lt;SPAN&gt;vaulta&lt;/SPAN&gt; &lt;SPAN&gt;pozniej&lt;/SPAN&gt; &lt;SPAN&gt;usunę&lt;/SPAN&gt; //&lt;SPAN&gt;temporary&lt;/SPAN&gt;
    &lt;SPAN&gt;SetForegroundWindow&lt;/SPAN&gt;(&lt;SPAN&gt;inventorProcess&lt;/SPAN&gt;[0].&lt;SPAN&gt;MainWindowHandle&lt;/SPAN&gt;);

    &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;ControlDefinition&lt;/SPAN&gt; &lt;SPAN&gt;oControlDef&lt;/SPAN&gt;;
    &lt;SPAN&gt;oControlDef&lt;/SPAN&gt; = &lt;SPAN&gt;invApp&lt;/SPAN&gt;.&lt;SPAN&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN&gt;ControlDefinitions&lt;/SPAN&gt;[&lt;SPAN&gt;"VaultCheckinTop"&lt;/SPAN&gt;];
    &lt;SPAN&gt;oControlDef&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;"\t\n"&lt;/SPAN&gt;); // &lt;SPAN&gt;nie&lt;/SPAN&gt; &lt;SPAN&gt;bedzie&lt;/SPAN&gt; &lt;SPAN&gt;potrzebne&lt;/SPAN&gt; &lt;SPAN&gt;jezeli&lt;/SPAN&gt; &lt;SPAN&gt;w&lt;/SPAN&gt; &lt;SPAN&gt;ustawieniach&lt;/SPAN&gt; &lt;SPAN&gt;inventora&lt;/SPAN&gt; &lt;SPAN&gt;wylaczymy&lt;/SPAN&gt; &lt;SPAN&gt;wyskakujace&lt;/SPAN&gt; &lt;SPAN&gt;okno&lt;/SPAN&gt; &lt;SPAN&gt;od&lt;/SPAN&gt; &lt;SPAN&gt;Vaulta&lt;/SPAN&gt; //&lt;SPAN&gt;temporary&lt;/SPAN&gt;
    &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;Threading&lt;/SPAN&gt;.&lt;SPAN&gt;Thread&lt;/SPAN&gt;.&lt;SPAN&gt;Sleep&lt;/SPAN&gt;(&lt;SPAN&gt;sleepTime&lt;/SPAN&gt;);
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 10:40:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12760074#M900</guid>
      <dc:creator>m_baczewski</dc:creator>
      <dc:date>2024-05-08T10:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Vault process automation synchronize properties/change lifecycle- C#</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12760155#M901</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I found another way to synchronize properties, it looks quite comical.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; &lt;SPAN&gt;Public&lt;/SPAN&gt; &lt;SPAN&gt;Static&lt;/SPAN&gt; &lt;SPAN&gt;void&lt;/SPAN&gt; &lt;SPAN&gt;VaultCheckIn&lt;/SPAN&gt;(&lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;Application&lt;/SPAN&gt; &lt;SPAN&gt;invApp&lt;/SPAN&gt;, &lt;SPAN&gt;int&lt;/SPAN&gt; &lt;SPAN&gt;sleepTime&lt;/SPAN&gt;)
{
    &lt;SPAN&gt;Process&lt;/SPAN&gt;[] &lt;SPAN&gt;inventorProcess&lt;/SPAN&gt; = &lt;SPAN&gt;Process&lt;/SPAN&gt;.&lt;SPAN&gt;GetProcessesByName&lt;/SPAN&gt;(&lt;SPAN&gt;"Inventor"&lt;/SPAN&gt;); // &lt;SPAN&gt;ustawia&lt;/SPAN&gt; &lt;SPAN&gt;okno&lt;/SPAN&gt; &lt;SPAN&gt;inventora&lt;/SPAN&gt; &lt;SPAN&gt;na&lt;/SPAN&gt; &lt;SPAN&gt;aktywne&lt;/SPAN&gt;, &lt;SPAN&gt;w&lt;/SPAN&gt; &lt;SPAN&gt;innym&lt;/SPAN&gt; &lt;SPAN&gt;wypadku&lt;/SPAN&gt; &lt;SPAN&gt;nie&lt;/SPAN&gt; &lt;SPAN&gt;wpisze&lt;/SPAN&gt; &lt;SPAN&gt;Do&lt;/SPAN&gt; &lt;SPAN&gt;vaulta&lt;/SPAN&gt; &lt;SPAN&gt;pozniej&lt;/SPAN&gt; &lt;SPAN&gt;usunę&lt;/SPAN&gt; //&lt;SPAN&gt;temporary&lt;/SPAN&gt;
    &lt;SPAN&gt;SetForegroundWindow&lt;/SPAN&gt;(&lt;SPAN&gt;inventorProcess&lt;/SPAN&gt;[0].&lt;SPAN&gt;MainWindowHandle&lt;/SPAN&gt;);

    &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;ControlDefinition&lt;/SPAN&gt; &lt;SPAN&gt;oControlDef&lt;/SPAN&gt;;
    &lt;SPAN&gt;oControlDef&lt;/SPAN&gt; = &lt;SPAN&gt;invApp&lt;/SPAN&gt;.&lt;SPAN&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN&gt;ControlDefinitions&lt;/SPAN&gt;[&lt;SPAN&gt;"VaultCheckinTop"&lt;/SPAN&gt;];
    &lt;SPAN&gt;oControlDef&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;"\t\n"&lt;/SPAN&gt;); // &lt;SPAN&gt;nie&lt;/SPAN&gt; &lt;SPAN&gt;bedzie&lt;/SPAN&gt; &lt;SPAN&gt;potrzebne&lt;/SPAN&gt; &lt;SPAN&gt;jezeli&lt;/SPAN&gt; &lt;SPAN&gt;w&lt;/SPAN&gt; &lt;SPAN&gt;ustawieniach&lt;/SPAN&gt; &lt;SPAN&gt;inventora&lt;/SPAN&gt; &lt;SPAN&gt;wylaczymy&lt;/SPAN&gt; &lt;SPAN&gt;wyskakujace&lt;/SPAN&gt; &lt;SPAN&gt;okno&lt;/SPAN&gt; &lt;SPAN&gt;od&lt;/SPAN&gt; &lt;SPAN&gt;Vaulta&lt;/SPAN&gt; //&lt;SPAN&gt;temporary&lt;/SPAN&gt;

    &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;Threading&lt;/SPAN&gt;.&lt;SPAN&gt;Thread&lt;/SPAN&gt;.&lt;SPAN&gt;Sleep&lt;/SPAN&gt;(&lt;SPAN&gt;sleepTime&lt;/SPAN&gt;);

    &lt;SPAN&gt;oControlDef&lt;/SPAN&gt; = &lt;SPAN&gt;invApp&lt;/SPAN&gt;.&lt;SPAN&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN&gt;ControlDefinitions&lt;/SPAN&gt;[&lt;SPAN&gt;"VaultPropertyWriteBack"&lt;/SPAN&gt;];
    &lt;SPAN&gt;oControlDef&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;"\n"&lt;/SPAN&gt;);
    &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;Threading&lt;/SPAN&gt;.&lt;SPAN&gt;Thread&lt;/SPAN&gt;.&lt;SPAN&gt;Sleep&lt;/SPAN&gt;(2000);
    &lt;SPAN&gt;invApp&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;.&lt;SPAN&gt;Save&lt;/SPAN&gt;();
    &lt;SPAN&gt;invApp&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;.&lt;SPAN&gt;Save&lt;/SPAN&gt;();

    &lt;SPAN&gt;oControlDef&lt;/SPAN&gt; = &lt;SPAN&gt;invApp&lt;/SPAN&gt;.&lt;SPAN&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN&gt;ControlDefinitions&lt;/SPAN&gt;[&lt;SPAN&gt;"VaultCheckinTop"&lt;/SPAN&gt;];
    &lt;SPAN&gt;oControlDef&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;"\t\n"&lt;/SPAN&gt;);

    &lt;SPAN&gt;System&lt;/SPAN&gt;.&lt;SPAN&gt;Threading&lt;/SPAN&gt;.&lt;SPAN&gt;Thread&lt;/SPAN&gt;.&lt;SPAN&gt;Sleep&lt;/SPAN&gt;(&lt;SPAN&gt;sleepTime&lt;/SPAN&gt;);
}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 11:34:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12760155#M901</guid>
      <dc:creator>m_baczewski</dc:creator>
      <dc:date>2024-05-08T11:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: Vault process automation synchronize properties/change lifecycle- C#</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12760791#M902</link>
      <description>&lt;P&gt;You could better call the check-in synchronously (enable dialog suppression in Vault Options):&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;oControlDef&lt;/SPAN&gt; = &lt;SPAN&gt;invApp&lt;/SPAN&gt;.&lt;SPAN&gt;CommandManager&lt;/SPAN&gt;.&lt;SPAN&gt;ControlDefinitions&lt;/SPAN&gt;[&lt;SPAN&gt;"VaultCheckinTop"&lt;/SPAN&gt;];
    &lt;SPAN&gt;oControlDef&lt;/SPAN&gt;.&lt;SPAN&gt;Execute2&lt;/SPAN&gt;(&lt;SPAN&gt;True&lt;/SPAN&gt;);&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 May 2024 15:50:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12760791#M902</guid>
      <dc:creator>Markus.Koechl</dc:creator>
      <dc:date>2024-05-08T15:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: Vault process automation synchronize properties/change lifecycle- C#</title>
      <link>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12761965#M903</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Yes, at the moment I'm handling a few things and sometimes I need the Vault window in Inventor, but once I deploy the application to the server, I'll change it to look like this: oControlDef.Execute();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/33301"&gt;@Markus.Koechl&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for helping me solve one problem,I'll come back when a new problem arises.&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 05:24:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vault-customization-forum/vault-process-automation-synchronize-properties-change-lifecycle/m-p/12761965#M903</guid>
      <dc:creator>m_baczewski</dc:creator>
      <dc:date>2024-05-09T05:24:54Z</dc:date>
    </item>
  </channel>
</rss>

