<?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: isEnabled property of the SelectionCommandInput objet in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/isenabled-property-of-the-selectioncommandinput-objet/m-p/8786550#M14193</link>
    <description>&lt;P&gt;This is a default behaviour of a Fusion command where a default selection command input remains active. In the sample there is only one selection command input hence it remains active but I agree there is no API exposed which let the add-in writer to specify which is default selection command input in a command.&lt;/P&gt;</description>
    <pubDate>Mon, 13 May 2019 07:34:39 GMT</pubDate>
    <dc:creator>goyals</dc:creator>
    <dc:date>2019-05-13T07:34:39Z</dc:date>
    <item>
      <title>isEnabled property of the SelectionCommandInput objet</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/isenabled-property-of-the-selectioncommandinput-objet/m-p/8784891#M14192</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The isEnabled property is not supported by the SelectionCommandInput objet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just add the next lines of code at the end of the MyCommandCreatedHandler class in the &lt;A href="http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-e5c4dbe8-ee48-11e4-9823-f8b156d7cd97" target="_blank" rel="noopener"&gt;Command Inputs API Sample&lt;/A&gt;:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;for i in range(0,inputs.count):
	inputs.item(i).isEnabled = False&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="isEnabled-SelectionCommandInput.PNG" style="width: 421px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/635388i27C2C81E823279DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="isEnabled-SelectionCommandInput.PNG" alt="isEnabled-SelectionCommandInput.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 11 May 2019 12:05:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/isenabled-property-of-the-selectioncommandinput-objet/m-p/8784891#M14192</guid>
      <dc:creator>JeromeBriot</dc:creator>
      <dc:date>2019-05-11T12:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: isEnabled property of the SelectionCommandInput objet</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/isenabled-property-of-the-selectioncommandinput-objet/m-p/8786550#M14193</link>
      <description>&lt;P&gt;This is a default behaviour of a Fusion command where a default selection command input remains active. In the sample there is only one selection command input hence it remains active but I agree there is no API exposed which let the add-in writer to specify which is default selection command input in a command.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 07:34:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/isenabled-property-of-the-selectioncommandinput-objet/m-p/8786550#M14193</guid>
      <dc:creator>goyals</dc:creator>
      <dc:date>2019-05-13T07:34:39Z</dc:date>
    </item>
  </channel>
</rss>

