Questions tagged [autodesk-forge]
For questions related to programmatically using the Autodesk Platform Services, including BIM 360 API, Viewer and Model Derivative.
4,111
questions
0
votes
0
answers
8
views
Autodesk.Viewing.MarkupsCore extension issue with models far from the origin
I'm using Autodesk.Viewing.MarkupsCore extension to add markup to models. But I'm facing an issue with the models that are far from the origin (with high globalOffset).
For example for adding ...
0
votes
1
answer
9
views
AutoDesk Premium Reporting APIs returns 403 Error
When I call contexts API I'm getting 403 forbidden error. Can anyone help me with this issue, please? also, I have premium reporting API permissions.
I have generated the token using 3-legged ...
0
votes
0
answers
7
views
How can I upload Photo to 「Build > Photo」using by APS API?
I want to upload photo(.png) using by APS API.
But I can't find ways.
I checked this site, and checked references of Autodesk sites.
https://aps.autodesk.com/blog/autodesk-build-photos-api
https://aps....
-1
votes
0
answers
14
views
Autodesk Platform Services (formerly Forge) embeded Power BI
I am trying to use the custom power BI visual viewCard.pbviz that I downloaded from the Autodeks site. I am adding an urn to the Config field, but I do not have an External ID to add to the Model ...
0
votes
0
answers
14
views
System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
BOM export Automation throws below exception.
Exception :
System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32\[\] aWrapperTypes, MessageData& ...
-2
votes
1
answer
33
views
Is there anyway to increase the expiration time of access_token
We are trying to use Forge Viewer in offline mode, but the main blocker for this is, the access_token that was acquired gets expired in an hour. Is there any way to increase the expire time?
0
votes
0
answers
5
views
Autodesk Platform Services - Viewer: How do I make the camera normal to a selected face on the part?
I am trying to create a feature where the user can click the face of a model in the viewer and the camera will orient itself normal to the selected face.
The approach I followed was was capturing the ...
0
votes
1
answer
15
views
Context: RuleRunning Object reference not set to an instance of an object. at ThisRule.Main() at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly
Below are the exception getting in Design Automation
12/07/2023 12:50:57] InventorCoreConsole.exe Error: 0 : iLogic error
12/07/2023 12:50:57] Context: RuleRunning
12/07/2023 12:50:57] Details:...
0
votes
1
answer
39
views
Why can't I access React Context variables and states changes inside onClick function of a button in a custom Autodesk extension?
I Have a Viewer component which uses context variables and works fine. I want to implement some custom extensions to this viewer, and I placed their declaration inside useEffect hook running just once,...
0
votes
0
answers
16
views
Autodesk forge about how to calculate global offset
I am trying to do some model operations in C# that require the use of global offset, so I download the metadata.json file to read some of the key information
I have read this answer.
I thought there ...
0
votes
1
answer
11
views
A question about camera vertical rotation
In the model, the camera rotates horizontally around the Z-axis (THREE.Vector3(0, 0, 1)). When rotating vertically, how to determine the rotation vector?
I want to calculate the rotated 'newTarget', ...
0
votes
0
answers
23
views
Cannot import landxml file into dwg using Civil 3D Design Automation
I am tried to import and extract data from a landxml file by importing it into existing dwg file. I have come across this solution in this link:
Use Civil 3D Design Automation to convert landxml file ...
0
votes
1
answer
84
views
Problem The document can not be opened with Design Automation
I have an issue with extracting information of a big model include Revit link file. Before I tested with a small model, and it was working fine, but when I'm try with real project, it responds with &...
0
votes
0
answers
20
views
How to Make a Specific Folder Visible?
I'm currently attempting to automate a construction process using the Fusion 360 API, but I'm having trouble understanding the folder system.
Here's where I am so far:
In the first step, based on user ...
0
votes
2
answers
31
views
Need help on integrate Power Automate with BIM360
I am a Power Automate developer and I would like to pull the data from BIM360 and then save into Excel or SharePoint online. I want to pull the "Issue" from BIM360 as a start.
There is an ...
0
votes
1
answer
21
views
Autodesk Viewer How to get bounding box on a drawing
When I use the place me function in the drawing interface of acc, the drawing will show a bounding box, how can I get this bounding box?
I have read the code related to 2d to 3d space conversion.
...
2
votes
1
answer
44
views
Flaky Responses From The Autodesk Data Management API when reading EMEA ACC projects and folders
Currently, we are experiencing flaky api responses from the Autodesk Data Management API when trying to read projects and folders of EMEA ACC projects. This can happen at various levels, when getting ...
0
votes
0
answers
16
views
Layer from Autocad file do not show correct color on Autodesk Forge Viewer
Im using Forge Viewer to publish my Autocad file, but it seem not show correct color. For example i have layer with white color (rgb(255,255,255)), it show grey instead, sometime it not correct line ...
0
votes
0
answers
50
views
WebHook API execute two time with Design Automation
I have issue with callback from Webhook Services trigger event from ACC, the problem is process execute two time.
Can I know the reason, this is my code :
[HttpPost]
[Route("api/forge/...
0
votes
1
answer
33
views
Autodesk Platform Services Webhooks API - Get user who initiates model.sync from Revit
I am working on a tool for my company that tracks when users sync revit cloudshared models on ACC.
Everything is working as expected, I am getting the right webhook events as expected. The problem is ...
0
votes
1
answer
33
views
File Upload Issues in Autodesk Platform Services
I am trying to upload a file (a .png as a test) directly to the ACC cloud using the Object API. With the following code I get a 200 response back. But I cannot see the uploaded file in the ACC folder. ...
0
votes
0
answers
35
views
Autodesk ForgeViewer: Snapper Function Fails with Overlaid Models Depending on Load Order
I am facing an issue with the Autodesk Forge Viewer's v7.87 snapper functionality when dealing with two overlaid models on top of eachother.
The snapper works as expected when I follow a specific ...
1
vote
1
answer
47
views
File Uploader to the ACC
I have to develop an app that uploads local files to the ACC (without file size and name length restrictions). This app has already been developed before but we have no documentation or access to the ...
0
votes
0
answers
29
views
I want to convert the points in the drawing to the corresponding model space
There is a feature in the acc viewer that allows you to jump to the corresponding position in the model by selecting a point and direction on the screen
enter image description here
enter image ...
1
vote
1
answer
43
views
Efficient Strategies for Loading Complex Models in Autodesk Viewer
I'm seeking expertise on efficiently managing the loading of large, complex models within Autodesk Viewer. Our application involves displaying various models and detailed information of a mechanical ...
0
votes
1
answer
25
views
Can I search for issues in ACC via multiple projects?
Is there a way in ACC to search for issues of a specified issue type via multiple projects?
Using the following GET request I have to specify the project in the call:
https://aps.autodesk.com/en/docs/...
1
vote
1
answer
32
views
How to download zip bundle uploaded in design automation
Hi Autodesk Forge team,
I have a question about Design Automation use APS, how can we download zip bundle of plugin after processs upload zip bundle completed ?
Any help appreciated !
0
votes
1
answer
26
views
How to make hidden nodes selectable
Is there any way to make hidden nodes selectable? Once a user selects and hides say a couple of nodes of a model in the viewer they become transparent, but not selectable anymore.
I've tried the ...
1
vote
1
answer
41
views
How to get workitem of File from ACC use APS?
Hi Autodesk Forge Team !
How can we get workitem of Revit file from ACC? I find some tutorial but just see use process upload file, I want get direct latest version from source urn like:
"...
0
votes
1
answer
34
views
Invalid switch [$(args[rvtFile].path)]. Variables that expand to paths must be quoted
Hi Autodesk Forge team,
I have issue with create activity need help with Design Automation. This is body I'm tried to achive with a activity to extract room data, but have some wrong with command line....
-1
votes
1
answer
33
views
ACC API endpoints: Assign one or more project members directly
I'm trying out the new endpoints added in the ACC API via Postman, which were newly added in version 1.1.0, see Account Admin V1 Changelog. Specifically I am having a problem adding a user to a ...
0
votes
1
answer
22
views
How to Specify EU Region in Forge-APIs NPM Package for Model Derivative Endpoint?
I'm using the forge-apis NPM package to interact with the Autodesk Forge Model Derivative API. While I can access the EU region endpoint directly using curl and confirm that it works, I can't find a ...
0
votes
1
answer
26
views
Converting viewer co-ordinates to AutoCAD drawing co-ordinates
I am using this mark up extension sample in APS viewer,
https://codepen.io/petrbroz/pen/gOMPYRV
My objective is to create a polyline boundary in dwg file using Design Automation based on the markup ...
0
votes
1
answer
54
views
Download the SVF data using Design Automation API (DA)
I want to convert inventor.ipt file to SVF data, and download the SVF data using Design Automation API (DA).
Referring to the following blog, instead of Appbundles, create the iLogicVb file shown ...
0
votes
0
answers
12
views
Forge - WebGL context lost when loading multiple models
Keep getting the error of WebGL context lost when multiple SVF1 files (about 10) are loaded. The error doesn't appear right away but after a few of the models are loaded.
How can I prevent this?
-1
votes
1
answer
57
views
Fail to download from OSS
So i was following this tutorial to get used to the Revit Design Automation API but i am stuck now at task 7 because whenever i create a work item it starts but if i check the status using the ...
0
votes
0
answers
26
views
How to get the dimensions of the equipements of a 3D model in forge
I have a 3D model which is a NWD charged in forge viewer and I want to export for each equipement the dimensions (width, rayon, weight,..). In the 3D model in forge viewer I want for example export ...
1
vote
1
answer
22
views
Changing the aspect ratio of a shape added using SceneBuilder
Can I dynamically change the aspect ratio of a shape added using SceneBuilder?
It is like grabbing the four corners of a shape and dragging and dropping it.
SceneBuilder Extension document: https://...
0
votes
1
answer
18
views
Orient text to face the user when the model is rotated
Is there any event that I can use to detect when the camera (or model) is rotated to orient a text to face the user?
Right now I'm using the last line of this code to face the text, but I need to do ...
0
votes
1
answer
22
views
Can Forge Viewer SDK store files on its own server and open nwd files properly?
Problem description:
1: Can I store files on my own server instead of autodesk?
2: Take question 1: I found a repository on github where viewer-javascript-Offline-sample opens native files, some ...
0
votes
0
answers
71
views
Issue With Get Boundingbox Object Use Model Properties API
I have issue when try get boundingbox use BIM 360/ACC Model Properties API, the result of bboxMin and bboxMax not correct when I compare with the real model use Revit API, and this is ouput from Model ...
0
votes
1
answer
31
views
Get Forge App access token by manual triggering in Power Automate using V2 Authentication
I followed someone's advice for using v2 of forge authentication for my forge app to get access token using a manual trigger in Power Automate.
here is the screen shot but still getting the error of &...
0
votes
1
answer
13
views
Forge - progressbar when using Aggregatedview
Is it possible to avoid the flashing of the progressbar when using AggregatedView and loading multiple models? I would like the progress bar to follow the global loading of the models.
0
votes
1
answer
31
views
Forge SharePoint Online Integration
I am following Forge SharePoint Online Integration text but receiving an error for newly added step "http Get Signed URL".
The new "file-url" is below and I with this I get the ...
0
votes
1
answer
26
views
Loading coordination model in Forge
What's the best way to load a coordination model in Forge:
use Aggregatedview to load multiple Revit files
load the navisworks model converter in Svf
leverage the model coordination / modelset of ACC
...
0
votes
1
answer
29
views
Loading DWF document with 3D annotations in Viewer
We are trying to load a local 'DWF' document into the Viewer according to what is explained here: https://aps.autodesk.com/blog/dwf-and-pdf-support-forge-viewer
The DWF file is created from an ...
0
votes
1
answer
33
views
Get Forge App access token by manual triggering in Power Automate
I am trying to get my forge app access token using a manual trigger in Power Automate. I keep receiving an error saying The client credentials are invalid.
I use " https://developer.api.autodesk....
0
votes
0
answers
22
views
Last_sign_in value not updated for ACC, only BIM 360
When testing the endpoint for GET Users found here:
https://aps.autodesk.com/en/docs/bim360/v1/reference/http/users-:user_id-GET/
The value for "last_sign_in" is not updated when the user ...
0
votes
1
answer
20
views
Snapping extension: TypeError: Cannot read properties of undefined (reading 'clone')
Our web application is utilizing the Snapping extension just as illustrated in this blog post by Petr Broz. We have created three custom snapping tools and they all seem to work fine. However we ...
0
votes
1
answer
38
views
Opening larger models on mobile devices using APS viewer (Autodesk.MemoryLimited)
I have an Autodesk platform services application that uses the viewer.
I encountered a problem that I can't load large models on iPad.
I tried solving the problem using Autodesk.MemoryLimited ...