<?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 Betreff: Is there any way we can notify Inventor that excel sheet is updated? in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8997120#M72089</link>
    <description>&lt;P&gt;Yes i think so. He was a little faster. I had to translate first &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Personally, I might round to one minute. Even within a minute, a change can occur in the Excel and be saved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is when something is written and deleted in an empty cell in Excel, nothing has changed, but for Excel something has changed and the user is asked to save it.&lt;BR /&gt;So it is saved without any noticeable change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you probably mean would be very time intensive... to scan the file for changes. I don't think such a function already exists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, the "worst case" would be that your rule is executed without it being necessary. But how often is an Excel saved again without any noteworthy changes to the data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greeting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 30 Aug 2019 07:10:19 GMT</pubDate>
    <dc:creator>fullevent</dc:creator>
    <dc:date>2019-08-30T07:10:19Z</dc:date>
    <item>
      <title>Is there any way we can notify Inventor that excel sheet is updated?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8995313#M72082</link>
      <description>&lt;P&gt;I have created an iLogic rule that takes some values from excel and add to components properties located in an assembly. My objective is, I don't want to link or embed the excel, but still some how I want to achieve that, if something new to excel sheet is added or updated and whenever someone opens the assembly that has this rule I created to update the properties, they get notified (probably with a message box or by any other means) that excel has got new updates. Make sure you run your code and make some changes in assembly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible with iLogic code or by any other means? Again, I don't want to link or embed my excel sheet with Assembly file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward for some great ideas.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 13:21:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8995313#M72082</guid>
      <dc:creator>dutt.thakar</dc:creator>
      <dc:date>2019-08-29T13:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way we can notify Inventor that excel sheet is updated?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8995465#M72083</link>
      <description>&lt;P&gt;My suggestion is this:&lt;/P&gt;&lt;P&gt;You create a text parameter in the inventor document named ExcelUpdate (in my example)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Create a rule that looks something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #ff0000;"&gt;Dim&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;oLastChanged&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;As&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;String&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;IO&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;File&lt;/SPAN&gt;.&lt;SPAN style="color: #800000;"&gt;GetLastWriteTime&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"Path to excel file"&lt;/SPAN&gt;)

&lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;ExcelUpdate&lt;/SPAN&gt; &amp;lt;&amp;gt; &lt;SPAN style="color: #800000;"&gt;oLastChanged&lt;/SPAN&gt;
	&lt;SPAN style="color: #800080;"&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN style="color: #800080;"&gt;RunRule&lt;/SPAN&gt;(&lt;SPAN style="color: #008080;"&gt;"UpdateRule"&lt;/SPAN&gt;)
&lt;SPAN style="color: #ff0000;"&gt;End&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;If&lt;/SPAN&gt;

