<?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 Is it possible to add an event trigger using iLogic in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9821315#M56906</link>
    <description>&lt;P&gt;Is it Possible to add an event trigger using iLogic?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've come up with a nice little rule that i want to run on existing drawings.&amp;nbsp;Going forward, it's easy...i add the rule to a template. Retro is a bit more challenging.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 23 Oct 2020 19:33:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-10-23T19:33:21Z</dc:date>
    <item>
      <title>Is it possible to add an event trigger using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9821315#M56906</link>
      <description>&lt;P&gt;Is it Possible to add an event trigger using iLogic?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've come up with a nice little rule that i want to run on existing drawings.&amp;nbsp;Going forward, it's easy...i add the rule to a template. Retro is a bit more challenging.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 19:33:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9821315#M56906</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-23T19:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add an event trigger using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9821422#M56907</link>
      <description>&lt;P&gt;Yes there is, someone on the forums just helped me with this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you want a external rule to add something to the event trigger?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below will look for a rule in the active document and add it to the event trigger for before save&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oRuleName&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = &lt;SPAN&gt;"Master_Parts_List_Assembly"&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oAuto&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;IiLogicAutomation&lt;/SPAN&gt; = &lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN&gt;Automation&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oRule&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;iLogicRule&lt;/SPAN&gt;
&lt;SPAN&gt;Try&lt;/SPAN&gt;
        &lt;SPAN&gt;oRule&lt;/SPAN&gt; = &lt;SPAN&gt;oAuto&lt;/SPAN&gt;.&lt;SPAN&gt;GetRule&lt;/SPAN&gt;(&lt;SPAN&gt;oDoc&lt;/SPAN&gt;,&lt;SPAN&gt;oRuleName&lt;/SPAN&gt;)
&lt;SPAN&gt;Catch&lt;/SPAN&gt;
        &lt;SPAN&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN&gt;"The specified rule was not found in the active document. Exiting."&lt;/SPAN&gt;,&lt;SPAN&gt;vbOKOnly&lt;/SPAN&gt;,&lt;SPAN&gt;" "&lt;/SPAN&gt;)
        &lt;SPAN&gt;Exit&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;

&lt;SPAN&gt;''Added to create iLogicEventRules property set if it does not exist.&lt;/SPAN&gt;
&lt;SPAN&gt;Try&lt;/SPAN&gt;
        &lt;SPAN&gt;customIPropSet&lt;/SPAN&gt; = &lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"iLogicEventsRules"&lt;/SPAN&gt;)
&lt;SPAN&gt;Catch&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;
&lt;SPAN&gt;Try&lt;/SPAN&gt;
        &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;customIPropSet&lt;/SPAN&gt;.&lt;SPAN&gt;InternalName&lt;/SPAN&gt; &amp;lt;&amp;gt; &lt;SPAN&gt;"{2C540830-0723-455E-A8E2-891722EB4C3E}"&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
               &lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;customIPropSet&lt;/SPAN&gt;.&lt;SPAN&gt;Delete&lt;/SPAN&gt;
               &lt;SPAN&gt;customIPropSet&lt;/SPAN&gt; = &lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"iLogicEventsRules"&lt;/SPAN&gt;, &lt;SPAN&gt;"{2C540830-0723-455E-A8E2-891722EB4C3E}"&lt;/SPAN&gt;)
        &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;SPAN&gt;Catch&lt;/SPAN&gt; 
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;
&lt;SPAN&gt;Try&lt;/SPAN&gt;
        &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;customIPropSet&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;Nothing&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
               &lt;SPAN&gt;customIPropSet&lt;/SPAN&gt; = &lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"iLogicEventsRules"&lt;/SPAN&gt;, &lt;SPAN&gt;"{2C540830-0723-455E-A8E2-891722EB4C3E}"&lt;/SPAN&gt;)
        &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
&lt;SPAN&gt;Catch&lt;/SPAN&gt; 
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;
&lt;SPAN&gt;''End of code to create property set&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oETPropSet&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PropertySet&lt;/SPAN&gt;
&lt;SPAN&gt;Try&lt;/SPAN&gt;
        &lt;SPAN&gt;oETPropSet&lt;/SPAN&gt; = &lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"iLogicEventsRules"&lt;/SPAN&gt;)
