Questions tagged [autodesk-viewer]

The Autodesk Viewer enables your customers to visualize and interact with 2D and 3D design data in a web browser or on a mobile device, anytime, anywhere. No downloads or plug-ins required.

The Viewer is a WebGL-based, JavaScript library for 3D and 2D model rendering. 3D and 2D model data may come from a wide array of applications, such as AutoCAD, Fusion 360, Revit, and many more.

The API supports over 60 file formats to bring you stunning, detailed, high-fidelity visualizations of models - right within your browser experience. The REST and JavaScript APIs make it easy for you to quickly develop web applications.

The Viewer requires a WebGL-canvas compatible browser:

  • Chrome 50+
  • Firefox 45+
  • Opera 37+
  • Safari 9+
  • Microsoft Edge 20+
  • Internet Explorer 11

Learn more about Autodesk Viewer.

1738 questions
0
votes
1 answer

Autodesk Viewer API, not rendering markup to screenshot canvas for new version

Codes runs upto version 2.15.* of the Viewer but doesn't run on higher version. The markup doesn't shows up with the image. /** * Get's the markup data as a base 64 image. * * @param viewer * @returns {Promise} */ …
Bi SAl MhRzn
  • 61
  • 2
  • 7
0
votes
1 answer

Issue with the AutoDesk Forge Viewer API

While getting the document to load, I am getting this error wgs.js:21467 Uncaught TypeError: Cannot read property 'numGeoms' of undefined at d.RenderModel.initialize (wgs.js:21467) at a.onModelRootLoadDone (viewer3D.min.js:4484) at…
0
votes
2 answers

Extract vector images from Revit file

I was wondering if it's possible to extract Vector images from 2d views of revit files from forge api. I've used the following endpoint to achieve thumbnail of the views, but the thumbnails are very small (400 x…
0
votes
1 answer

How to know that fitToView() has finished completely

I want to know that fitToView() finished completely. Some program procedures do not work after fitToView() without setTimeout(). For example, the following code not work. const dbid = [1141] this.viewer.select(dbid) this.viewer.fitToView(dbid,…
k-oshima
  • 37
  • 4
0
votes
1 answer

Autodesk / update Geometry

I have successfully uploaded a geometry to Autodesk Forge via the model derivative API. What I'm trying to do is overwrite the existing geometry with different data and have the new geometry displayed when reloading the viewer. I have deleted the…
0
votes
1 answer

Viewer shows model as tiny speck and doesn't match zoomed-in view from AutoCAD

We have a CADmep model inside AutoCAD 2018 where the pipe coordinates are a large distance from the origin (X=2.52970E+06, Y=8.69056E+06). The view we have saved for the model in AutoCAD CADmep centers all the pipes on screen, but when the model is…
JGeerWM
  • 810
  • 10
  • 16
0
votes
1 answer

Section floor view - Forge Viewer

I want to be able to filter my uploaded Revit buildings to display certain floors (e.g. basement, first floor, roof). I am aware that I can section the view from the toolbar but I want to section the view by tapping buttons (in my case, tree…
Mykita
  • 437
  • 2
  • 8
  • 31
0
votes
1 answer

Getting Bad request error while loading a model in forge viewer from AWS S3

I am using AWS S3 to store my f2d, manifest and metadata files. My AWS S3 bucket is public so that I can access these file using their URL. Now I tried to load a model using myViewer.loadModel(AWS_Url, opts); , and got Bad Request error. Does anyone…
ketan shinde
  • 212
  • 2
  • 10
0
votes
1 answer

Getting Viewer 3DObjects in Scene

I'm trying to generate a pdf from the viewer adapting threejs-pdf-renderer library. This PDFRenderer needs a Scene and a Camera object in its render method. As per the library example, I should create or pass a scene containing children but when I…
user8444489
0
votes
0 answers

Wrong numeric properties round in the Autodesk viewer , B360 viewer

I use standard Autodesk viewer. When I open the model in the Forge viewer and choose some object I received Autodesk model viewer properties but numeric properties is wrong. For example, it shows that "Versatz unten" 3.92600000000001 m But if I…
0
votes
0 answers

How to make selection work for 2D multi-models in Autodesk-Forge Viewer

I have a couple of DWG drawings which I have converted into F2D files for offline viewing. There is a base model which I load on the viewer initialization. Other drawings are loaded using viewer.loadModel as in when required. These drawings get…
ashish
  • 425
  • 4
  • 11
0
votes
1 answer

How to set "withCredential Option" in Forge Viewer3D?

I am using viewer3D at my on premises environment. So I had download all model files locally. URL for viewer is https://www.company.com/viewer3D.html URL for models are https://model.company.com/some-model-files... Then, the viewer requests models…
0
votes
1 answer

How can I disable the Ctrl click External Link feature in FORGE Viewer?

During part selection in the Autodesk Forge Viewer, if you hold the Ctrl key down while selecting a part, an External Link (open hyperlink) window appears. Is there a way to turn this feature off or disable it?
0
votes
1 answer

Viewer doesn`t show the model on latest libs - on some browsers (especially mobile)

Hi I have specific problem, when i`m trying to run my project on tablets and surfaces i have error: viewer3D.js?v=3.1.*:1372 Uncaught TypeError: Cannot read property 'id' of null at _.recognizeWith (viewer3D.js?v=3.1.*:1372) at Array.forEach…
Tomasz Cy-man
  • 253
  • 1
  • 4
  • 14
0
votes
1 answer

Forge view angle in mobile VR

When starting VR tool on mobile and watching directly ahead, I would like to have the view to show the whole model in the center of the screen. The view should be at a slight angle, so I could see the whole building floor. Currently it is directly…
Joni Turunen
  • 137
  • 1
  • 13
1 2 3
99
100