Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

unable to install script

26 REPLIES 26
Reply
Message 1 of 27
dandsgcuda
2976 Views, 26 Replies

unable to install script

I have been trying to install the image2 surface script for the last week. I have searched the web with no avail. I was able to get the add ins to

to see it but it would not run. Now when I try to load it thru the add ins it says unable to find or see a script. The files are there when using

windows explorer you can see them in the folder. Any help would be much appreciated.

Dwayne

26 REPLIES 26
Message 2 of 27
marshaltu
in reply to: dandsgcuda

Hello,

 

If the script has been in your disk, you can add it to Fusion by the steps as below:

 

1. Launch Fusion.

2. Invoke Scripts & Add-In Manager.

3. Hit "+" button next to "My Add-In".

 

Screen Shot 2017-07-13 at 10.04.42 AM.png

Thanks,

Marshal



Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 3 of 27
dandsgcuda
in reply to: marshaltu

​have done that and it still wont show the java script files​
Message 4 of 27
marshaltu
in reply to: dandsgcuda

Hello,

 

After you hit "+" button, a folder selection dialog will pop up. You have to select the folder which javascript files are located at. This was behaviour changes in the latest Fusion update. The old behaviour was to select a file(e.g. *.js, *.py).

 

Thanks,

Marshal



Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 5 of 27
dandsgcuda
in reply to: marshaltu

​did that selected the folder and error message comes up

A single script or add-in cannot be identified in the selected folder.
Please organ​ize your programs so each script or add-in is in its own
folder.
Message 6 of 27
marshaltu
in reply to: dandsgcuda

Hello,

 

I did download the script and gave a try. The root cause is that the script didn't have configuration file(*.manifest), which will be necessary if there are multiple *.js files in the folder. 

 

I create one for it. Please download attached file and unzip/place it into the folder which Image2Surface.js is located at. Please note the names of the two files need be same.

 

Thanks,

Marshal



Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 7 of 27
dandsgcuda
in reply to: marshaltu

​don't see the attachment​
Message 8 of 27
marshaltu
in reply to: dandsgcuda

Hello,

 

Please download from the link as below:

 

https://forums.autodesk.com/autodesk/attachments/autodesk/22/4216/1/Image2Surface.manifest.zip

 

Thanks,

Marshal



Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 9 of 27
dandsgcuda
in reply to: marshaltu

​downloaded unzipped and put in the same folder as java script files are
in. Went to add-ins hit the plus button on scripts selected
​folder closed fusion and restarted fusion go to add-ins doesn't show up on
list
Message 10 of 27
marshaltu
in reply to: dandsgcuda

I don't see the issue you mentioned. Please take look at the video what I am doing.

 

http://autode.sk/2uU61CX

 

Maybe there are some differences between "Image2Surface" scripts we are referencing. I was assuming it was downloaded from https://github.com/hanskellner/Fusion360Image2Surface . If not, it would be great if you can send me (marshal dot tu at autodesk dot com) the script which you were seeing the issue.  

 

Thanks,

Marshal



Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 11 of 27
dandsgcuda
in reply to: marshaltu

​here is a log file​
Message 12 of 27
hanskellner
in reply to: dandsgcuda

I've updated the code in Github to now include a manifest file.

 

NOTE: This is a script and not an add-in.  Please install as a script in the "Scripts and Add-Ins" dialog.

 



Hans Kellner
Senior Manager, Principal Engineer
Message 13 of 27
dandsgcuda
in reply to: hanskellner

couldn't get it to install in scripts it did recognize it in add-ins. The
window that allows you to select pic and heights doesn't open. Have
followed directions on the web and and no success
Message 14 of 27
hanskellner
in reply to: dandsgcuda

Sorry to hear you're having difficulty.

 

Are you using the manifest file that I just added to the Github project or the one Marshal sent to you?  The one he sent mistakenly indicated it was an add-in but it's actually a script.  If the manifest is not the one from the Github project then please grab that file and replace the one you have.

 

 

I just successfully downloaded the script from Github and installed it in the "Scripts" section of the "Scripts and Add-Ins" dialog.

 

Project: https://github.com/hanskellner/Fusion360Image2Surface



Hans Kellner
Senior Manager, Principal Engineer
Message 15 of 27
dandsgcuda
in reply to: hanskellner

​re downloaded and installed it as a script still no pop up window​
Message 16 of 27
marshaltu
in reply to: dandsgcuda

Hello,

 

I am not clear what's difference between our environments. Some more information will be needed to diagnose the issue.

 

1. What's OS type, version? What's the version of Fusion 360?

2. Was the issue specific to Image2Surface script? 

    You can try to add other JS scripts and see if they work or not? I attach a test script for your use. 

 

It would be good if you can record the whole process how you downloaded/added the script? Or we can schedule a remote assistance. I can send you detailed guideline to set up remote assistance by email if you provide me your email address.

 

Thanks,

Marshal



Marshal Tu
Fusion 360 Developer
Autodesk, Inc.

Message 17 of 27
Yves.Poulin
in reply to: dandsgcuda

Hello everyone,

I have this exactly the same problem.

I noticed that when I click on button "create" from the Script and add-ins box. I don't have the "Java Script option radion button" like I viewed from other Youtube Video.

I don't know how I can fix it.

It is because that I have a student version?

 

My setup :

Win10 64bits ver.1079

Fusion 360 ver. 2.0.3800

Active plan : Fusion 360 Ultimate, Student

 

My "Script" boxMy "Script" box

From YouTube VideoFrom YouTube Video

 

 

 

 

Message 18 of 27
Yves.Poulin
in reply to: Yves.Poulin

Sorry for my last post...I've just found how to resolve this.

Message 19 of 27
Anonymous
in reply to: dandsgcuda

I am having the same issue.  I downloaded and followed all instructions here to install but I can't see the script in the list, not even after a restart of the program.

 

Please help

Message 20 of 27
dandsgcuda
in reply to: Anonymous

was never able to get it to work ended up giving up because I had other
things that needed my attention good luck

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report