<?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: VBA Drawing Document &amp;quot;Save&amp;quot; Action? in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-drawing-document-quot-save-quot-action/m-p/8602998#M94560</link>
    <description>&lt;P&gt;Accepting this as a solution however hoping to find document triggers in VBA as well in the future. Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 18 Feb 2019 14:38:36 GMT</pubDate>
    <dc:creator>PECJon</dc:creator>
    <dc:date>2019-02-18T14:38:36Z</dc:date>
    <item>
      <title>VBA Drawing Document "Save" Action?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-drawing-document-quot-save-quot-action/m-p/8587568#M94261</link>
      <description>&lt;P&gt;We're coming to Inventor from 2D graphics software in which we used a lot of VBA to automate functions for drafting. We had tied some functions in when we save our documents using the following built in routines that fire when certain document actions are fired such as "Save" etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Private Sub GlobalMacroStorage_DocumentBeforeSave(ByVal Doc As Document, ByVal SaveAs As Boolean, ByVal FileName As String)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Private Sub GlobalMacroStorage_DocumentAfterSave(ByVal Doc As Document, ByVal SaveAs As Boolean, ByVal FileName As String)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Private Sub GlobalMacroStorage_DocumentOpen(ByVal Doc As Document, ByVal FileName As String)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't seen this type of built in functionality in Inventor's implementation of VBA. Am I missing anything? I'm not trying to automate the save process, just what happens when the user saves. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 15:38:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-drawing-document-quot-save-quot-action/m-p/8587568#M94261</guid>
      <dc:creator>PECJon</dc:creator>
      <dc:date>2019-02-11T15:38:25Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Drawing Document "Save" Action?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-drawing-document-quot-save-quot-action/m-p/8587678#M94265</link>
      <description>&lt;P&gt;I may be misunderstanding your intention, but I have a number of functions that are kicked off when the user saves.&lt;/P&gt;
&lt;P&gt;For example, I created an iLogic function that iterates through each drawing and ensures a rev table is added for each page every time there is a save. This is triggered through the Event Triggers under the Manage tab.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 484px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/601706i7DF301C7188AFFFB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You'll find iLogic is pretty close to VBA, so if you should be able to figure how to implement your old codes.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 16:16:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-drawing-document-quot-save-quot-action/m-p/8587678#M94265</guid>
      <dc:creator>TA.Fehr</dc:creator>
      <dc:date>2019-02-11T16:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Drawing Document "Save" Action?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-drawing-document-quot-save-quot-action/m-p/8587757#M94268</link>
      <description>&lt;P&gt;Very interesting thank you. I hadn't realized this type of script functionality was also built in. I will be taking a look at that over the next week! Much appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 16:43:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-drawing-document-quot-save-quot-action/m-p/8587757#M94268</guid>
      <dc:creator>PECJon</dc:creator>
      <dc:date>2019-02-11T16:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Drawing Document "Save" Action?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-drawing-document-quot-save-quot-action/m-p/8602998#M94560</link>
      <description>&lt;P&gt;Accepting this as a solution however hoping to find document triggers in VBA as well in the future. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 14:38:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-drawing-document-quot-save-quot-action/m-p/8602998#M94560</guid>
      <dc:creator>PECJon</dc:creator>
      <dc:date>2019-02-18T14:38:36Z</dc:date>
    </item>
    <item>
      <title>Re: VBA Drawing Document "Save" Action?</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-drawing-document-quot-save-quot-action/m-p/8606289#M94620</link>
      <description>&lt;P&gt;I guess your alternative would be to build an add-in that has a bunch of triggers built in for any event you would like to initiate an action for. But by the sounds of it, this would be a little excessive for what your looking for.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Feb 2019 18:22:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/vba-drawing-document-quot-save-quot-action/m-p/8606289#M94620</guid>
      <dc:creator>TA.Fehr</dc:creator>
      <dc:date>2019-02-19T18:22:43Z</dc:date>
    </item>
  </channel>
</rss>