&lt;SPAN&gt;Catch&lt;/SPAN&gt;
        &lt;SPAN&gt;oETPropSet&lt;/SPAN&gt; = &lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"_iLogicEventsRules"&lt;/SPAN&gt;)
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;
&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;oETPropSet&lt;/SPAN&gt; &lt;SPAN&gt;Is&lt;/SPAN&gt; &lt;SPAN&gt;Nothing&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
        &lt;SPAN&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN&gt;"Couldn't find the Event Triggers property set. Exiting."&lt;/SPAN&gt;, &lt;SPAN&gt;vbOKOnly&lt;/SPAN&gt; + &lt;SPAN&gt;vbExclamation&lt;/SPAN&gt;, &lt;SPAN&gt;" "&lt;/SPAN&gt;)
        &lt;SPAN&gt;Exit&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oProperty&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;Property&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oPropId&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Long&lt;/SPAN&gt;
&lt;SPAN&gt;For&lt;/SPAN&gt; &lt;SPAN&gt;oPropId&lt;/SPAN&gt; = 700 &lt;SPAN&gt;To&lt;/SPAN&gt; 799
        &lt;SPAN&gt;Try&lt;/SPAN&gt;
               &lt;SPAN&gt;oProperty&lt;/SPAN&gt; = &lt;SPAN&gt;oETPropSet&lt;/SPAN&gt;.&lt;SPAN&gt;ItemByPropId&lt;/SPAN&gt;(&lt;SPAN&gt;oPropId&lt;/SPAN&gt;)
               &lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;oProperty&lt;/SPAN&gt;.&lt;SPAN&gt;Value&lt;/SPAN&gt; = &lt;SPAN&gt;oRuleName&lt;/SPAN&gt; &lt;SPAN&gt;Then&lt;/SPAN&gt;
                       &lt;SPAN&gt;MsgBox&lt;/SPAN&gt;(&lt;SPAN&gt;"This rule has already been added to that event trigger. Exiting."&lt;/SPAN&gt;,&lt;SPAN&gt;vbOKOnly&lt;/SPAN&gt;,&lt;SPAN&gt;" "&lt;/SPAN&gt;)
                       &lt;SPAN&gt;Exit&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt;
               &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;If&lt;/SPAN&gt;
        &lt;SPAN&gt;Catch&lt;/SPAN&gt;
               &lt;SPAN&gt;oProperty&lt;/SPAN&gt; = &lt;SPAN&gt;oETPropSet&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;oRuleName&lt;/SPAN&gt;, &lt;SPAN&gt;"BeforeDocSave"&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;oPropId&lt;/SPAN&gt;, &lt;SPAN&gt;oPropId&lt;/SPAN&gt;)
               &lt;SPAN&gt;Exit&lt;/SPAN&gt; &lt;SPAN&gt;Sub&lt;/SPAN&gt;
        &lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;
        &lt;SPAN&gt;oPropId&lt;/SPAN&gt; = &lt;SPAN&gt;oPropId&lt;/SPAN&gt; + 1
