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
2 answers

Prevent zoom in Forge viewer when clicking in Model Browser

There has been a change in the click behavior in the model browser from version 2 to version 3 of the Forge Viewer. In v2, a single click would select the elements and a double click would zoom to the selected elements. In v3, a single click will…
FrodeTo
  • 83
  • 1
  • 10
0
votes
1 answer

Forge Viewer - Custom background image

My understanding is that we can add custom skyboxes to the viewer. As of now I am also aware the feature that changes background color and gradient. However, is it possible to add a custom background image? This would've been really helpful in our…
T. Pex
  • 73
  • 9
0
votes
0 answers

Viewer `rayIntersect` doesn't ignore transparents when it should

For some reason when I'm trying to cast a ray using viewer.rayIntersect it still hits transparent objects. Looking at the rayIntersect implementation it looks like _modelQueue.rayIntersect ignores transparent objects while…
Naoric
  • 355
  • 2
  • 10
0
votes
1 answer

How to get X, Y coordinates in 2D drawing of Forge viewer

I would like to get the X and Y coordinates of a 2D drawing on mouse click. Then I can draw something on top of this 2D drawing. Here is the code to get the coordinates on mouse click but it is not…
Khoa Ho
  • 87
  • 2
  • 13
0
votes
1 answer

Forge Viewer: Materials doesn't display correctly from .rvt

I have added some materials to a couple of the rooms in my Revit model which seems to end up displaying pure green color (no "Office" text) when the file is uploaded to the Forge Viewer. Is this a familiar matter? Here are the images for…
T. Pex
  • 73
  • 9
0
votes
2 answers

Forge viewer should preserve selected Home view

When the user clicks 'Set current view as Home' on the drop-down arrow to the bottom-right of the 3d Cube, the selected view is not preserved the next time the model is loaded into the viewer. It is only preserved for the currently loaded session in…
Don Porter
  • 45
  • 4
0
votes
1 answer

Persist capture screenshots of model views

I need to capture model view screenshots and use them later. When I capture the screenshot, save and render without refreshing page. it works but when I refresh the page, it renders with broken screenshot image. What I am doing - Capture…
sushilprj
  • 2,203
  • 1
  • 14
  • 19
0
votes
1 answer

Forge viewer: 3D markups with text

We're trying to display markups in a specific location (upper right) on top of each object in our 3D model. We would also want to render text on the 3D markups. Is this possible? If it is, we will put a post processing shader on top of it so it…
Mykita
  • 437
  • 2
  • 8
  • 31
0
votes
2 answers

How to get location with dbid in 2D view

There is a simular question: How to get location with dbid in 2D but hasn't been anwsered. So I have the same question, is there a way to get the object location info using dbid in 2D view? We have a requirement in our product to mark certain…
0
votes
1 answer

Autodesk viewer - Lack of data with local svf file

I have the following problem with the Autodesk API - viewer. When I read a file with an urn, I can get data such as refPointTransform. But when I load a local svf file, I can't. Here is a photo with an urn: As you can see, there is…
Wandrille
  • 6,267
  • 3
  • 20
  • 43
0
votes
1 answer

Add events to Viewing Application

Is it possible to add event listeners to a viewing application? I know it's possible to add them on a viewer object using the addEventListener method, but how can I add events to a viewing application? CLARIFICATION: I know I can use…
Ivan Aguilar
  • 565
  • 1
  • 7
  • 22
0
votes
1 answer

Events to listen to before updating camera

Updating camera and target based on dbid of a selected node. The code starts with MobileVR function. I am updating camera and target according to frag mesh retrieved with dbid and then moving to VR mode. Currently I have an event listeners for…
Joni Turunen
  • 137
  • 1
  • 13
0
votes
1 answer

disable double click to zoom in autodesk viewer online

When selecting many elements in the Autodesk's online viewer, I double click accidentally and the model zooms to the element. I have to zoom and pan to the view I'm comfortable with again and it is very annoying. Is there a way to disable this…
hk1ll3r
  • 811
  • 1
  • 6
  • 14
0
votes
1 answer

How to re-process an existing Autodesk file with updated version?

We have a scenario where Box(box.com) has multiple versions for same file and we need to update and process the current version of file in our application. Please let me know the process to upload new file version in same bucket and process…
sushilprj
  • 2,203
  • 1
  • 14
  • 19
0
votes
1 answer

Reload the panel in Autodesk Viewer

Please have a look at my Autodesk Viewer extension I am try to reload the Extension/Panel My extension SmokeDetectorsExtension will load once when the viewer was loading the file. In my docking panel called SimplePanel I want to show some IOT…
1 2 3
99
100