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

Cannot read property 'updateMaterials' of null in viewer3D.js

I'm getting Type Error when trying to destroy the viewer in Angular2. for that I tried this code, ngOnDestroy() { if (this.viewer && this.viewer.running) { this.viewer.tearDown(); this.viewer.finish(); …
3
votes
2 answers

Forge function generateTexture()

In the following example, there is a function called generateTexture(). Is it possible to draw text (numbers) into the pixel array? Or is it possible to draw text (numbers) on top of that shader? Our goal is to draw a circle with a number inside…
Torbjorn
  • 45
  • 4
3
votes
1 answer

3D Boolean operations with Three CSG

Following the example here: http://learningthreejs.com/blog/2011/12/10/constructive-solid-geometry-with-csg-js/ And using Three.js with https://github.com/chandlerprall/ThreeCSG, I'm trying to do 3D boolean operations on nodes from the model. Like…
shinzou
  • 5,850
  • 10
  • 60
  • 124
3
votes
1 answer

Aligning Coordinate Systems in Autodesk Forge Viewer

I would like to display some reference lines in the viewer that are not shown by default when a drawing is uploaded to Forge. I know the exact end points of the lines as they were defined in the model, however, it seems that the model in the viewer…
JGeerWM
  • 810
  • 10
  • 16
3
votes
1 answer

How to set performance and appearance settings in Autodesk Viewer?

I have been having trouble using JavaScript to preset performance and appearance settings for the viewer. I wanted to pre-define some of the settings like anti-aliasing, and shadows to be off on load. I am new to this API and basically couldn't…
Mike
  • 375
  • 1
  • 14
3
votes
4 answers

How to share buckets in the Autodesk Data Management API?

How might one share access to their Autodesk bucket to enable other users to view and collaborate on their uploaded models? If the Autodesk Forge Data Management API supports sharing of bucket access or something similar it was clear to me in the…
3
votes
1 answer

SVF POST job file conversion failure

A friend and I are following the Autodesk Viewer tutorial here: https://developer.autodesk.com/en/docs/viewer/v2/tutorials/basic-viewer/ We've both completed all the previous steps except for the very last of using the APIs POST job endpoint to…
2
votes
1 answer

Persistent Cache Memory Growth Issue in Forge Viewer

I am currently encountering a persistent cache memory growth issue within our Forge Viewer implementation and need assistance in resolving this matter. The problem at hand is that the cache memory utilization keeps expanding while using the…
2
votes
1 answer

Forge APS Viewer - Revit Color Scheme - How to get room color from 2D Viewer

We are trying to retrieve the Room colors (based on Views with Revit Color Scheme) from Sheets viewed in the 2D Viewer: Color Scheme in Revit For this purpose I retrieve all the rooms and get their materials: const tree =…
Duzmac
  • 421
  • 1
  • 5
  • 14
2
votes
0 answers

7.88 glrenderer is null on MediaQueryList.onPixelRatioChanged

Since version 7.88 I have this error with the forge-viewer: TypeError: Cannot read properties of null (reading 'glrenderer')","TypeError: Cannot read property 'glrenderer' of null in this location: MediaQueryList.onPixelRatioChanged my…
heaxyh
  • 573
  • 6
  • 20
2
votes
0 answers

Forge Viewer getState() returns unexpected values of isolated items

we are using the latest forge viewer in our angular application and we are saving the current state of the viewer in our DB so that we can later restore the state again. Due to intensive testing we found, that the isolated nodes are not correctly…
mudo121
  • 54
  • 7
2
votes
2 answers

Autodesk Forge viewer PDF extension

Currently, I am working on an app that utilizes the Forge Viewer PDF extension to view PDF drawings in a local environment. Everything works great if the files are stored in local storage. However, I have created an AWS S3 bucket to store the files…
Abed Aarabi
  • 51
  • 1
  • 5
2
votes
1 answer

Revit 2021 viewer in WPF application

I'm looking to integrate revit viewer in wpf C# application. Any reference with example will help.
2
votes
1 answer

How to find and select multiple elements in APS/Forge Viewer based on dbid, from a large Revit model?

We have a large Revit model uploaded (~4 GB total), and have a list of 30-40 Revit element IDs we are trying to find in the viewer and select on screen, then create a section box around. We have tried to create a map of all elements and dbids, then…
2
votes
1 answer

How can I filter only on elements in the Autodesk Forge Viewer API that are relevant for quantity take off?

For BIM model quantity take off I need to filter on all elements that are relevant for quantity take off. Below are some visual examples of the element I need (green circled) and which elements I don't need (red cross) Example 1 Example 2 How can…
Roderik
  • 31
  • 2