&lt;SPAN&gt;Next&lt;/SPAN&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;&amp;nbsp;the one who made this not me, but i have a different external rule to insert a rule called&amp;nbsp;&lt;SPAN&gt;"Master_Parts_List_Assembly" in the active part that is currently opened. Then another external rule that will add it to the before save trigger&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Oct 2020 20:52:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9821422#M56907</guid>
      <dc:creator>AMN3161</dc:creator>
      <dc:date>2020-10-23T20:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add an event trigger using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9829690#M56908</link>
      <description>&lt;P&gt;Can you provide a more details about your situation and what you're wanting to accomplish?&lt;/P&gt;&lt;P&gt;Do you want this rule to run for All drawing documents, or only for certain drawing documents?&lt;/P&gt;&lt;P&gt;Which event to you want to trigger your rule to run?&lt;/P&gt;&lt;P&gt;Is your new rule local (saved within the drawing document itself) or is it an external rule?&lt;/P&gt;&lt;P&gt;(I'm assuming it is a local rule, since you said you've included it in a template drawing file.)&lt;/P&gt;&lt;P&gt;If it is a local rule, is there a reason it must remain a local rule and not an external rule?&lt;/P&gt;&lt;P&gt;If you want the rule to remain a local rule, and you want to add this rule to older drawing documents too, I can show you how to 'inject' that rule into other documents (just ask).&lt;/P&gt;&lt;P&gt;What is your rule supposed to do?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 12:32:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9829690#M56908</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2020-10-28T12:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add an event trigger using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9830928#M56909</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a rule that "processes"&amp;nbsp; my part document from my drawing document as long as the part file is set to trigger before the document is saved. This works beautifully in new parts using a template. For existing parts, the triggers aren't setup to fire before saving. Can I start the ilogic rule in my drawing with code that first says "add these triggers to the part document that fire before saving" then Refdoc.Save()...they fire then all is well.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Oct 2020 19:30:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9830928#M56909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-28T19:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add an event trigger using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9838297#M56911</link>
      <description>&lt;P&gt;We ran into this at my work with multiple older parts having outdated local rule event triggers. We switched to global rules since we occasionally alter them, but obviously the old parts/rules are out of date. so I made this with some help from some of&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/725444"&gt;@MegaJerk&lt;/a&gt;&amp;nbsp;'s work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-customization/adding-an-ilogic-rule-to-an-event-trigger-with-vba/m-p/4343787?attachment-id=347929" target="_blank" rel="noopener"&gt;(https://forums.autodesk.com/t5/inventor-customization/adding-an-ilogic-rule-to-an-event-trigger-with-vba/m-p/4343787?attachment-id=347929)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We only have a couple rules to add so I just did it the long way but you could use a for each function to make this go faster, especially with more rules. I found it was easier to have a global form that any user can use to do reset event triggers rather than have every one have the code injector.&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;&lt;BR /&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;doc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Document&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;BR /&gt;&lt;/SPAN&gt;'CHECK TO SEE IF EVENT TRIGGER PROPERYSET EXISTS
	&lt;SPAN&gt;Try&lt;/SPAN&gt;	
	&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"iLogicEventsRules"&lt;/SPAN&gt;, &lt;SPAN&gt;"{2C540830-0723-455E-A8E2-891722EB4C3E}"&lt;/SPAN&gt;)
&lt;SPAN&gt;Catch&lt;/SPAN&gt;
&lt;SPAN&gt;End&lt;/SPAN&gt; &lt;SPAN&gt;Try&lt;/SPAN&gt;
'DELETES ANY PREEXISTING EVENT TRIGGERS. 
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;eventrig&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PropertySet&lt;/SPAN&gt; = &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"{2C540830-0723-455E-A8E2-891722EB4C3E}"&lt;/SPAN&gt;)
	&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;eventrig&lt;/SPAN&gt;.&lt;SPAN&gt;Delete&lt;/SPAN&gt;
'REESTABLISHES THE EVENT TRIGGER PROPERTY SET
	&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;"iLogicEventsRules"&lt;/SPAN&gt;, &lt;SPAN&gt;"{2C540830-0723-455E-A8E2-891722EB4C3E}"&lt;/SPAN&gt;)

'SET LOCATION OF EVENT TRIGGERS. 
	
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;rulearray&lt;/SPAN&gt;() &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = {&lt;SPAN&gt;"IPROPERTIES_UPDATE PART"&lt;/SPAN&gt;, &lt;SPAN&gt;"MASS_UPDATE_RULE"&lt;/SPAN&gt;}
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;locarray&lt;/SPAN&gt;() &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = {&lt;SPAN&gt;"BeforeDocSave"&lt;/SPAN&gt;, &lt;SPAN&gt;"AfterAnyiPropertyChange"&lt;/SPAN&gt;, &lt;SPAN&gt;"PartBodyChanged"&lt;/SPAN&gt; }
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;idarray&lt;/SPAN&gt;() &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Integer&lt;/SPAN&gt; = {700,1600,1200}
	
	&lt;SPAN&gt;eventrig&lt;/SPAN&gt; = &lt;SPAN&gt;doc&lt;/SPAN&gt;.&lt;SPAN&gt;PropertySets&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"{2C540830-0723-455E-A8E2-891722EB4C3E}"&lt;/SPAN&gt;)
	
