2,010 questions
0
votes
0
answers
21
views
ModelBuilder - Objects disappear when zoom
Video demo
I'm attempting to add custom geometries in the viewer with SceneBuilder:
viewer.addEventListener(Autodesk.Viewing.GEOMETRY_LOADED_EVENT, async function onceLoaded() {
viewer....
-1
votes
1
answer
46
views
Determine if element is visible by the camera [closed]
Is there a way to determine if an object (dbid) is visible by the camera at any point in time?
-2
votes
1
answer
47
views
Autodesk Viewer - setThemingColor not working without Object Tree loaded [closed]
I'm trying to run setThemingColor before the properties are loaded and the object tree is available, since I don't need the recursive option to be true.
However, the coloring doesn't seem to be ...
0
votes
0
answers
29
views
Very slow load on APS viewer
I have Revit models which are around 600-700 mb. When I view them in ACC, they take less than 10 seconds to fully load and render all geometrical elements on the viewer. But when I view them in my APS ...
-1
votes
1
answer
52
views
MD Fetch Properties stuck on 'success'
We are trying to get properties of a Navisworks model uploaded to BIM360 but since the last upload, the fetch properties endpoint seems to always return 'success' without data, even after days.
Is ...
Best practices
0
votes
3
replies
63
views
Forge Viewer - setThemingColor for large models
I am loading a very large svf2 model and need to color its elements by a certain status.
The problem I’m having is that the object tree takes a very long time to download in the viewer.
Given that I ...
0
votes
0
answers
54
views
Error when viewing a translated model in the APS Viewer
From yesterday to today, all our previously translated models in all environments — development, staging, and production — started returning error 404 (“x-ads-troubleshooting: Fail to authorize the ...
0
votes
0
answers
54
views
APS Scoped Tokens results into 401
I implemented scoped tokens (Autodesk Viewer Proxy with streamingV2) and it worked fine so far for two weeks. Today it suddenly stopped working without changing anything on the application side.
The ...
0
votes
1
answer
71
views
How to get SVF2 model components' bounding box using the API?
I need to get the bounding box of the svf2 model components or specific component/Dbid using the API to avoid loading the model each time.
Is this possible?
NB: I am not using the BIM360.
0
votes
0
answers
59
views
Custom Box Selection Tool in Autodesk Viewer (v7) with Ctrl + Left Mouse Drag and Locked Orbit/Pan
screenshot
I'm working with Autodesk Viewer version 7 and trying to implement a custom selection tool. I'd like to add this new selection mode as a button on the Viewer's navigation toolbar.
The ...
0
votes
1
answer
80
views
Autodesk Viewer Proxy with streamingV2
Autodesk recommends in general to use a Proxy for the Viewer, especially for additional authorization.
What would be the recommended way to use it along the streamingV2 Feature, since without it the ...
0
votes
1
answer
60
views
Linked Revit Models to view 3D Rooms and Sheets in Autodesk APS Forge Viewer
Summary: In Revit I can't get the Model Derivative {urn}/references to show linked rooms in Sheets.
In my Forge Viewer I combine multiple large files that are translated using {generateMasterViews: ...
0
votes
1
answer
112
views
Viewer SDK - Access Token Management with Automatic Routing
I am looking for guidance on how to configure authorization token management with automatic routing enabled in the Viewer SDK.
Our application sets up token refreshing using the getAccessToken ...
0
votes
1
answer
40
views
Why is there a difference between viewer state from Autodesk Construction Cloud Issues and the Forge Viewer getState() cutplanes?
I’m working with Autodesk Platform Services (APS/Forge Viewer) and Autodesk Construction Cloud (ACC).
When I fetch an issue state from the ACC Issues API and compare it with the state returned by ...
0
votes
1
answer
73
views
How to get the source file units from a backend?
We look at a way to get the units of a source file, uploaded to ACC, from a backend.
In the frontend, using the viewer, you can use various functions:
NOP_VEWER.model.getUnitScale()
NOP_VEWER.model....
-2
votes
1
answer
57
views
Autodesk Platform Service - How can I get the level data from a translated model if the Revit file does not have any viewable 3D views? [closed]
I have a Revit model that was translated from a Revit file, but the original file does not contain any public 3D views. How can I get the level information from the Model Derivative data?
I am able to ...
1
vote
1
answer
142
views
In the Autodesk Viewer SDK, how do I get the Vectors for a selected element from a locally loaded PDF?
I have been developing a POC application to load a PDF into the Autodesk GUIViewer3D, and using a custom extension, draw PolygonPaths and PolylinePaths over the PDF. My extension is simple, it adds a ...
0
votes
1
answer
67
views
Autodesk Forge Viewer returns 401 error and cannot display file (3-legged authentication / ACC)
I am using Autodesk Forge Viewer (@types/forge-viewer) in a React (TypeScript) project to display files from Autodesk Construction Cloud (ACC). However, I am encountering a 401 error during viewer ...
0
votes
0
answers
45
views
How can I make Autodesk Forge Viewer support IFC v4 files?
I have implemented a Forge Viewer app in JavaScript using the Autodesk Model Derivative API on the backend.
It works fine for IFC files up to version 3, but it does not work for IFC v4 files.
It is ...
0
votes
0
answers
47
views
How to process `MultipleModelUtil.js` in parallel?
I'm currently using `Multiple ModelUtil.js` to handle multiple models. (https://github.com/yiskang/MultipleModelUtil)
Currently, the models are loaded sequentially, which causes performance delays ...
1
vote
1
answer
63
views
Autodesk Viewer: Bounding box calculation for 2D elements always returns null — dbId not found in dbId2fragId
I'm using Autodesk Forge Viewer with two models, one 3D and one 2D. I'm trying to reuse the same custom extension to extract bounding boxes for selected elements by dbId.
In 3D, everything works fine.
...
0
votes
0
answers
46
views
Performance issue when selecting all elements in multi-model setup (19,763 nodes) — how to optimize with grouping?
I'm using Autodesk Viewer (v7) to load multiple architectural models in a multi-model setup using repeated viewer.loadModel() calls.
After loading all models, I select all elements using viewer.select(...
0
votes
2
answers
106
views
How to programmatically enable "Large Model Experience (BETA)"using a profile?
I'm using Autodesk Viewer and noticed there's an option in the settings panel called "Large Model Experience (BETA)".
Is there a way to permanently enable this option via a profile or ...
0
votes
1
answer
113
views
Autodesk Viewer: Error "Cannot read properties of undefined (reading 'transparent')" when loading multiple models
I'm using Autodesk Viewer 7.x and trying to load multiple models using the MultipleModelUtil.js utility from this GitHub repo:
🔗 https://github.com/yiskang/MultipleModelUtil
However, I'm encountering ...
0
votes
1
answer
89
views
How to modify or remove default context menu items and how to create submenus in custom context menu?
I'm using Autodesk Forge Viewer version 7.x and I have two questions regarding the context menu behavior.
Is it possible to modify or remove the default context menu items?
By default, when right-...
0
votes
1
answer
84
views
How do I activate the 'DiffTool' extension in APS Viewer?
We have a React web app in which we are using the Autodesk APS Viewer (v7.98) to view models from BIM 360. In BIM 360, it's possible to use Autodesk's 'DiffTool' extension to see difference between fx ...
0
votes
0
answers
47
views
How can I explode a Block Reference element in APS / Autodesk Forge viewer?
I'm building a software based on .dwg files using APS Viewer. One of the features is to be able to click on elements in the file to count them. However some elements gets grouped together by ...
0
votes
1
answer
69
views
Wrong element selection in Viewer
When I select pipes which are side by side in the viewer, it selects next pipe instead of itself. The hover works correct but not the selection, it's nearly like the model is shifted somehow. Because ...
0
votes
1
answer
50
views
How to find relationships between elements?
I'm currently using the Autodesk Forge APIs to access the Autodesk Construction Cloud. I am able to fetch a Revit file, and I’m displaying it on my platform sheet-wise. I’m able to fetch the sheet-...
0
votes
1
answer
52
views
Secure Service Accounts (SSA) - Model Derivative API
I wanted to ask if Secure Service Accounts (SSA) has restrictions to reach model derivative in ACC although I’m able get information from all the APIs like, comments, issues, item versions, etc.
I can ...
0
votes
1
answer
73
views
Forge Viewer `restoreState` Not Loading Full Building View
I need your support regarding a persistent issue with the Forge Viewer’s restoreState functionality. While restoring isolated or partial views works as expected, attempting to restore the full ...
0
votes
0
answers
44
views
Loading DXF models in parallel will throw error
While using loadDocumentNode to load multiple dxf files with 3D format, it will throw errors ash shown in the following figure.
enter image description here
The code is :
const viewable3d = ...
0
votes
1
answer
91
views
Autodesk platform service aps-iot-extension viewer issue Error:404, 500
After the APS maintenance on February 2024, my APS-iot-extension model cannot work. https://github.com/autodesk-platform-services/aps-iot-extensions-demo
The Error includes: could not obtain the ...
1
vote
1
answer
235
views
Autodesk viewer setGhosting setting, is it possible to set it only for isolated parts?
I am trying to use the setGhosting parameter in the Autodesk Viewer, when I have parts of a model isolated, the ghosting always shows the full model. Is it possible for the ghosting to only show part ...
0
votes
1
answer
56
views
"Autodesk Viewer freezes when using SceneBuilder with Minimap3DExtension in first-person mode
I'm encountering an issue when using both the Autodesk.AEC.Minimap3DExtension and Autodesk.Viewing.SceneBuilder extensions simultaneously in the Autodesk Viewer (formerly Forge).
Problem Description
I ...
0
votes
2
answers
49
views
Autodesk APS viewer Pan and zoom with SVG layer
I am writing an extension on Autodesk APS Viewer (forge), which adds an svg element on top of the model.
I succeeded on creating the svg, getting the bounds and viewbox from the viewer to feed my svg ...
1
vote
1
answer
45
views
Line weights and text styles not displaying correctly in 2D model view (APS Viewer)
When viewing a .dwg model in the Autodesk Platform Services (APS) Viewer, line weights and text styles do not display correctly — all lines appear with uniform, thin weights, regardless of their ...
0
votes
0
answers
57
views
APS Viewer loading ACC models got AUTH-001 403 errors randomly
Starting recently, our application, built with the Viewer SDK and integrated with Autodesk Construction Cloud (ACC) using 2-legged OAuth, is intermittently encountering "No access" errors ...
0
votes
0
answers
32
views
Fragids and dbids relationship without Instance Tree
I’m trying to apply a material to fragments before the object tree is available, due to large model.
I can get the list of fragids but when I try to get the dbid for a lot of them it is 0 for a lot ...
0
votes
0
answers
43
views
How can I store a translated SVF file locally and load it into the Autodesk Viewer in an Angular frontend with a .NET Core backend?
I'm using the Autodesk Model Derivative API to translate design files into the SVF format. Instead of relying on Autodesk's cloud storage, I want to download and store the complete SVF package locally....
1
vote
1
answer
54
views
How to use the Autodesk Viewer API to implement multi-selection of components?
In our developed system, we integrated Autodesk Viewer to display BIM models from ACC. With the default API settings, holding Ctrl and clicking on a BIM model component selects multiple unrelated ...
0
votes
0
answers
21
views
Mismatch in Bounding Boxes between SVF and STL Conversions
I am experiencing an issue with the Autodesk Platform Services (APS) Model Derivative API where the bounding boxes of elements differ between SVF and STL formats when converting from a Parasolid file. ...
0
votes
0
answers
35
views
Error ATF-1024: SAT File to SVF Conversion Failure
I am encountering an issue when attempting to upload a .sat file to the Autodesk OSS bucket and convert it to an SVF file for viewing in the APS Viewer. The process fails with the following errors:
...
0
votes
1
answer
42
views
Why is Autodesk.Viewing.Collaboration not found in Autodesk APS Viewer?
I am trying to load the Autodesk.Viewing.Collaboration extension in the Autodesk APS Viewer (formerly Forge Viewer), but I keep getting the following error:
Unhandled Promise rejection: Extension not ...
0
votes
0
answers
33
views
Deleting Files from Autodesk Viewer
I want to be able to delete files from the Autodesk Viewer. When I delete them - I want them to disappear from my dropdown and not appear as "Model not translated".
I was using the code from ...
1
vote
1
answer
107
views
The coordinate conversion between 2D sheets and 3D models in the APS Forge Viewer
I am planning to use the Forge Viewer to convert coordinates between a 2D sheet and a 3D model. The goal is to store and display certain resources managed on the 2D sheet in model-invariant ...
-1
votes
1
answer
59
views
How to customize the Autodesk.AEC.Minimap3DExtension
I'm trying to implement the Minimap3DExtension and used this Blogpost for it (I know i'm a bit late to the party).
I can run the basic setup like in the blog post but unfortunately I can not find any ...
0
votes
1
answer
76
views
Autodesk viewer Zoom handler
I face an issue with zoom handler.
Sometimes when i start viewer zoom handler zoom to the top of canvas, not to cursor position. After browser window resize or page refresh it fixes. It happens not ...
0
votes
1
answer
33
views
Modifying the hierarchy depth of model browser elements in the Autodesk Platform Services (formerly Forge) Viewer
Capture image
When I click on an element in the model finder, all elements are connected. I want to display only 'Basic wall:Zid 20/15:199028(1)' and hide the 'body part' under the header. If I modify ...
0
votes
0
answers
64
views
Autodesk Forge Viewer setThemingColor Works on viewer.autodesk.com Console but Not in Our Project
We are using Autodesk Forge Viewer in our project and applying colors to elements using setThemingColor(). However, the theming color does not appear on some elements in our project, while the same ...