<?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: ThisApplication.Documents.Open : Synchronous or Asynchronous? in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/thisapplication-documents-open-synchronous-or-asynchronous/m-p/11525717#M144626</link>
    <description>&lt;P&gt;Yeah, I jumped the gun on this one. It is 100% synchronous. I didn't recognize my conditional was testing for something else and misattributed the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But anyway thanks for taking a look.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2022 14:37:01 GMT</pubDate>
    <dc:creator>meGVGMF</dc:creator>
    <dc:date>2022-11-02T14:37:01Z</dc:date>
    <item>
      <title>ThisApplication.Documents.Open : Synchronous or Asynchronous?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/thisapplication-documents-open-synchronous-or-asynchronous/m-p/11514002#M144422</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to update properties in parts ahead of an assembly save.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My understanding is that to do this I need to call `ThisApplication.Documents.Open(...)` to be able to make changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the assembly's changes, despite being lower down in the rule, execute first, and the part documents don't execute until after the save is complete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am familiar with other languages, and so it occurred to me that maybe this method is asynchronous. Is this true? In any case, how can I get around this problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2022 23:03:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/thisapplication-documents-open-synchronous-or-asynchronous/m-p/11514002#M144422</guid>
      <dc:creator>meGVGMF</dc:creator>
      <dc:date>2022-10-27T23:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: ThisApplication.Documents.Open : Synchronous or Asynchronous?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/thisapplication-documents-open-synchronous-or-asynchronous/m-p/11514993#M144434</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12300741"&gt;@meGVGMF&lt;/a&gt;.&amp;nbsp; The online help documentation for that API method (&lt;A href="https://help.autodesk.com/view/INVNTOR/2022/ENU/?guid=Documents_Open" target="_blank" rel="noopener"&gt;Documents.Open&lt;/A&gt;) does not specify Synchronous, or Asynchronous, but does hint at the use of 'DeferUpdate' type settings that may be in use.&amp;nbsp; Generally speaking, when working with either an assembly or a drawing, by default, all referenced documents are invisibly either 'initiated' or opened in the background (invisibly) already.&amp;nbsp; The exception to this may be if you are using component suppression (which is recorded by LOD's or ModelStates), and all instances of components that represent some of the referenced documents are suppressed.&amp;nbsp; In that case, you may have to open that document.&amp;nbsp; If you have certain application or document options set to defer updates, that may be causing the updates not to happen until you manually click/execute the update or rebuild tools/methods.&amp;nbsp; Also, in some cases, you may just need to either update the documents after you edit them, or at least update their parent sub-assembly after making edits to its component documents, in order to see the modifications at the top level.&amp;nbsp; There are a few possibilities.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2022 11:48:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/thisapplication-documents-open-synchronous-or-asynchronous/m-p/11514993#M144434</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2022-10-28T11:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: ThisApplication.Documents.Open : Synchronous or Asynchronous?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/thisapplication-documents-open-synchronous-or-asynchronous/m-p/11525717#M144626</link>
      <description>&lt;P&gt;Yeah, I jumped the gun on this one. It is 100% synchronous. I didn't recognize my conditional was testing for something else and misattributed the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But anyway thanks for taking a look.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 14:37:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/thisapplication-documents-open-synchronous-or-asynchronous/m-p/11525717#M144626</guid>
      <dc:creator>meGVGMF</dc:creator>
      <dc:date>2022-11-02T14:37:01Z</dc:date>
    </item>
  </channel>
</rss>

