<?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 PostModify Event in Intent (ETO) in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/postmodify-event-in-intent-eto/m-p/3517630#M135769</link>
    <description>&lt;P&gt;Is anyone familiar with creating events in Inventor ETO (Intent)? I have a custom UI with&amp;nbsp;the following rules...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;%%Category(&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" face="Courier New" size="2"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;"Meeting Rail Inputs"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;)&amp;gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Rule&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; MeetingRailLocation &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;As &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Number&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; = uiMeetingRailLocation.value&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;%%Category(&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;"Meeting Rail Inputs"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;)&amp;gt;_&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Child&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; uiMeetingRailLocation &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; :NumberProperty&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;baseName =&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;"Meeting Rail Location"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Category =&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;"Meeting Rail"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Seq = 1&lt;/P&gt;&lt;P&gt;CategorySeq = 1&lt;/P&gt;&lt;P&gt;userValue_PostModify_Event = :LinkMeetingRails&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;End Child&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I am trying to fire an event when the Meeting Rail Location is modified AND I also need to get the previous value of that Meeting Rail Location. The WIKI Help says you are suppose to be able to do both but I have not been able to get it to work. It says to create &amp;lt;&lt;EM&gt;ruleName&lt;/EM&gt;&amp;gt;&lt;EM&gt;_postModify &lt;/EM&gt;and so I did. I assume &amp;lt;ruleName&amp;gt; is the same as the name of the rule you want to monitor for changes but maybe that is not right. And it doesn't explain exactly how to get the previous value. I created the following method and it doesn't seem to fire.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;Method MeetingRailLocation_PostModify() &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;As &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;List&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;' Get old value for MeetingRailLocation&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; lstActions &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;As &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;List&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; = {}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;' Get all meeting rails that are of the same orientation except self and set them to 30&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;For&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Each&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; mr &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;In&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; Window.AllMeetingRails&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; mr.refchain &amp;lt;&amp;gt; self.refchain &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Then&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; mr.FrameOrientation = self.FrameOrientation &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Then&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;' Will also add condition to see if this meeting rail location matches the previous value&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;' but not yet sure how to do that so will skip for now&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;lstActions = lstActions + {:action,:CreateDynamicRule,:part,mr.uiMeetingRailLocation,:name,:USERVALUE,:formula,&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;"30"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Next&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Return&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; {lstActions}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;End Method&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course instead of changing the values to 30 I want to change it to the previous value. I have followed the online instructions about creating Events for Inventor Engineer-To-Order but it doesn't seem to be firing. I appreciat any help you can give. Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jun 2012 13:00:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-06-27T13:00:08Z</dc:date>
    <item>
      <title>PostModify Event in Intent (ETO)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/postmodify-event-in-intent-eto/m-p/3517630#M135769</link>
      <description>&lt;P&gt;Is anyone familiar with creating events in Inventor ETO (Intent)? I have a custom UI with&amp;nbsp;the following rules...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;%%Category(&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" face="Courier New" size="2"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;"Meeting Rail Inputs"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;)&amp;gt; &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Rule&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; MeetingRailLocation &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;As &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Number&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; = uiMeetingRailLocation.value&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;%%Category(&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;"Meeting Rail Inputs"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;)&amp;gt;_&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Child&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; uiMeetingRailLocation &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;As&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; :NumberProperty&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;baseName =&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;"Meeting Rail Location"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Category =&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;"Meeting Rail"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Seq = 1&lt;/P&gt;&lt;P&gt;CategorySeq = 1&lt;/P&gt;&lt;P&gt;userValue_PostModify_Event = :LinkMeetingRails&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;End Child&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I am trying to fire an event when the Meeting Rail Location is modified AND I also need to get the previous value of that Meeting Rail Location. The WIKI Help says you are suppose to be able to do both but I have not been able to get it to work. It says to create &amp;lt;&lt;EM&gt;ruleName&lt;/EM&gt;&amp;gt;&lt;EM&gt;_postModify &lt;/EM&gt;and so I did. I assume &amp;lt;ruleName&amp;gt; is the same as the name of the rule you want to monitor for changes but maybe that is not right. And it doesn't explain exactly how to get the previous value. I created the following method and it doesn't seem to fire.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;Method MeetingRailLocation_PostModify() &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;As &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;List&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;' Get old value for MeetingRailLocation&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Dim&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; lstActions &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;As &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;List&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; = {}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;' Get all meeting rails that are of the same orientation except self and set them to 30&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;For&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Each&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; mr &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;In&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; Window.AllMeetingRails&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; mr.refchain &amp;lt;&amp;gt; self.refchain &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Then&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; mr.FrameOrientation = self.FrameOrientation &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Then&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;' Will also add condition to see if this meeting rail location matches the previous value&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;&lt;FONT color="#008000" size="2" face="Courier New"&gt;' but not yet sure how to do that so will skip for now&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;lstActions = lstActions + {:action,:CreateDynamicRule,:part,mr.uiMeetingRailLocation,:name,:USERVALUE,:formula,&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;&lt;FONT color="#800000" size="2" face="Courier New"&gt;"30"&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;End&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;If&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Next&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Return&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt; {lstActions}&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;End Method&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course instead of changing the values to 30 I want to change it to the previous value. I have followed the online instructions about creating Events for Inventor Engineer-To-Order but it doesn't seem to be firing. I appreciat any help you can give. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2012 13:00:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/postmodify-event-in-intent-eto/m-p/3517630#M135769</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-27T13:00:08Z</dc:date>
    </item>
    <item>
      <title>Re: PostModify Event in Intent (ETO)</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/postmodify-event-in-intent-eto/m-p/3519452#M135770</link>
      <description>&lt;P&gt;UPDATE: Since this is a custom UI the third party developer told me I had to tell who the event host was as shown below...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;userValue_EventHost = &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;Me&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;And then I had to create a method to run event actions...&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Method &lt;FONT size="2" face="Courier New"&gt;&lt;FONT size="2" face="Courier New"&gt;LinkMeetingRails() &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;As &lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;List&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;...&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;End Method&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;&lt;FONT color="#0000ff" size="2" face="Courier New"&gt;So the event fires now.﻿&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2012 12:20:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/postmodify-event-in-intent-eto/m-p/3519452#M135770</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-28T12:20:30Z</dc:date>
    </item>
  </channel>
</rss>