'ADD EVENT TRIGGERS		
	&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;eventrig&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;rulearray&lt;/SPAN&gt;(0), &lt;SPAN&gt;locarray&lt;/SPAN&gt;(0), &lt;SPAN&gt;idarray&lt;/SPAN&gt;(0))
	&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;eventrig&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;rulearray&lt;/SPAN&gt;(0), &lt;SPAN&gt;locarray&lt;/SPAN&gt;(1), &lt;SPAN&gt;idarray&lt;/SPAN&gt;(1))
	&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;eventrig&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;rulearray&lt;/SPAN&gt;(0), &lt;SPAN&gt;locarray&lt;/SPAN&gt;(2), &lt;SPAN&gt;idarray&lt;/SPAN&gt;(2))&lt;BR /&gt;&lt;BR /&gt;'ADDING THE 1 TO THE LOCATIONARRAY AND ID ARRAY IS NECESSARY TO ADD MULTIPLE RULES AFTER THE ONES ABOVE.&lt;BR /&gt;'IF A 3RD RULE IS ADDED TO THE SAME EVENT TRIGGER "2" WOULD BE USED AND SO ON... 
	&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;eventrig&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;rulearray&lt;/SPAN&gt;(1), &lt;SPAN&gt;locarray&lt;/SPAN&gt;(0)&amp;amp;&lt;SPAN&gt;"1"&lt;/SPAN&gt;, &lt;SPAN&gt;idarray&lt;/SPAN&gt;(0)+1)
	&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;eventrig&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;rulearray&lt;/SPAN&gt;(1), &lt;SPAN&gt;locarray&lt;/SPAN&gt;(1)&amp;amp;&lt;SPAN&gt;"1"&lt;/SPAN&gt;, &lt;SPAN&gt;idarray&lt;/SPAN&gt;(1)+1)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;'EVENT TIGGER NAMES AND ID&lt;BR /&gt;&lt;BR /&gt;'After Open Document					: AfterDocOpen                 		: 400&lt;/SPAN&gt;
&lt;SPAN&gt;'Close(Document)						: DocClose                     		: 500&lt;/SPAN&gt;
&lt;SPAN&gt;'Before Save Document                   : BeforeDocSave           			: 700&lt;/SPAN&gt;
&lt;SPAN&gt;'After Save Document               		: AfterDocSave               		: 800&lt;/SPAN&gt;
&lt;SPAN&gt;'Any Model Parameter Change        		: AfterAnyParamChange   			: 1000&lt;/SPAN&gt;
&lt;SPAN&gt;'Part Geometry Change**            		: PartBodyChanged         			: 1200&lt;/SPAN&gt;
&lt;SPAN&gt;'Material Change**                  	: AfterMaterialChange     			: 1400&lt;/SPAN&gt;
&lt;SPAN&gt;'Drawing View Change***               	: AfterDrawingViewsUpdate  			: 1500&lt;/SPAN&gt;
&lt;SPAN&gt;'iProperty(Change)                  	: AfterAnyiPropertyChange           : 1600&lt;/SPAN&gt;
&lt;SPAN&gt;'Feature Suppression Change**          	: AfterFeatureSuppressionChange   	: 2000&lt;/SPAN&gt;
&lt;SPAN&gt;'Component Suppression Change*   		: AfterComponentSuppressionChange 	: 2200&lt;/SPAN&gt;
&lt;SPAN&gt;'iPart / iAssembly Change Component* 	: AfterComponentReplace   			: 2400&lt;/SPAN&gt;
&lt;SPAN&gt;'New Document                         	: AfterDocNew                  		: 2600&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 01 Nov 2020 15:47:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9838297#M56911</guid>
      <dc:creator>jzcrouse</dc:creator>
      <dc:date>2020-11-01T15:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add an event trigger using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9840713#M56912</link>
      <description>&lt;P&gt;If your drawing document only has one model document being represented within it, you should be able to use this line to get the model file:&amp;nbsp; (the single model document can be either a Part or an Assembly)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim oMDoc As Document = ThisDrawing.ModelDocument&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;But, if your drawing document is showing multiple different model documents, we will have to loop through each DrawingView and get the model document being represented within each view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another thing I still don't know is if your 'older' model documents already contain the needed rules that you wish to add to the model's Event Triggers.&amp;nbsp; If the target rules aren't already in the older model files, then where are the rules you are wanting to add to the Event Triggers of the model file; or how do you plan to supply/specify which rules to add to the model's event triggers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The following iLogic rule assumes the active drawing document is only representing a single model document, and that the target rules are already within the model document.&amp;nbsp; You just need to edit this code to change the names of the model rules you want it to add to the model's Event Triggers.&amp;nbsp; Right now I'm just specifying 3 generic rule names, but you can have as many as 99 or as few as 1.&amp;nbsp; If you only need to add 1 rule, you can get rid of the List object and the loop through the List's contents.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; This rule also assumes you don't need to preserve any existing Event Triggers settings, because it deletes the existing property set that contains those setting (if they exist), then recreates that property set.&amp;nbsp; Then it adds each of your specified rule names to the 'BeforeDocSave' event.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So...if you run the following rule as an external rule, while the drawing document is active, it will get the model document, get its Event Triggers property set, then add the rule names (specified within this rule) to the BeforeDocSave event of the event triggers of the model file.&amp;nbsp; If any of those rules don't exist within the model file, it will let you know then exit the rule.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Dim oDDoc As DrawingDocument = ThisDrawing.Document
