<?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: TimelineObject.IsSuppressed API does not work in InputChangedEvent in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/timelineobject-issuppressed-api-does-not-work-in/m-p/12301942#M2672</link>
    <description>&lt;P&gt;Perfect!&amp;nbsp; Thanks for the clarification - it was exactly what I was missing.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Oct 2023 16:01:36 GMT</pubDate>
    <dc:creator>Melinda1</dc:creator>
    <dc:date>2023-10-12T16:01:36Z</dc:date>
    <item>
      <title>TimelineObject.IsSuppressed API does not work in InputChangedEvent</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/timelineobject-issuppressed-api-does-not-work-in/m-p/12301707#M2670</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on a form that allows users with very little Fusion 360 experience to suppress and un-suppress items in the timeline based on the selections in the form.&amp;nbsp; I've got the form correctly set up so it is firing an InputChangedEvent whenever the user changes one of the values in the form.&amp;nbsp; However, when the isSuppressed API (of a TimelineObject) is called during this event, it does not do anything.&amp;nbsp; The isSuppressed API only seems to work if I call it in the execute event for the command (when the user selects OK on the form).&amp;nbsp; Has anyone seen this before?&amp;nbsp; I would very much like the design to dynamically change as the user is filling out the form so they can see the changes they are making.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 14:33:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/timelineobject-issuppressed-api-does-not-work-in/m-p/12301707#M2670</guid>
      <dc:creator>Melinda1</dc:creator>
      <dc:date>2023-10-12T14:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: TimelineObject.IsSuppressed API does not work in InputChangedEvent</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/timelineobject-issuppressed-api-does-not-work-in/m-p/12301757#M2671</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/13796738"&gt;@Melinda1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, only changes made in the execute event or with execute preview event are committed to the model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can read the objective of the InputChangedEvent here:&amp;nbsp;&lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-3922697A-7BF1-4799-9A5B-C8539DF57051#InputChangedEvent" target="_blank"&gt;https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-3922697A-7BF1-4799-9A5B-C8539DF57051#InputChangedEvent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe what you need is to use the ExecutePreviewEvent instead.&amp;nbsp; Please read what I highlighted in the following image:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jorge_Jaramillo_0-1697122212874.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1278502i19EA3B434FBE4336/image-size/large?v=v2&amp;amp;px=999" role="button" title="Jorge_Jaramillo_0-1697122212874.png" alt="Jorge_Jaramillo_0-1697122212874.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is how it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jorge Jaramillo&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Software Engineer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 14:53:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/timelineobject-issuppressed-api-does-not-work-in/m-p/12301757#M2671</guid>
      <dc:creator>Jorge_Jaramillo</dc:creator>
      <dc:date>2023-10-12T14:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: TimelineObject.IsSuppressed API does not work in InputChangedEvent</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/timelineobject-issuppressed-api-does-not-work-in/m-p/12301942#M2672</link>
      <description>&lt;P&gt;Perfect!&amp;nbsp; Thanks for the clarification - it was exactly what I was missing.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 16:01:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/timelineobject-issuppressed-api-does-not-work-in/m-p/12301942#M2672</guid>
      <dc:creator>Melinda1</dc:creator>
      <dc:date>2023-10-12T16:01:36Z</dc:date>
    </item>
  </channel>
</rss>

