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

Forge Viewer: Efficiently add multiple instances of the same geometry

I have a viewer application that loads multiple (many) documents into a scene. The same components are repeated many times. I am calling ViewingApplication.loadDocument(...) once per file, and Viewer3D.loadModel(...) once per instance in order to…
0
votes
1 answer

Is there any way to use headless viewer with only model browser functionality?

Is there any way to use headless viewer with only model browser functionality i used and follow Headless Viewer usage in angular 5 i used…
sanny
  • 3
  • 5
0
votes
0 answers

Is scope "viewables:read" enough to have a multiple client app forge viewer?

I am building a prototype to have a single Application providing models for forge viewer. Each user should have its model and not be able to see models of others. For this I would consider "separation in application architecture” like described…
Fabien
  • 41
  • 7
0
votes
1 answer

What is the best way to position html in the viewer?

So, I am trying to position HTML in the viewer to almost make it look like it is part of the scene. So, when you move the camera, I want the position of it, in terms of the viewer, to stay where it is. Now, I have tried to shift the HTML to emulate…
Sam Curry
  • 445
  • 2
  • 11
0
votes
0 answers

Autodesk forge hangs when failing to load to many textures

I currently have a model that I try to load on a IOS device that fails to load some textures (this is not the issue at hand!). When delving into wgs.js I noticed that having a texture that fails to load is considered accepted as the other request…
0
votes
1 answer

The model and its texture are not loaded properly inside Forge viewer

I am trying to load a custom model with a texture into Forge Autodesk viewer, using the function loadModel(), that I found here. The other day, the model was loading, but without its texture, and no error appeared... As usual, strange things…
Fred Coud
  • 127
  • 1
  • 1
  • 13
0
votes
1 answer

Autodesk Forge viewer cannot load my model (error code 7)

I followed the forge tutorial and upload a model, translated to SVF, then try to load it in a simple HTML page(Basic Viewer) and got this error. Can you give me some hint of the root cause? I double checked the URN and token many times and didn't…
marklinmao
  • 153
  • 10
0
votes
1 answer

Context menu in headless viewer in forge viewer

I am trying to use headless viewer of autodesk for ipad app with react native web view for hiding the bottom toolbar. But using that I could not get the context menu on right click. Is there any way the context menu can be generated in headless…
0
votes
3 answers

show linked files in autodesk forge viewer

i am trying to make auto-desk forge viewer. using this link Forge & ASP.NET: from zero to hero in 30 minutes and it works fine with single revit file. now i want to view revit document that has linked document and i found this post How to Set…
0
votes
1 answer

Forge Autodesk model's transform matrix

I would like to know what are the two matrix below and what they are used for : placementTransform (1 x 12) refPointTransform (1 x 16) Does anyone know what they are used ? I think it has to do with translation(Tx, Ty, Tz)/rotation (Rx, Ry, Rz) of…
Fred Coud
  • 127
  • 1
  • 1
  • 13
0
votes
0 answers

DWG file does not show up in Forge viewer

I am using Forge Viewer, tested with both Viewer version 2.17 and 4.0, but cannot view DWG files. Those same DWG files can view in Autodesk Viewer (https://viewer.autodesk.com/). I checked all the files were uploaded successfully to my Forge bucket…
Khoa Ho
  • 87
  • 2
  • 13
0
votes
2 answers

Get properties of node inside Forge Autodesk viewer

I work with Forge Autodesk. I display a 3D building in the viewer. I would like to know if there is a way to get a node properties (in the viewer). I have the node number of a floor, and now I want to get the floor's position and rotation values…
Fred Coud
  • 127
  • 1
  • 1
  • 13
0
votes
0 answers

Uncaught TypeError: this.impl.controls.activateTool is not a function

I am using Autodesk Viewer to view rvt models in browser. It is working fine on desktop browsers but not in mobile browsers. I tried remote debugging and found the error. This is the screenshot of the console showing the error…
Awais Khan
  • 41
  • 3
0
votes
1 answer

How to remove an object from the viewer?

I add an item to the viewer with the following function: createText(params) { const textGeometry = new TextGeometry(params.text, Object.assign({}, { font: new Font(FontJson), params })); const…
Sam Curry
  • 445
  • 2
  • 11
0
votes
1 answer

Viewer started to display odd quality

I would like to copy the viewer settings similar to which that are used in the translated files (View results) coming from models.autodesk.io It seems to me that there has been a recent change in the API, as my settings no longer displays the way it…
artobii
  • 175
  • 11