The way to control Command Dialog Positioning

The way to control Command Dialog Positioning

rhrymakNRUS7
Contributor Contributor
396 Views
2 Replies
Message 1 of 3

The way to control Command Dialog Positioning

rhrymakNRUS7
Contributor
Contributor

We have a desktop integration that relies on command dialogs for UI interactions. However, in some cases, the dialog form appears partially off-screen, which can be inconvenient for users.

It would be ideal if there were a way to control the positioning of these dialogs to prevent this issue. While it's possible to manage the positioning of palettes, I haven't found any API that allows setting command dialogs, for example, to appear at the center of the screen.

Perhaps there’s something I’m overlooking. Could you please advise?

 

0 Likes
397 Views
2 Replies
Replies (2)
Message 2 of 3

BrianEkins
Mentor
Mentor

Unfortunately, it's not currently possible to control the position of a command dialog. This is a global setting, so the dialog comes up in the location where the user moved the last command dialog. Hopefully, this will be added to the API in the future.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes
Message 3 of 3

rhrymakNRUS7
Contributor
Contributor

Thank you for your reply.
I’ve already submitted a case to Autodesk Support and will await the response. It seems there is an issue with how Fusion is attempting to dock the dialog, as it might be getting docked outside the Fusion interface boundary.

0 Likes