Autodesk Forge
The Autodesk Forge Block integrates Autodesk Forge into the page. Autodesk Forge is a platform that offers APIs that allow you to access engineering data and designs from the cloud. Some APIs allow you to embed 2D or 3D views of your design into a webpage. The Autodesk Construction Cloud platform (ACC) is another feature that allows the user to construct new engineering designs using web apps. For more details, visit the official Autodesk Forge website.

The visibility property is common to most Blocks;
The user must have an account on AutoDesk Forge to be able to use this section.
This allows you to choose between manually entering a value for the Client ID and Client Secret or selecting from a static variable.

This is the ID and Client Secret which can be found on the AutoDesk profile.
The Client ID and Client Secret properties are required for the Autodesk Forge Block.
Currently, there are only two options. US and EMEA which stands for Europe, Middle East, and Africa.
This is the Autodesk file that will be rendered in the application.
An option to upload a JavaScript file so the user can interact with the model as shown in the model file.
Template:
class {Class Name} extends Autodesk.Viewing.Extension {
load() {
//script when extension is loaded
return true;
}
unload() {
//script when extension is unloaded
return true;
}
onDataLoaded(data){
//Apply data to Forge Model
}
onDataChanged(data, changes){
//Respond to live updates on the dataset by updating Forge Model
}
}
Autodesk.Viewing.theExtensionManager.registerExtension('{Extension Name}', {Class Name});
Properties that are common to most Blocks include: filter, sort, show # of results, and skip # of results;
Last modified 7mo ago