I want to open Excel and Doc file (.xlxs and .docx) in Autodesk viewer using datamanagement api .
I want to open Excel and Doc file (.xlxs and .docx) in Autodesk viewer using datamanagement api
Can anyone give an idea on this .
Any help is appericiated.
In the case of PDF files, you don't even have to translate them in order to show them in the Viewer - if you translate them, then Leaflets will be generated for them: https://forge.autodesk.com/blog/markups-leafletloader-vs-pdfloader
I think the easiest thing would be if you generated PDF for your Excel and Word documents and opened them in the Viewer like that.
Related
I was wondering, the dwg files are hosted on my server, to use the viewer API do I need to upload it to forge platform then I can use the viewer API?
if yes is there API or otherways to upload the files to the platform I do not want to do it manually
if no this means it's ok I can use the viewer on the files on my server
Regards
In order to show any model (other than PDF) in the Viewer, you need to get it translated to SVF, which is the Viewer's format. This translation can only be done on our servers, so the file needs to be there at least while the translation is running.
https://forge.autodesk.com/blog/showing-files-viewer
We have a nice tutorial on how this can be done: https://learnforge.autodesk.io/#/tutorials/viewmodels
Please let me know how to view the Revit file in my local environment in the Forge Viewer without doing any file upload to the cloud.
Also the Link "Prepared a File for the Viewer" it is not working.
This is unfortunately not possible - Forge is a Cloud service only API platform. You need to upload your files to the platform to extract the data, and then visualise it. Here is a quick and complete tutorial.
I am trying to translate Revit model to an IFC , and to put it to Bim360 Docs without downloading to computer.
I've tried to create FirstFileVersion from derivativeURN , but i've had an error.
How i can do that?
In our web application, we want to view AutoCAD files using Autodesk viewer API.
As per our requirement we want to select the file and need to open directly in auto-desk viewer site, where all default options like 2D, 3D views are available.
Is it possible to view those files, directly in Autodesk viewer, instead of creating our own viewer?
We do have a minified online viewer that takes a svf - pls make sure all svf assets are available at the same location and open to public access with CORs allowed:
https://autodeskviewer.com/viewers/latest/viewer3d.html?svf=url/to/your/svf (make sure to put in the url to your svf)
But this is NOT an official setup of any sort and is subject to change w/o notice. You are very much encouraged to develop your own, just a few lines of code would do this trick if you already have your models extracted.
Here's a few good places to start:
https://forge.autodesk.com/en/docs/viewer/v6/tutorials/basic-viewer/
http://learnforge.autodesk.io
Tools:
http://models.autodesk.io
https://extract.autodesk.io/
I have around 200 .dxf files on my server. I would like to integrate the autodesk-forge viewer so that people coming to my website can view the drawings? I do not see any example as such online which can help me in that? Do you guys have any examples which can assist me in this?
I do not want to upload the files on the cloud and use the embed link rather I just want to use the viewer api and pass my .dxf files from my server to view those on my website.
Any help will be highly appreciated?
I am afraid this is not possible, the Autodesk Forge Viewer requires you to upload the file on the Autodesk storage and use the Model Derivative API to prepare your DXF files to be viewed in the Viewer. You do not need to keep the DXF on the Autodesk storage after the process, but this is a required step.
If you follow this tutorial, you will be able to see you DXF files onlines. All resources are protected, but if you want to delete the seed file (aka the DXF file), you need to call this endpoint at the end of the tutorial steps.