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

Remove tools button from Forge settingsTools Toolbar

I'd like to remove some buttons from the Forge Toolbar. So far I've used the code by @Philippe at PhilippeAnswer and I successfully removed all the buttons in the 'navTools' and 'modelTools'. When trying with the 'settingsTools' I can remove only…
duffra
  • 45
  • 5
2
votes
1 answer

Does the Forge Viewer support the 3ds Max VRay render engine?

Is VRay currently supported or is there any plans to support this render engine in the Forge Viewer? If not, is there currently any support for any other render engine than the currently supported Scanline render engine? Thanks a lot.
Mykita
  • 437
  • 2
  • 8
  • 31
2
votes
2 answers

Why Does Text Markup Size Varies Based on Zoom?

When loading text markups from a database, the text markups show up in a different size based on the current zoom of the viewer. How do I make text markups show at a static size regardless of zoom? function saveFreeformMarkup(markup){ let…
2
votes
2 answers

How to create URN for Revit File from revit plugin or using Forge apis

I need to know is there any possibility to create the URN from Revit file which is in BIM 360 Design. I have Model GUID and Project GUID in my hand. Replays will be appreciated.
2
votes
1 answer

Finding the centre point of the visible parts in the Autodesk Viewer

Excuse the vagueness of this question, but in a model in the viewer, I'd like to know how I can establish the centre point of the visible parts. When I call fit-to-view on a model with hidden parts, I can see a dot appear in the viewer which seems…
2
votes
1 answer

Loading Models in same position, so that it overlays

I'm using the multimodel loader of the Autodesk. When I load the same model to the viewer, the position of previous model shifts to a different position. I'm using transformations, like translation,rotation and scaling, to adjust the position of the…
Bi SAl MhRzn
  • 61
  • 2
  • 7
2
votes
0 answers

Forge Viewer - Resizing window with Forge Viewer instance on the background

Further question on the solution provided on this thread. I have a forge viewer that is not rendering on this page but it is running in the background to save (re)loading at continuous route changes. But when I resize the page, It gives me below…
tink
  • 290
  • 1
  • 12
2
votes
1 answer

Forge viewer: Auto-start animation

We would like to trigger/auto-start an animation/simulation of a specific object (Revit ElementID) when the model loads in the Forge viewer. The goal would be to move a cube (Revit ElementID) back and forth on the floor in a repeating loop. Would…
Mykita
  • 437
  • 2
  • 8
  • 31
2
votes
1 answer

Autodesk PDF Viewer Errors

We are currently using the Autodesk forge viewer to display both 2D and 3D files. We have recently had a few issues around the 2D/PDF functionality that was working prior to the latest updates. Currently we are using viewer version 3.1.3 and any new…
2
votes
1 answer

forge-viewer CSS breaks site styles

We have to include CSS file for forge-viewer, but it breaks our own site styles. For example: - forge CSS contains Alertify styles (they overrides our own custom Alertify styles) - forge CSS has style for "#close" - this breaks our close buttons -…
2
votes
1 answer

Completely unload and reload forge viewer

I'm using the Forge Viewer on an Angular 5 application. Is there a way to completely unload the viewer so it can later be reloaded? I have the following code to unload the viewer: if (this.viewer && this.viewer.running) { this.viewer.tearDown(); …
Ivan Aguilar
  • 565
  • 1
  • 7
  • 22
2
votes
1 answer

Autodesk Model Derivative API - Can't translate my revit file

I'm doing this tutorial from here: I have a sample revit file from revit itself, I saved it as: test1.rvt I get my access token [it works] I create my bucket [it works] I check if my bucket exists [it works] I upload test1.rvt [it works] I…
2
votes
1 answer

Autodesk Forge: What is the difference between dbId, objectId, and nodeId?

What is the difference between dbId, objectId, and nodeId? For example, the first argument of the following functions is the same kind of id or ids? fitToView(objectIds,model) objectIds: array of Ids, or…
k-oshima
  • 37
  • 4
2
votes
1 answer

Show dimensions in Autodesk Forge Viewer

I've started trying the autodesk-forge samples and I would like to customize how elements show up on the viewer. So my question is: Is it possible to show the plan elements' dimensions (as shown in the picture below) with Autodesk-viewer? I can see…
user8444489
2
votes
1 answer

How to get property types

There is possibility to get properties for some model node: model.getProperties(nodeId, /*success handler*/, /*error handler*/) Result is something like this: properties list Property description has field "type" that looks like ID. There can I…