I have used model derivative API for geometry and data extraction. Now I want to extract model information in excel sheet. I read the post https://github.com/Autodesk-Forge/viewer-javascript-extract.spreadsheet but I have many questions. Like how to add reference to the ForgeXLS file? And where? What is Forgexlsx? How to call download method? Please explain it in detail. Similarly on another post https://github.com/Autodesk-Forge/model.derivative-csharp-context.menu. I haveID and secret and changed it web.configure. But what next? How to compile the solution?
Asked
Active
Viewed 175 times
1 Answers
1
The Extract spreadsheet sample is pure JavaScript. All the required files are on the github repo. You need the ForgeXLS that implements the extraction process, the other files used are on the Libraries folder.
The Context menu sample is bit more complex. As per readme setup, you'll need to compile the whole .NET solution, register the CSShellExtContextMenuHandler.dll on the regasm, which triggers the Translator.exe. You'll need to deploy the TranslatorServer ASP.NET project. Not sure how familiar you are with .NET projects (compile, deployment, etc).

Augusto Goncalves
- 8,493
- 2
- 17
- 44
-
On the extract spreadsheet sample, look at the Index file (https://github.com/Autodesk-Forge/viewer-javascript-extract.spreadsheet/blob/master/index.html) and you can use the URN (line 30) and the token endpoint (line 56). The Context Menu requires compile and deploy, which is a bit more complicated, so I would suggest you start with .NET & ASP.NET basics first. – Augusto Goncalves Feb 20 '17 at 17:25