<?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: Dialog width in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12135453#M3153</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3623640"&gt;@brad.bylls&lt;/a&gt;&amp;nbsp;-San.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hadn't thought of this, but it certainly may not be configurable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Palette, it is possible to specify the width.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-5C4D3AFA-AF61-4536-90C4-B7B4EE6A0E2D" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-5C4D3AFA-AF61-4536-90C4-B7B4EE6A0E2D&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 29 Jul 2023 14:35:26 GMT</pubDate>
    <dc:creator>kandennti</dc:creator>
    <dc:date>2023-07-29T14:35:26Z</dc:date>
    <item>
      <title>Dialog width</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12135415#M3151</link>
      <description>&lt;P&gt;Is it possible to set the width of a dialog box in an API script?&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2023 13:58:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12135415#M3151</guid>
      <dc:creator>brad.bylls</dc:creator>
      <dc:date>2023-07-29T13:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog width</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12135451#M3152</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12364171"&gt;@Jorge_Jaramillo&lt;/a&gt;&amp;nbsp;-&amp;nbsp;this post is being edited to remove PII.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I believe that Command.setDialogInitialSize Method is what you're looking for: &lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-06bcc33f-87df-4894-b184-1666838547fe" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-06bcc33f-87df-4894-b184-1666838547fe&lt;/A&gt;.&lt;BR /&gt;You can use it to set the initial size of a command dialog.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Jorge Jaramillo&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 14:54:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12135451#M3152</guid>
      <dc:creator>Jorge_Jaramillo</dc:creator>
      <dc:date>2023-08-14T14:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog width</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12135453#M3153</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3623640"&gt;@brad.bylls&lt;/a&gt;&amp;nbsp;-San.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hadn't thought of this, but it certainly may not be configurable.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With Palette, it is possible to specify the width.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-5C4D3AFA-AF61-4536-90C4-B7B4EE6A0E2D" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-5C4D3AFA-AF61-4536-90C4-B7B4EE6A0E2D&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Jul 2023 14:35:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12135453#M3153</guid>
      <dc:creator>kandennti</dc:creator>
      <dc:date>2023-07-29T14:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog width</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12144693#M3154</link>
      <description>&lt;P&gt;Does this command only work once?&lt;/P&gt;&lt;P&gt;I used it and it set the width and height the first time.&lt;/P&gt;&lt;P&gt;However, I changed the width because it was too large, but nothing changed.&lt;/P&gt;&lt;P&gt;I tried several times to change the width but nothing changed.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 16:59:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12144693#M3154</guid>
      <dc:creator>brad.bylls</dc:creator>
      <dc:date>2023-08-02T16:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog width</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12145016#M3155</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12364171"&gt;@Jorge_Jaramillo&lt;/a&gt;&amp;nbsp;-&amp;nbsp;this post is being edited to remove PII.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3623640"&gt;@brad.bylls&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It depends where in your code you set its size.&lt;/P&gt;
&lt;P&gt;Without knowing your code it is hard to solve the issue.&lt;/P&gt;
&lt;P&gt;Could you share it?&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;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2023 14:54:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12145016#M3155</guid>
      <dc:creator>Jorge_Jaramillo</dc:creator>
      <dc:date>2023-08-14T14:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog width</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12145903#M3156</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Hi Mr BradBylls,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The doc contains&amp;nbsp;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;&lt;STRONG&gt;a little cryptic sentence&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;Sets the initial size of the dialog when it is first displayed.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;... which is perhaps responsible for what you are experiencing. &lt;FONT color="#FF9900"&gt;&lt;EM&gt;&lt;STRONG&gt;On the bright side of things&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; ... you are not the only &lt;EM&gt;&lt;STRONG&gt;One&lt;/STRONG&gt;&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;MichaelT&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 07:28:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12145903#M3156</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2023-08-03T07:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog width</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12146922#M3157</link>
      <description>So if you don't know what size you need, too bad.&lt;BR /&gt;No good for me.&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Thu, 03 Aug 2023 14:55:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12146922#M3157</guid>
      <dc:creator>brad.bylls</dc:creator>
      <dc:date>2023-08-03T14:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog width</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12146933#M3158</link>
      <description>&lt;P&gt;See the attached.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 15:00:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12146933#M3158</guid>
      <dc:creator>brad.bylls</dc:creator>
      <dc:date>2023-08-03T15:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog width</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12155281#M3159</link>
      <description>&lt;P&gt;The behavior of this is a bit strange. When this part of the API was first implemented, we wanted to give full control over the size of the dialog but found out that wasn't supported by Fusion internals. Most dialogs don't have a defined size, and they share the latest dialog state. For example, if you run a command and then resize the dialog, then run another command, the new command will display using the new size. However, the user last modified the dialog becomes the new default for most commands. You can specify the initial size for commands where you want more control over the size. Fusion uses that when the dialog is first created, but it stores that size internally for the dialog and uses the stored size from then on. It does this because if the user modifies the dialog size, that becomes the new default size.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still think it would be good to support a mode where you can define the dialog size and either not allow the user to change it or at least not save any modifications the user makes so it always goes back to the defined size. It's possible some internals have changes to make this a possibility, but I don't know.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 20:53:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12155281#M3159</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2023-08-07T20:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: Dialog width</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12158420#M3160</link>
      <description>&lt;P&gt;Thanks Brian.&lt;/P&gt;&lt;P&gt;My add-in has many different dialogs and most can use the same size.&lt;/P&gt;&lt;P&gt;But there are some that need a very wide dialog, and some only need a narrow one.&lt;/P&gt;&lt;P&gt;It would be nice if I could define the size for each dialog as needed.&lt;/P&gt;&lt;P&gt;At least then the user wouldn't have to keep changing them to suit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 00:47:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/dialog-width/m-p/12158420#M3160</guid>
      <dc:creator>brad.bylls</dc:creator>
      <dc:date>2023-08-09T00:47:06Z</dc:date>
    </item>
  </channel>
</rss>