Dim oMDoc As Document = ThisDrawing.ModelDocument

Dim oRuleNames As New List(Of String)
oRuleNames.Add("First Rule Name") '&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;!!! EDIT THIS RULE NAME !!! &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
oRuleNames.Add("Second Rule Name") '&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;!!! EDIT THIS RULE NAME !!! &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
oRuleNames.Add("Third Rule Name") '&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;!!! EDIT THIS RULE NAME !!! &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;

'Making sure those rules exist within the model document
Dim oAuto As IiLogicAutomation = iLogicVb.Automation
Dim oRule As iLogicRule
Dim oRuleName As String
For Each oRuleName In oRuleNames
	Try
		oRule = oAuto.GetRule(oMDoc, oRuleName)
	Catch
		MsgBox("The rule named " &amp;amp; oRuleName &amp;amp; " was not found within the model document. Exiting.", vbOKOnly + vbCritical, " ")
		Exit Sub
	End Try
Next

'Getting the Event Triggers iProperty set
Dim oEventsPropSet As Inventor.PropertySet
Dim oSetName As String = "iLogicEventsRules"
Dim oInternalName As String = "{2C540830-0723-455E-A8E2-891722EB4C3E}"
Try
	oEventsPropSet = oMDoc.PropertySets.Item(oSetName)
Catch
	oEventsPropSet = oMDoc.PropertySets.Item("_" &amp;amp; oSetName)
End Try
If oEventsPropSet IsNot Nothing Then
	oEventsPropSet.Delete
	oEventsPropSet = oMDoc.PropertySets.Add(oSetName, oInternalName)
Else
	oEventsPropSet = oMDoc.PropertySets.Add(oSetName, oInternalName)
End If

'Define the event's PropId range
Dim oRangeStart As Integer = 700
Dim oRangeEnd As Integer = 799
Dim oPropId As Integer = oRangeStart

'Start adding the rule names to the event triggers
For Each oRuleName In oRuleNames
	If oPropId &amp;lt;= oRangeEnd Then
		oEventsPropSet.Add(oRuleName, "BeforeDocSave" &amp;amp; oPropId.ToString, oPropId)
	Else
		MsgBox("You've reached the maximum number of rules you can add under this event. Exiting.", vbOKOnly, " ")
		Exit Sub
	End If
	oPropId = oPropId + 1
