Add-in file selection dialog stopped working

Anonymous

Add-in file selection dialog stopped working

Anonymous
Not applicable

Hello to all,

I have an Add-in, "Airfoil Sketch from File" which basically stopped working recently.
I started to do my best to debug, but I am not a Python/Python Events specialist.

I have a "SampleCommandExecuteHandler" which seems to not be called any more. The debugger looks like being caught in a loop with core.py

Any help would be really appreciated.
Thanks, and best regards,

Bernard

0 Likes
Reply
Accepted solutions (1)
757 Views
7 Replies
Replies (7)

adam.nagy
Autodesk Support
Autodesk Support
Accepted solution

You ran into the same problem as I did - I wrote about it here: https://modthemachine.typepad.com/my_weblog/2020/10/stricter-call-checks-in-fusion-360-api.html 

 

You are trying to set the wrong and read-only property isCheckBox, instead of setting its value property to True

http://help.autodesk.com/view/fusion360/ENU/?guid=GUID-7b661940-396f-46be-b38b-58d7507d7de3 

isCheckBox

Indicates if this is being shown as a button or check box.

value Gets or sets the state of this input. If it's being displayed as a checkbox a value of true indicates the input is checked. If it's being displayed as a button, a value of true indicates the button is currently depressed.


Adam Nagy
Autodesk Platform Services
0 Likes

Anonymous
Not applicable

Ha ! Thank you. I'll test this and let you know.

0 Likes

Anonymous
Not applicable

Perfect, it solves the problem. Now, how to update an already published plugin ? 😂
Guess I have to read about that. 

Do you know if there is a way to let users know about the new version ? I have not looked at my statistics recently, quite a lot of people are using this (were using, before Fusion became picky 😥 )

Anyway, thank you very much, I was afraid it would be a much more time consuming fix.

0 Likes

adam.nagy
Autodesk Support
Autodesk Support

You're welcome! 😀

 

You can just go on the Publisher corner of the App Store and select "Manage" on the app.
Then replace the uploaded zip file with the zip of the updated add-in, and select "Publish"

People might get notified about the available update to your add-in, not sure.

 

 



Adam Nagy
Autodesk Platform Services
0 Likes

Le_Bear
Collaborator
Collaborator

Well, I feel a bit dumb! Not sure to remember how it went the first time, but I know you (I mean, Autodesk) created the MSI file for me. This time, I only need to change the PY file to update the plugin. But I doubt I can erase the MSI file and replace it with the updated PY file.

So, how do I re-create the package? Should I just zip the plugin directory ? Sorry, but that is not clear to me.

Thanks for your help.
Bernard

Bernard Grosperrin

Autodesk Certified Instructor

FaceBook Group | Forum | YouTube

Group Network Leader
 
0 Likes

adam.nagy
Autodesk Support
Autodesk Support

Here is the full info on publishing an add-in on the App Store:
https://damassets.autodesk.net/content/dam/autodesk/www/adn/pdf/desktop-app-submission-process-overv... 

 

When you click "Manage" on the relevant add-in, you can simply delete the uploaded msi, upload the zipped up folder of your updated add-in, and the App Store team will generate the msi for it and reach out to you so that you can test it before it goes live. 



Adam Nagy
Autodesk Platform Services
0 Likes

Le_Bear
Collaborator
Collaborator

Thank you, that makes it clear. Going to do that right now.

Bernard Grosperrin

Autodesk Certified Instructor

FaceBook Group | Forum | YouTube

Group Network Leader
 
0 Likes