<?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: DistanceValueCommandInput's &amp;quot;expression&amp;quot; doesn't update after arrow dragging in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/distancevaluecommandinput-s-quot-expression-quot-doesn-t-update/m-p/9644768#M12622</link>
    <description>&lt;P&gt;I experienced this too. Thanks for finding a workaround!&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jul 2020 15:18:25 GMT</pubDate>
    <dc:creator>Justin.Krutz</dc:creator>
    <dc:date>2020-07-20T15:18:25Z</dc:date>
    <item>
      <title>DistanceValueCommandInput's "expression" doesn't update after arrow dragging</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/distancevaluecommandinput-s-quot-expression-quot-doesn-t-update/m-p/9336448#M12621</link>
      <description>&lt;P&gt;I found a bug today in Fusion 360's API, while trying to read the expression property of a DistanceValueCommandInput. If you drag its blue arrow instead of setting a value in the text box, then the "expression" property is the one from &lt;EM&gt;immediately before&lt;/EM&gt; it was dragged to its new position. The "value" property returns the correct result in centimeters, so it's easy to work around, just posting in case anyone runs into the same issue.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;PRE&gt;# Not working ( last value is used )
distance = adsk.core.ValueInput.createByReal(unitsMgr.evaluateExpression(input.expression, "cm"))
# Works
distance = adsk.core.ValueInput.createByReal(input.value)&lt;/PRE&gt;</description>
      <pubDate>Sun, 23 Feb 2020 19:28:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/distancevaluecommandinput-s-quot-expression-quot-doesn-t-update/m-p/9336448#M12621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-02-23T19:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: DistanceValueCommandInput's "expression" doesn't update after arrow dragging</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/distancevaluecommandinput-s-quot-expression-quot-doesn-t-update/m-p/9644768#M12622</link>
      <description>&lt;P&gt;I experienced this too. Thanks for finding a workaround!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jul 2020 15:18:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/distancevaluecommandinput-s-quot-expression-quot-doesn-t-update/m-p/9644768#M12622</guid>
      <dc:creator>Justin.Krutz</dc:creator>
      <dc:date>2020-07-20T15:18:25Z</dc:date>
    </item>
  </channel>
</rss>

