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
6
votes
1 answer

Changing materials in Forge

We are currently making the client retrieve the object states when the page loads (which will cause the 'pending' objects in the model to turn into different colors). Then we poll for changes to update the coloring (Firstly: pending object gets…
artobii
  • 175
  • 11
5
votes
1 answer

DWG unable to load with new viewer

Previously I used this viewer script which used to load dwg correctly Now am following this tutorial to setup an initial…
Priyank Bhatt
  • 604
  • 4
  • 15
4
votes
2 answers

Autodesk Forge Viewer - Invalid OGT header with SVF2 format

When I migrate my Forge Viewer from SVF to SVF2, some of the geometry is not loaded and I get "Invalid OGT header" and "Failed to parse OGT geometry" for each element. Console error I'm obtaining the models directly from BIM360. I'm using Nodejs…
4
votes
1 answer

upgrade three js version in autodesk forge viewer

I was looking to upgrade the three js which is used in autodesk forge behind the scene and reason for upgrade is I am trying to use this library and this need three js r71 and above and inside forge viewer it seems they are using r33. I found a blog…
Ronak Shetiya
  • 960
  • 6
  • 27
4
votes
0 answers

Multi-layered CAD files mark-up in autodesk-viewer

When I try to draw a mark-up for multi-layered CAD files in autodesk-viewer, the font size or the thickness of markup tools is much larger than other CAD Files. The mark-up works fine for other CAD files except for multi-layered 3D files. What is…
4
votes
1 answer

autodesk forge "Failed to trigger translation for this file"

I am trying to use the autodesk forge viewer tutorial https://developer.autodesk.com/en/docs/model-derivative/v2/tutorials/prepare-file-for-viewer/ I have successfully uploaded and downloaded a dwg file on the step where i convert it to svf it never…
3
votes
3 answers

How to get Autodesk Forge Viewer to support .rcp files

I have a web project (React) using the Autodesk Forge Viewer to display 3D (& 2D) models from our Enterprise BIM360 account. Since last year, the same viewer running within BIM360 is now supporting .rcp files, we would like to allow it as well. But…
3
votes
1 answer

Autodesk Forge Viewer - Near and Far clipping issues

We recently updated one of our projects to use the latest version of the Autodesk Forge Viewer (v7.x). In general, the migration went fine, however we noticed that for some models we have issues with the far cutting planes of the camera. I have…
3
votes
2 answers

invert the gestures on touch devices [Autodesk forge viewer]

invert the gestures on touch devices [Autodesk forge viewer] I am using forge autodesk v7 in my web application. I want the iPhone experience to be more intuitive, so that I can navigate the Viewer at its best. For this, I would like to invert the…
3
votes
3 answers

JavaScript uncaught error when clicking 'Full screen' button in Forge Viewer

I have a Forge Viewer embedded into an Angular 9 application. Everything seems to be working as expected apart from a standard Full Screen button. When clicked it throws an uncaught JavaScript error that can be seen in the browser's Dev…
Alex T
  • 39
  • 1
  • 8
3
votes
1 answer

How to Make Autodesk Viewer Orthographic by Default

I am trying to make the autodesk viewer display files in orthographic mode by default. So far the best solution i've come up with is the following: forgeViewer.addEventListener( Autodesk.Viewing.GEOMETRY_LOADED_EVENT, function setOrtho() { …
3
votes
1 answer

Has the ViewingApplication constructor been removed from the AD Viewer API?

After leaving my Autodesk extension alone for a few weeks, my initialization code is failing to create a ViewingApplication. In my browser's js console, I can see that the Autodesk.Viewing object contains many objects, but it no longer contains any…
PMuren
  • 33
  • 5
3
votes
1 answer

How to get Autodesk Viewer LayerManager to RestoreState properly

I've encountered a bug in the Autodesk Viewer LayerManager extension that breaks the restoreState functionality. I am saving the state of a multilayer DWG file using getState and re-applying that state using restoreState. When i restore state, most…
3
votes
1 answer

Embed the Autodesk Viewer in a web page

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…
Jalps
  • 31
  • 1
  • 3
3
votes
1 answer

STEP File Section Graphical Issue

I am trying to use the sectioning tool on STEP files created in Solidworks and OnShape, and am seeing really thick lines along the edges of the part at the section. I tried the newest viewer release (6.1) and am still experiencing the issue. See the…
1
2 3
99 100