Using the built-in Autodesk.Geolocation extension to implement a minimap
Debug access rights issues from access token
You can run into various issues by trying to access a resource that does not belong to you or by using the wrong scopes when requesting an access token. See Setting the scope for the access token or
Automation - Count/Delete Revit elements sample
Follow @JohnOnSoftware There are 3 Revit Automation plugins at Step-by-step tutorial, based on 2 of them, CountIt and DeleteWalls, I created the Web app sample to count and delete Revit elements. This
search returns different dbId than selection in UI
You can use the search() function to find elements with certain properties and that might return a different element from the one you imagine. When selecting through the UI, always the leaf elements
When to remove toolbar buttons
Sometimes you may want to restrict which buttons you make available for the user. In that case you can just find the specific button and use removeControl() function to remove it. However, depending
3-legged authentication with Postman
Here are the texts shown in the above image: Callback URL: https://www.getpostman.com/oauth2/callback Auth URL: https://developer.api.autodesk.com/authentication/v1/authorize Access Token URL: https:/
Viewer Release Notes: v 6.5
Changed To properly support models with animation, on-demand-loading is disabled in viewer.loadDocumentNode() when Autodesk.Fusion360.Animation is present in BubbleNode's extensions. UI code for the
Viewer does not stay in its container
Problem When putting the Viewer inside a div container which is smaller than the document, then the Viewer spreads outside that container - see above image. Solution The Viewer is using position