How do I control command dialogBox buttons.

How do I control command dialogBox buttons.

obatake5TC3R
Advocate Advocate
903 Views
2 Replies
Message 1 of 3

How do I control command dialogBox buttons.

obatake5TC3R
Advocate
Advocate

I would like to control a command dialogbox button.

For example OK button is disable or enable.  And to focus input object item.

If you have any sample programs(cpp) tell me.

 

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

marshaltu
Autodesk
Autodesk

Hello,

 

You can probably use validateInputs event in the command to enable/disable "OK" button in command dialog. Please refer to the following help. Unfortunately I didn't find the way to let you change focus of command input.

 

http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-48f1c5e6-9c63-4da4-b0eb-6701e8569013

 

Thanks,

Marshal



Marshal Tu
Fusion Developer
>
0 Likes
Message 3 of 3

erik
Advocate
Advocate

I also found, that there is no way to change the focus of command inputs and have therefore created a request on the Idea Station for this suggestion.

Link: https://forums.autodesk.com/t5/fusion-360-ideastation-request-a/auto-selection-of-command-input/idi-...

 

- Erik

0 Likes