&lt;SPAN style="color: #0000ff;"&gt;ExcelUpdate&lt;/SPAN&gt; = &lt;SPAN style="color: #800000;"&gt;oLastChanged&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Set an event trigger "After open document" to run this rule.&lt;/P&gt;&lt;P&gt;If the Excelfile has been saved since last time you opened the inventor document it will run the rule to update according to the excel file. (In my example it's called UpdateRule)&lt;/P&gt;&lt;P&gt;Finally the rule updates the ExcelUpdate parameter to the last version of the excel-file it updated from &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 14:23:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8995465#M72083</guid>
      <dc:creator>JhoelForshav</dc:creator>
      <dc:date>2019-08-29T14:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way we can notify Inventor that excel sheet is updated?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8995466#M72084</link>
      <description>&lt;P&gt;Are you using Vault?&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 14:23:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8995466#M72084</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-08-29T14:23:34Z</dc:date>
    </item>
    <item>
      <title>Betreff: Is there any way we can notify Inventor that excel sheet is updated?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8995489#M72085</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/6518271"&gt;@dutt.thakar&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My first approach would be this:&lt;BR /&gt;Excel has a defined cell in which a timestamp is always written before the file is saved. (automatically by event)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The assembly has a new iProperty which also contains a timestamp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition the assembly gets a new rule which compares these two timestamps. If the time stamp in Excel is newer than in the assembly, then the desired message box should appear. This verification can, for example, always take place when the assembly is opened. (automatically by event)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your already existing rule gets the addition that at the end the time stamp of Excel is copied into the new iProperty.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does this help you?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greetings,&lt;BR /&gt;Aleks&lt;/P&gt;</description>
      <pubDate>Thu, 29 Aug 2019 14:31:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8995489#M72085</guid>
      <dc:creator>fullevent</dc:creator>
      <dc:date>2019-08-29T14:31:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way we can notify Inventor that excel sheet is updated?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8996924#M72086</link>
      <description>&lt;P&gt;Yes I do use Vault&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 04:42:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8996924#M72086</guid>
      <dc:creator>dutt.thakar</dc:creator>
      <dc:date>2019-08-30T04:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any way we can notify Inventor that excel sheet is updated?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8996929#M72087</link>
      <description>&lt;P&gt;Thanks for the great tip. I tried it is working as per the description I mentioned. A small thing if there is a difference of 1 second in save time of excel and Inventor assembly, it will always run the rule. Below is the rule you mentioned and I added message box to get the info if rule triggering is required or not and I am adding Hour so that It checks the same hour if assembly and excel are updated and then give appropriate messagebox.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oLastChanged&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;IO&lt;/SPAN&gt;.&lt;SPAN&gt;File&lt;/SPAN&gt;.&lt;SPAN&gt;GetLastWriteTime&lt;/SPAN&gt;(&lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Path&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;"\Property Exchange.xlsx"&lt;/SPAN&gt;).Hour

&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;ExcelUpdate&lt;/SPAN&gt; &amp;lt;&amp;gt; &lt;SPAN&gt;oLastChanged&lt;/SPAN&gt;
	&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"Excel is Updated, Run the rule"&lt;/SPAN&gt;)
&lt;SPAN&gt;Else&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;ExcelUpdate&lt;/SPAN&gt; = &lt;SPAN&gt;oLastChanged&lt;/SPAN&gt;
	&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;"Everything is upto date"&lt;/SPAN&gt;)
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;

&lt;SPAN&gt;ExcelUpdate&lt;/SPAN&gt; = &lt;SPAN&gt;oLastChanged&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way that if excel is saved prior but still if there is no change in it, It does not ask for update?&lt;/P&gt;&lt;P&gt;Or any other solution?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dutt.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 05:13:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8996929#M72087</guid>
      <dc:creator>dutt.thakar</dc:creator>
      <dc:date>2019-08-30T05:13:26Z</dc:date>
    </item>
    <item>
      <title>Betreff: Is there any way we can notify Inventor that excel sheet is updated?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8996933#M72088</link>
      <description>&lt;P&gt;I think it's similar what&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5330176"&gt;@JhoelForshav&lt;/a&gt;&amp;nbsp; has mentioned.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct?&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 04:49:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8996933#M72088</guid>
      <dc:creator>dutt.thakar</dc:creator>
      <dc:date>2019-08-30T04:49:50Z</dc:date>
    </item>
    <item>
      <title>Betreff: Is there any way we can notify Inventor that excel sheet is updated?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8997120#M72089</link>
      <description>&lt;P&gt;Yes i think so. He was a little faster. I had to translate first &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Personally, I might round to one minute. Even within a minute, a change can occur in the Excel and be saved.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is when something is written and deleted in an empty cell in Excel, nothing has changed, but for Excel something has changed and the user is asked to save it.&lt;BR /&gt;So it is saved without any noticeable change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What you probably mean would be very time intensive... to scan the file for changes. I don't think such a function already exists.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyway, the "worst case" would be that your rule is executed without it being necessary. But how often is an Excel saved again without any noteworthy changes to the data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Greeting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2019 07:10:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-there-any-way-we-can-notify-inventor-that-excel-sheet-is/m-p/8997120#M72089</guid>
      <dc:creator>fullevent</dc:creator>
      <dc:date>2019-08-30T07:10:19Z</dc:date>
    </item>
  </channel>
</rss>

