Code Samples
Extract Revit Properties
https://github.com/autodesk-platform-services/aps-extract-spreadsheet
Uses the Model Derivative API to extract properties from a Revit file and generate an Excel Spreadsheet, where each sheet will contain one type/category of objects.
Node.js
, JavaScript_ES6
, Model_Derivative_V2
Translate a Model for Display in the Viewer (Node.js)
https://github.com/Autodesk-Forge/learn.forge.viewmodels/blob/nodejs/routes/modelderivative.js
This code sample is a part of a larger project to display a model in the Viewer. This implements a route that starts a translation job to translate a model to the SVF format.
Node.js
, JavaScript_ES6
, Model_Derivative_V2
Translate a Model for Display in the Viewer (.NET Framework)
This code sample is a part of a larger project to display a model in the Viewer. This adds a .NET WebAPI Controller named ModelDerivativeController to translate a model to the SVF format.
.NET_Framework
, C#
, Model_Derivative_V2
Translate a Model for Display in the Viewer (.NET Core)
This code sample is a part of a larger project to display a model in the Viewer. This adds a class/file named ModelDerivativeController to translate a model to the SVF format.
.NET_Core
, C#
, Model_Derivative_V2