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

Forge Edit2D customize toolset

I'm using the Edit2D extension to draw a Polyline over the 2D model then the path of the polyline is sent to the designautomation API to draw the same polyline in the revit file. The problem I'm having is that the designautomation is drawing the…
mdaguerre
  • 1,237
  • 1
  • 10
  • 22
2
votes
1 answer

Some MarkupsCore event not firing

The event EVENT_MARKUP_DRAGGING for MarkupsCore, as documented here is not working when I do ext.addEventListener('EVENT_MARKUP_DRAGGING', function(ev){console.log('run')}); I have other events working such as EVENT_EDITMODE_CHANGED and…
Jonah
  • 43
  • 5
2
votes
1 answer

Autodesk Forge Viewer: categoryFilter for getBulkProperties2 not working at all

I've got an Autodesk Forge Viewer toolbar extension for which I'm attempting to retrieve a filtered list of elements from the current model. I'm attempting to use getBulkProperties2 for this since it specifically includes categoryFilter in the…
2
votes
1 answer

Is it possible to upload large Revit models (1-2GB) and render faster onto Autodesk Forge viewer?

I am currently developing a web application integrated with Autodesk Forge platform. Application is hosted on AWS. Basically, users upload their Revit files, the model is translated and rendered on the viewer, and the metadata is extracted and do…
2
votes
2 answers

How to Implement Undo

This started out as a question but in the process of asking it I figured out the answer. However since it's not well documented (that I could find anyway) I'm posting here for anyone else that comes along with the same issue. I'm using the Autodesk…
sfaust
  • 2,089
  • 28
  • 54
2
votes
3 answers

How to Change Viewer Model Dynamically

I have a react project and am trying to use the Autodesk Forge viewer. I have it sort of working but am getting a lot of errors and weird behavior that I don't understand. I'm pretty new to both Forge viewer and React so I'm sure I'm missing…
sfaust
  • 2,089
  • 28
  • 54
2
votes
1 answer

Autodesk forge viewer custom markup is not restored on viewer

I created a custom markup following the example: https://forge.autodesk.com/blog/implementing-custom-markups The markup is created, highlighted and edited. We save and send information about the markup on the document to the server. When you open a…
2
votes
0 answers

AutoDesk forge viewer Api integration issue

I am integrating Forge Api in my NodeJs application. All other Api works e.g authentication , creating bucket and translation a model.When I redirect to the html page to view my model it gives the 404 error..I have been stuck on this. Below is the…
Shehryar Tanoli
  • 393
  • 2
  • 4
  • 17
2
votes
1 answer

Rotate model in Autodesk Forge Viewer

Hi I am developing an application using the viewer api. I have a master model. And I load other models on this model. I can move and resize these models that I have uploaded later. I achieved rotation using makeRotationX ,makeRotationY,makeRotationZ…
2
votes
1 answer

Forge Viewer: Autodesk.BoxSelection extension bug

On the project where I work (React, TS), we use the viewer and added the Box Selection extension for it. The first time you activate it with a button in the toolbar, the extension works, the elements are highlighted. Then you can switch to another…
2
votes
1 answer

await AggregateView.waitForLoadDone() sometimes blocks indefinitely when using SVF2

After switching over to SVF2 await aggregated.waitForLoadDone() sometimes blocks indefinitely. Unfortunately I can't reproduce the issue deterministically. It can happen right after starting my app, after loading/unloading models or not at all. I…
Peter
  • 51
  • 5
2
votes
0 answers

Auotdesk Forge Viewing ZIP file with reference Model browser did not shows loaded model names

Zip file uploaded and viewed perfectly, but the model browser did not shows the model names which are currently loaded. So we are not able to distinguish between the loaded models, even not able to understand the elements belongs to which model. is…
2
votes
2 answers

Select particular 3d view to show in autodesk forge viewer

Is there a way to show and select from multiple 3d views using autodesk forge api which has already been uploaded to BIM 360 docs?
Divya
  • 25
  • 1
  • 7
2
votes
1 answer

Moving dynamically loaded model into viewer

I am trying to move the dynamically loaded model inside forge viewer, but I'm getting the following error: Uncaught TypeError: secondModel.getPlacementTransform is not a function I am trying to achieve: dynamically loading model by clicking the…
शेखर
  • 17,412
  • 13
  • 61
  • 117
2
votes
1 answer

How to determine start and end point of an object in autodesk forge 2d viewer

I am finding a way to pass my coordinates from 2D to 3D model. I am stuck with an issue where I have Line/Spine which has Start and End Point. I would like to know how can I get the Start and End point of that line which is been show in my…
Ronak Shetiya
  • 960
  • 6
  • 27