<?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: ilogic save command not working in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685333#M44708</link>
    <description>&lt;P&gt;With your code is nothing wrong. I think it's model related.&lt;/P&gt;&lt;P&gt;Are there any other rules trigger by save events? Can you share your model?&lt;/P&gt;</description>
    <pubDate>Wed, 13 Oct 2021 10:46:13 GMT</pubDate>
    <dc:creator>theo.bot</dc:creator>
    <dc:date>2021-10-13T10:46:13Z</dc:date>
    <item>
      <title>ilogic save command not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685173#M44705</link>
      <description>&lt;P&gt;Hi Dear,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have created an I logic form and updating assembly which is fine. Now I am saving the assembly using ilogic rule, but even after running the save rule, the assembly document is asking to save again. I have to click yes &amp;gt; yes to all &amp;gt;, OK, then it is saving. I want to skip the save prompt. Assembly and sub-assembly have to be saved automatically. I used the below-shown code for saving the assembly and sub-assembly and parts.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;Adoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyDocument&lt;/SPAN&gt;
&lt;SPAN&gt;Adoc&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;
&lt;SPAN&gt;Adoc&lt;/SPAN&gt;.&lt;SPAN&gt;Save&lt;/SPAN&gt;
&lt;SPAN&gt;Adoc&lt;/SPAN&gt;.&lt;SPAN&gt;Save2&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;please refer the attached image 1 and 2 and guide me to avoid the save prompt.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Murugan&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 09:32:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685173#M44705</guid>
      <dc:creator>murugasubi</dc:creator>
      <dc:date>2021-10-13T09:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: ilogic save command not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685231#M44706</link>
      <description>&lt;P&gt;To skip the prompt you can simply set your application options:&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="theobot_0-1634119291725.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/976664iB9FF555B2A970431/image-size/medium?v=v2&amp;amp;px=400" role="button" title="theobot_0-1634119291725.png" alt="theobot_0-1634119291725.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 10:01:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685231#M44706</guid>
      <dc:creator>theo.bot</dc:creator>
      <dc:date>2021-10-13T10:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: ilogic save command not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685285#M44707</link>
      <description>&lt;P&gt;Hi, Thank you for your response. I tried your method, but still, a prompt message is coming while closing the assembly and I pressed yes in the prompt, it's asking me to do save as. Please refer the attached image.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Murugan&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 10:23:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685285#M44707</guid>
      <dc:creator>murugasubi</dc:creator>
      <dc:date>2021-10-13T10:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: ilogic save command not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685333#M44708</link>
      <description>&lt;P&gt;With your code is nothing wrong. I think it's model related.&lt;/P&gt;&lt;P&gt;Are there any other rules trigger by save events? Can you share your model?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 10:46:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685333#M44708</guid>
      <dc:creator>theo.bot</dc:creator>
      <dc:date>2021-10-13T10:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: ilogic save command not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685353#M44709</link>
      <description>&lt;P&gt;Hi, Model attached..&lt;/P&gt;&lt;P&gt;Steps to run,&lt;/P&gt;&lt;P&gt;1. open the Create New Pallet Rack .iam file&lt;/P&gt;&lt;P&gt;2. Enter the JOB name and number&amp;nbsp; (This will copy the model from template folder to workspace folder in the name of project number)&lt;/P&gt;&lt;P&gt;3. Change the height, width, and weight&lt;/P&gt;&lt;P&gt;4. Click on the save (Here&amp;nbsp; I am getting this problem).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, I am new to Ilogic, if there is any simple method, please guide me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Murugan&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 10:57:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685353#M44709</guid>
      <dc:creator>murugasubi</dc:creator>
      <dc:date>2021-10-13T10:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: ilogic save command not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685420#M44710</link>
      <description>&lt;P&gt;If you use save2, you need to add the "savedependents as boolean" to save all files. I've tested it and after the save you can close the file without a prompt for a save.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;On&lt;/SPAN&gt; &lt;SPAN&gt;Error&lt;/SPAN&gt; &lt;SPAN&gt;Resume&lt;/SPAN&gt; &lt;SPAN&gt;Next&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;Adoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyDocument&lt;/SPAN&gt;
&lt;SPAN&gt;Adoc&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;
&lt;SPAN&gt;'Adoc.Save&lt;/SPAN&gt;
&lt;SPAN&gt;Adoc&lt;/SPAN&gt;.&lt;SPAN&gt;Save2&lt;/SPAN&gt;(&lt;SPAN&gt;True&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 11:29:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685420#M44710</guid>
      <dc:creator>theo.bot</dc:creator>
      <dc:date>2021-10-13T11:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: ilogic save command not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685452#M44711</link>
      <description>&lt;P&gt;Hi,&amp;nbsp; I have tried&amp;nbsp; save2(true) , but still asking me to do save as while closing.&amp;nbsp; I have added adoc.close at last. It's closing without any prompt, but the model is not getting saved.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Adoc&lt;/SPAN&gt;.&lt;SPAN&gt;Save2&lt;/SPAN&gt;(&lt;SPAN&gt;True&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please rewrite the code correctly and send back the model to me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Murugan&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 11:48:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685452#M44711</guid>
      <dc:creator>murugasubi</dc:creator>
      <dc:date>2021-10-13T11:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: ilogic save command not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685568#M44712</link>
      <description>&lt;P&gt;I've tested this in two versions of inventor and there is nothing wrong with your model and codes. But i see that you are saving in google drive. can you please test with your data on a local drive. I've seen issues with onedrive as well in the past.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 12:32:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10685568#M44712</guid>
      <dc:creator>theo.bot</dc:creator>
      <dc:date>2021-10-13T12:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: ilogic save command not working</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10686146#M44713</link>
      <description>&lt;P&gt;Yes,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/94148"&gt;@theo_bot&lt;/a&gt;, You are correct.&amp;nbsp; I tried it from the local drive it is working well.&amp;nbsp; Thanks a lot for your support.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 16:20:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-save-command-not-working/m-p/10686146#M44713</guid>
      <dc:creator>murugasubi</dc:creator>
      <dc:date>2021-10-13T16:20:39Z</dc:date>
    </item>
  </channel>
</rss>