Next
Exit Sub&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also have multiple resources available dealing with the (hidden by default) Event Triggers property set.&lt;/P&gt;&lt;P&gt;In these resources I attempt to explain how everything works and how to do it yourself using iLogic code.&lt;/P&gt;&lt;P&gt;One shows how to &lt;A href="https://knowledge.autodesk.com/community/article/329766" target="_blank" rel="noopener"&gt;'Un-Hide' this set.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Another shows how to &lt;A href="https://knowledge.autodesk.com/community/article/329361" target="_blank" rel="noopener"&gt;find &amp;amp; inspect an existing property set to confirm table data, then how to add a single rule to it&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Another shows how to &lt;A href="https://knowledge.autodesk.com/community/article/330921" target="_blank" rel="noopener"&gt;copy all local iLogic rules as well as the Event Triggers settings from one document to another&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Another post, that may help with the situation of working with older documents, shows how to &lt;A href="https://knowledge.autodesk.com/community/article/327916" target="_blank" rel="noopener"&gt;use an external iLogic rule to create &amp;amp; place local iLogic rules within other documents&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, FYI &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5651294"&gt;@jzcrouse&lt;/a&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;Within those reference posts you'll find a table which shows updated data about which events use which PropId ranges.&amp;nbsp; I built this as an Excel spreadsheet from personal research and testing, instead of copying from old posts.&amp;nbsp; One of the main differences is the 'AfterDrawingViewsUpdate' event.&amp;nbsp; The older posts show it using the 1500 to 1599 range, but my testing shows this range to actually be 1800 to 1899.&amp;nbsp; This data was captured from actually adding multiple rules to each of the different types of events within all the different types of documents, then afterwards, capturing all the data from the resulting property set and all its properties.&amp;nbsp; Each time you edit or update a 'Contribution' post, it updates the main date on the post, and you'll see that all these posts have been recently updated with the latest findings.&amp;nbsp; I don't recall exactly when the 'AfterDrawingViewsUpdate' event changed from using the 1500's to the 1800's, though due to having skipped over an Inventor release here and there and having had multiple Autodesk Accounts over the years.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 18:20:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9840713#M56912</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2020-11-02T18:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add an event trigger using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9841252#M56913</link>
      <description>&lt;P&gt;Thank you for keeping up with this stuff&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/7812054"&gt;@WCrihfield&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though I haven't used Inventor for a very long time now, it's good to see people still updating old work and keeping the community up to date.&lt;BR /&gt;&lt;BR /&gt;Below is a table of your new PropID Ranges for Event Triggers. I'll do my best to update my old work to point to some of yours to prevent any confusion for future people. Because this forum doesn't allow you to edit older posts (which is unfortunate to say the least), I won't resurrect older threads, but will try to point people towards your stuff when I am notified of activity. At least I'll be able to fix github.&lt;BR /&gt;&lt;BR /&gt;Additionally, I noticed you had trouble pasting your table here to the forums so I'll also include the html code you can plonk right into the 'HTML' source in any given post on these forums.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;STRONG&gt;Name (Name Shown in Dialog) &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Property Name (&amp;amp; DisplayName) &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;PropId Range &lt;/STRONG&gt;&lt;/TD&gt;&lt;TD&gt;&lt;STRONG&gt;Doc Types Available In &lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;After Open Document&lt;/TD&gt;&lt;TD&gt;AfterDocOpen&lt;/TD&gt;&lt;TD&gt;400 to 499&lt;/TD&gt;&lt;TD&gt;Assembly, Part, Drawing&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Close Document&lt;/TD&gt;&lt;TD&gt;DocClose&lt;/TD&gt;&lt;TD&gt;500 to 599&lt;/TD&gt;&lt;TD&gt;Assembly, Part, Drawing&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Before Save Document&lt;/TD&gt;&lt;TD&gt;BeforeDocSave&lt;/TD&gt;&lt;TD&gt;700 to 799&lt;/TD&gt;&lt;TD&gt;Assembly, Part, Drawing&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;After Save Document&lt;/TD&gt;&lt;TD&gt;AfterDocSave&lt;/TD&gt;&lt;TD&gt;800 to 899&lt;/TD&gt;&lt;TD&gt;Assembly, Part, Drawing&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;After Model Parameter Change&lt;/TD&gt;&lt;TD&gt;AfterAnyParamChange&lt;/TD&gt;&lt;TD&gt;1000 to 1099&lt;/TD&gt;&lt;TD&gt;Assembly, Part&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Part Geometry Change&lt;/TD&gt;&lt;TD&gt;PartBodyChanged&lt;/TD&gt;&lt;TD&gt;1200 to 1299&lt;/TD&gt;&lt;TD&gt;Part&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Material Change&lt;/TD&gt;&lt;TD&gt;AfterMaterialChange&lt;/TD&gt;&lt;TD&gt;1400 to 1499&lt;/TD&gt;&lt;TD&gt;Part&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;iProperty Change&lt;/TD&gt;&lt;TD&gt;AfterAnyiPropertyChange&lt;/TD&gt;&lt;TD&gt;1600 to 1699&lt;/TD&gt;&lt;TD&gt;Assembly, Part, Drawing&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Drawing View Change&lt;/TD&gt;&lt;TD&gt;AfterDrawingViewsUpdate&lt;/TD&gt;&lt;TD&gt;1800 to 1899&lt;/TD&gt;&lt;TD&gt;Drawing&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Feature Suppression Change&lt;/TD&gt;&lt;TD&gt;AfterFeatureSuppressionChange&lt;/TD&gt;&lt;TD&gt;2000 to 2099&lt;/TD&gt;&lt;TD&gt;Part&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Component Suppression Change&lt;/TD&gt;&lt;TD&gt;AfterComponentSuppressionChange&lt;/TD&gt;&lt;TD&gt;2200 to 2299&lt;/TD&gt;&lt;TD&gt;Assembly&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;iPart or iAssembly Change Component&lt;/TD&gt;&lt;TD&gt;AfterComponentReplace&lt;/TD&gt;&lt;TD&gt;2400 to 2499&lt;/TD&gt;&lt;TD&gt;Assembly&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;New Document&lt;/TD&gt;&lt;TD&gt;AfterDocNew&lt;/TD&gt;&lt;TD&gt;2600 to 2699&lt;/TD&gt;&lt;TD&gt;Assembly, Part, Drawing&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Table Code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;table style="width:100%"&amp;gt;
    &amp;lt;tbody&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                &amp;lt;strong&amp;gt;
                    Name (Name Shown in Dialog)
                &amp;lt;/strong&amp;gt;
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                &amp;lt;strong&amp;gt;
                    Property Name (&amp;amp; DisplayName)
                &amp;lt;/strong&amp;gt;
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                &amp;lt;strong&amp;gt;
                    PropId Range
                &amp;lt;/strong&amp;gt;
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                &amp;lt;strong&amp;gt;
                    Doc Types Available In
                &amp;lt;/strong&amp;gt;
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                After Open Document
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                AfterDocOpen
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                400 to 499
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Assembly, Part, Drawing
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                Close Document
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                DocClose
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                500 to 599
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Assembly, Part, Drawing
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                Before Save Document
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                BeforeDocSave
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                700 to 799
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Assembly, Part, Drawing
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                After Save Document
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                AfterDocSave
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                800 to 899
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Assembly, Part, Drawing
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                After Model Parameter Change
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                AfterAnyParamChange
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                1000 to 1099
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Assembly, Part
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                Part Geometry Change
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                PartBodyChanged
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                1200 to 1299
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Part
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                Material Change
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                AfterMaterialChange
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                1400 to 1499
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Part
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                iProperty Change
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                AfterAnyiPropertyChange
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                1600 to 1699
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Assembly, Part, Drawing
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                Drawing View Change
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                AfterDrawingViewsUpdate
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                1800 to 1899
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Drawing
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                Feature Suppression Change
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                AfterFeatureSuppressionChange
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                2000 to 2099
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Part
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                Component Suppression Change
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                AfterComponentSuppressionChange
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                2200 to 2299
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Assembly
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                iPart or iAssembly Change Component
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                AfterComponentReplace
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                2400 to 2499
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Assembly
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td&amp;gt;
                New Document
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                AfterDocNew
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                2600 to 2699
            &amp;lt;/td&amp;gt;
            &amp;lt;td&amp;gt;
                Assembly, Part, Drawing
            &amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
    &amp;lt;/tbody&amp;gt;
&amp;lt;/table&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(note: I'm not using the &amp;lt;th&amp;gt;Table Header&amp;lt;/th&amp;gt; tags because they end up being ignored, so it's &amp;lt;td&amp;gt;Table Data&amp;lt;/td&amp;gt; all the way. ;))&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Nov 2020 22:48:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9841252#M56913</guid>
      <dc:creator>MegaJerk</dc:creator>
      <dc:date>2020-11-02T22:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to add an event trigger using iLogic</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9842401#M56914</link>
      <description>&lt;P&gt;Sweet!&amp;nbsp; Thank you.&amp;nbsp; And thanks for the pioneering work you did in discovering this functionality in the first place.&amp;nbsp; You provided some good foundations for others to later build upon in their quests to further 'the cause' of Autodesk Automation and the creation of more and better custom automation solutions.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 11:53:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/is-it-possible-to-add-an-event-trigger-using-ilogic/m-p/9842401#M56914</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2020-11-03T11:53:25Z</dc:date>
    </item>
  </channel>
</rss>

