<?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: Fusion API - What size image is for the Boolean buttons? in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/fusion-api-what-size-image-is-for-the-boolean-buttons/m-p/7042607#M18196</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The argument for icon should be a folder instead of a single image file. And we need give special names to those image files under resource folder.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are some detailed information about icon in our help document. Please refer to the paragraph "Icons for Commands" in topic "User-Interface Customization".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-F31C76F0-8C74-4343-904C-68FDA9BB8B4C" target="_blank"&gt;http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-F31C76F0-8C74-4343-904C-68FDA9BB8B4C&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Marshal&lt;/P&gt;</description>
    <pubDate>Wed, 26 Apr 2017 05:49:13 GMT</pubDate>
    <dc:creator>marshaltu</dc:creator>
    <dc:date>2017-04-26T05:49:13Z</dc:date>
    <item>
      <title>Fusion API - What size image is for the Boolean buttons?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/fusion-api-what-size-image-is-for-the-boolean-buttons/m-p/7042456#M18195</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering what size image is required for a button in place of a checkbox. I didn't see them discuss this specifically in the User Guides. No matter what images I put in the referenced resource folder, a generic button comes up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Heres my code to verify that it is correct...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;fillet_cb = inputs.addBoolValueInput('fillet_cb','Add Fillets', False,'./Resources/Other Icons/fillet_32.png', True)&lt;/PRE&gt;&lt;P&gt;Here is the folder, which contains both 32x32 and 16x16...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-04-25 at 10.55.45 PM.png" style="width: 200px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/349443iD43D8D5BE0A212B8/image-size/small?v=v2&amp;amp;px=200" role="button" title="Screen Shot 2017-04-25 at 10.55.45 PM.png" alt="Screen Shot 2017-04-25 at 10.55.45 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the button I am getting in my Addins UI:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2017-04-25 at 10.50.55 PM.png" style="width: 200px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/349444i107EEC137BA8755B/image-size/small?v=v2&amp;amp;px=200" role="button" title="Screen Shot 2017-04-25 at 10.50.55 PM.png" alt="Screen Shot 2017-04-25 at 10.50.55 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Tried referencing the file path using .png extension - still no luck&lt;/P&gt;&lt;P&gt;Both images are PNG format&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 02:59:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/fusion-api-what-size-image-is-for-the-boolean-buttons/m-p/7042456#M18195</guid>
      <dc:creator>Six1Seven1</dc:creator>
      <dc:date>2017-04-26T02:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Fusion API - What size image is for the Boolean buttons?</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/fusion-api-what-size-image-is-for-the-boolean-buttons/m-p/7042607#M18196</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The argument for icon should be a folder instead of a single image file. And we need give special names to those image files under resource folder.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are some detailed information about icon in our help document. Please refer to the paragraph "Icons for Commands" in topic "User-Interface Customization".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-F31C76F0-8C74-4343-904C-68FDA9BB8B4C" target="_blank"&gt;http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-F31C76F0-8C74-4343-904C-68FDA9BB8B4C&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Marshal&lt;/P&gt;</description>
      <pubDate>Wed, 26 Apr 2017 05:49:13 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/fusion-api-what-size-image-is-for-the-boolean-buttons/m-p/7042607#M18196</guid>
      <dc:creator>marshaltu</dc:creator>
      <dc:date>2017-04-26T05:49:13Z</dc:date>
    </item>
  </channel>
</rss>

