Announcements

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Open files direct from the Web or hard drive.

HughesTooling
Consultant

Open files direct from the Web or hard drive.

HughesTooling
Consultant
Consultant

Fusion has a demo script OpenFileFromWeb that does exactly what it says. If you find the script's folder on your hard drive there's an html file that allows you to open\insert files directly into Fusion. If you copy the html file to a directory that doesn't change when Fusion updates you can open the file in Chrome and run any time. I'll put a version of the file in the next post in this thread you can test. If you paste the link below into the imput field in the post below and click Open in Fusion the file is opened without going through the trouble of manually downloading.

https://forums.autodesk.com/autodesk/attachments/autodesk/453/1012/1/temp.f3d

  If you want to open\insert files from your hard drive you need to paste the full path and file name.

Capture3.PNG

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


2 Likes
Reply
Accepted solutions (1)
2,512 Views
11 Replies
Replies (11)

HughesTooling
Consultant
Consultant
Accepted solution
URL or full path to a local file:












Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes

daniel_lyall
Mentor
Mentor

very good Mark it start fusion as well


Win10 pro | 16 GB ram | 4 GB graphics Quadro K2200 | Intel(R) 8Xeon(R) CPU E5-1620 v3 @ 3.50GHz 3.50 GHz

Daniel Lyall
The Big Boss
Mach3 User
My Websight, Daniels Wheelchair Customisations.
Facebook | Twitter | LinkedIn

0 Likes

HughesTooling
Consultant
Consultant

Here's a copy of the html file for anyone who'd rather run it from their hard drive so it's always available. Extract the html file and save to your hard drive then a double click should open it in your browser.

 

Mark

 

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


1 Like

Anonymous
Not applicable

Can it only be accessed by hard drive.

0 Likes

HughesTooling
Consultant
Consultant

The file is just an html script. Where do you want to use it, you could incorporate it in any web page.

 

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes

Anonymous
Not applicable

A hard drive matters a lot when we talk about data recovery or backup.

0 Likes

Anonymous
Not applicable

Dear Mark, 

I tried several times with a file on my desktop and several errors appeared, as " not correct zip file" or other which made so that I can't open any local file using this kind of path :

C:/Users/Desktop/interieur_boitier_videv1.f3d 

 

Would you have any help for that ?

Thanking you by advance,

 

Alex

0 Likes

TrippyLighting
Consultant
Consultant

Which OS and browser are you using ?

 

 


EESignature

0 Likes

Anonymous
Not applicable
Hi,

Windows 7 - 64 bits and crhome browser
0 Likes

TrippyLighting
Consultant
Consultant

You may be better of asking this in the API section o the Forum. I am wondering if Windows 7 supports that.

 

I've personally tested that this works on mcOS Sierra with Chrome and Safari and on Windows 10 with Chrome and Edge.

 

Here's a link to the documentation the describes this in detail. Make sure your HTML is encoded properly. The little utility at the end of the documentation page is very helpful in getting that done.


EESignature

0 Likes

Anonymous
Not applicable

Very informative thread.

0 Likes