459 questions
0
votes
1
answer
975
views
How to set up skybox in Autodesk Forge
I want to add a skybox to my Forge scene, but Forge is different from three.js. I want to know what I can do for it.
I have tried new THREE.CubeTextureLoader, but the three.js in Forge doesn't have ...
0
votes
3
answers
1k
views
Revit shared coordinates to Forge viewer
What is the correct process for getting a transform between Forge coordinates and Revit's shared coordinates? I know there is globalOffset, but does it reference the Revit project internal coordinate ...
1
vote
1
answer
769
views
Is it possible to get the name of saved views of nwd models in Forge?
I'm aware that it's possible to get the cameras from saved views in the Navisworks models, but it would be great to get the names as well. When uploading a nwd file to a BIM 360 Document Management ...
1
vote
1
answer
824
views
How to match objectids from Autodesk Model Derivative API metadata with Forge Viewer model dbids?
I am building an application around Autodesk Forge Viewer, where I add extra functionalities using basic functions from Viewer (coloring, isolating etc.) depending on client data.
This application ...
0
votes
1
answer
1k
views
Decals not displaying in Autodesk Viewer
When using the Autodesk Viewer, decals do not seem to display as expected. The image above has the decal displaying correctly (not rendered in Autodesk Viewer), and the image below has no decal (...
2
votes
1
answer
3k
views
Get THREE.Mesh elements in Autodesk Forge Viewer
I would like to get the THREE.Mesh object of an element in Autodesk Forge Viewer. Here is the code:
var dbId; // geometry node Id of an element
var viewer; // GuiViewer3D
var mesh = viewer.impl....
2
votes
2
answers
2k
views
API Download File from BIM360 Doc Plans folder
I am trying to download file from Autodesk BIM360 Doc (https://docs.b360.autodesk.com) with the Forge API so the files can be then afterward archieved to our local storage.
I have managed to download ...
1
vote
1
answer
521
views
How to use Forge Viewer Snapper?
I'm trying to use Snapper functionnalities from Forge Viewer in order to ask user to pick a point and then retrieve point world coordinates of selected point.
I look at this topic but doesn't work ...
1
vote
1
answer
2k
views
Autodesk Forge viewer renders only single page for PDF files
In our application we're using Autodesk Forge Viewer to render 3D and 2D design files. Files with other formats get rendered pretty well. But in case of the pdf files, only the first page gets ...
0
votes
1
answer
796
views
How can I create section box in forge viewer
I wanted to build a section box inside forge viewer. I have the minx, maxX, minY, maxY through area marking. Also I have minZ and maxZ through level selection (levels[i].elevation – globalOffset.Z).
...
0
votes
1
answer
174
views
Problem of aps-iot-extensions-demo and Animating Sprite Viewables:Sprite can't be moved automatically
I am a student in the Department of Architecture of National Cheng Kung University in Taiwan. It is my first time to use stackoverflow. The Autodesk staff told me that I can come here to ask questions ...
3
votes
3
answers
991
views
Autodesk Construction Cloud - Get file Description attribute
Surely there is a way to read the description attribute of a file in Docs using the API?!?!
It isn't returned using this endpoint as it isn't a custom attribute:
https://aps.autodesk.com/en/docs/...
3
votes
1
answer
1k
views
Getting webGL error in autodesk viewer
I am getting error like:
Uncaught TypeError: Cannot read property '__webglFramebuffer' of null
when i am going to another page linked with the page which has autodesk viewer attached . I dont know ...
2
votes
1
answer
1k
views
how to get the urn of the bucket file
Please tell me how to get the urn of the bucket file.
You can get the urn that is included in the response when uploading to the bucket, but I'd like to obtain the urn of the file already uploaded to ...
2
votes
1
answer
2k
views
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 &...
2
votes
1
answer
504
views
Place a custom object into viewer space using GPS coords
I am placing marker objects on a model using data taken from drone surveys. I have access to high accuracy GPS data and also omega/phi/kappa rotation data.
The goal is to move the viewer camera into ...
1
vote
1
answer
493
views
Unable to get bounding box for 2D element in IOS UIWebView Forge viewer
I have used below code to get bounding box of 2D element.
function find2DBounds(fragList, fragId, dbId, bc)
{
const mesh = fragList.getVizmesh(fragId);
const vbr = new Autodesk.Viewing.Private....
1
vote
3
answers
1k
views
How to declare reference to an existing namespace which is available from JavaScript bundle at runtime
I am writing a plugin for existing JavaScript app - Forge Autodesk.Viewing
After version 6 they have included THREE.js inside of their app bundle.
Right now I'm able to use it with my plugin like this:...
1
vote
1
answer
434
views
persistence of externalId Navisworks files
I've been using the externalId to uniquely refer to objects in the forge viewer and connect them with outside data about these objects. This has worked well for revit files, which have a kind of GUID ...
1
vote
1
answer
495
views
How can I find which Revit files are linked in BIM 360 via Forge?
In certain circumstances, BIM360 will serve a zip file of a Revit document along with its links, such as explained here: https://forums.autodesk.com/t5/bim-360-document-management/linked-revit-files-...
1
vote
1
answer
1k
views
How Autodesk Forge viewer manages multiple scenes to select multiple elements
I want to understand how Autodesk Forge viewer stores node elements in multiple THREE.Scene objects. There are several scenes:
viewer.impl.scene // The main scene
viewer.impl.overlayScenes // Three ...
1
vote
1
answer
4k
views
Controlling camera in Forge viewer
I'm trying to control the camera in the Autodesk Forge Viewer. Setting target and position seems to work fine, but if I try to set rotation or quaternion it do not have any effect.
To get the camera ...
1
vote
1
answer
300
views
Forge Viewer fails to dispaly PDF's
I am using the sample C# SDK for using the Forge Derivative service and viewer. I've been successful with using any document but not with PDF. All the PDF's I've tried, translated successfully but it ...
1
vote
1
answer
2k
views
how can i find the location of the Revit Project Base Point
We want to show a marker on the different origin locations of Revit files.
I can show the Revit Iternal Point (viewer.model.getData().refPointTransform)
and also the Survey Point (viewer.model....
1
vote
1
answer
494
views
How can i force design automation to open detached model?
Question about the Design Automation API.
Is it possible to create a Design Automation script that removes worksharing so that Design Automation can work on the rest of the file and then throw that ...