Reply
Participant
7 Posts
Accepted Solution

Error when Trying to Create New Add-In

139 Views, 7 Replies
a month ago

Hey All,

 

I am getting a pop-up error when trying to create a new Add-In using Fusion 360:

 

"Unable to find default manifest!+Script with same name already exists!

 

Does anyone know how to resolve this issue? I broke my Fusion! :( 

 

ErrorBox.PNG

The problem is that with the latest Fusion update some files are missing that are needed to create a new Python add-in.  We've fixed it and the fix will be available in the update in April but until then you can use the files I've attached. To create a new add-in, unpack the files either in the default location for add-ins or any location.  You'll need to rename the folder and the .py and .manifest file to have the same name and be the name of the add-in.  You should also edit the id in the .manifest file to be a unique GUID.  Here's an online tool you can use for that.  https://www.guidgen.com/  If you put the files in the default location, Fusion should now see the add-in and it will be the list of add-ins.  If you put it somewhere else you'll need to use the green "+" in the Scripts and Add-Ins dialog to add it to the add-in list.  Now you should be able to edit and run it as usual.

Enthusiast
36 Posts
26 Kudos
5 Solutions

Re: Error when Trying to Create New Add-In

a month ago in reply to: kkramer43YNC

I have the same problem, and haven't found how to fix it yet.

 

P.S. I have such problems only with Python - JS and C++ work fine.

Autodesk Support
1262 Posts
353 Kudos
369 Solutions

Re: Error when Trying to Create New Add-In

a month ago in reply to: kkramer43YNC

I've never run into that before but am able to reproduce the problem.  The reason I've never seen it before is that I always change the default name "NewAddInX" to some other name that's more identifiable for what my add-in will be doing.  Try that and see if you can now create a new script or add-in.  It should be working with the default name though and I'll log a defect.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Enthusiast
36 Posts
26 Kudos
5 Solutions

Re: Error when Trying to Create New Add-In

a month ago in reply to: ekinsb

Hello Brian,

tnx for your reply.

But it seems that your hypothesis is not correct.

 

Check my screencast plz.

 

Autodesk Support
1262 Posts
353 Kudos
369 Solutions

Re: Error when Trying to Create New Add-In

a month ago in reply to: copypastestd

You're right.  Thanks for letting me know.  This must be a recent regression because I create new add-ins all the time.  I'll update the defect with this additional information and raise the priority.  A workaround for now would be to go to the folder where add-ins are created and copy an existing one where you'll need to rename the folder, the .py file and the .manifest file to the new name of your add-ins.  You'll then be able to open it and edit the code.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Participant
7 Posts

Re: Error when Trying to Create New Add-In

a month ago in reply to: ekinsb

Hey All,

 

The same thing is happening for me - there is no workaround or name that I can find that will let me create the application. 

 

-Kyle 

Highlighted
Autodesk Support
1262 Posts
353 Kudos
369 Solutions

Re: Error when Trying to Create New Add-In

a month ago in reply to: kkramer43YNC

The problem is that with the latest Fusion update some files are missing that are needed to create a new Python add-in.  We've fixed it and the fix will be available in the update in April but until then you can use the files I've attached. To create a new add-in, unpack the files either in the default location for add-ins or any location.  You'll need to rename the folder and the .py and .manifest file to have the same name and be the name of the add-in.  You should also edit the id in the .manifest file to be a unique GUID.  Here's an online tool you can use for that.  https://www.guidgen.com/  If you put the files in the default location, Fusion should now see the add-in and it will be the list of add-ins.  If you put it somewhere else you'll need to use the green "+" in the Scripts and Add-Ins dialog to add it to the add-in list.  Now you should be able to edit and run it as usual.


Brian Ekins
Inventor and Fusion 360 API Expert
Mod the Machine blog
Enthusiast
36 Posts
26 Kudos
5 Solutions

Re: Error when Trying to Create New Add-In

a week ago in reply to: ekinsb

After last update - I could finally create Python add-inn.

The problem is solved, tnx a lot.