All Projects → Autodesk-Forge → viewer-javascript-extract.spreadsheet

Autodesk-Forge / viewer-javascript-extract.spreadsheet

Licence: MIT license
Extract Revit Properties into Excel: This sample uses Model Derivative API endpoints to read a Revit project properties and create a XLSX Excel file with one sheet for each type/category with all objects on it

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to viewer-javascript-extract.spreadsheet

forge.commandline-nodejs
Authorisation and translation via console application: Command line tool demonstrating the authorisation and translation process using a Node.js console application
Stars: ✭ 15 (-57.14%)
Mutual labels:  viewer, model-derivative
models.autodesk.io
Authorization and file translation demo in Node.js : Translates your 2D/3D models online for the Forge Viewer without programming at all
Stars: ✭ 43 (+22.86%)
Mutual labels:  viewer, model-derivative
Pandasgui
PandasGUI is a GUI for viewing, plotting and analyzing Pandas DataFrames.
Stars: ✭ 2,495 (+7028.57%)
Mutual labels:  viewer
Quick Picture Viewer
🖼️ Lightweight, versatile desktop image viewer for Windows. The best replacement for the default Windows photo viewer.
Stars: ✭ 237 (+577.14%)
Mutual labels:  viewer
Lol Model Viewer
League of legends model and animation viewer based on WebGL. https://tengge1.github.io/lol-model-viewer
Stars: ✭ 211 (+502.86%)
Mutual labels:  viewer
Dspdfviewer
Dual-Screen PDF Viewer for latex-beamer
Stars: ✭ 184 (+425.71%)
Mutual labels:  viewer
Edi
Edi - The open source text editor IDE based on AvalonDock and AvalonEdit
Stars: ✭ 220 (+528.57%)
Mutual labels:  viewer
Mediapy
This Python library makes it easy to display images and videos in a notebook.
Stars: ✭ 128 (+265.71%)
Mutual labels:  viewer
vim-webgl-viewer
An easy to use online 3D model viewer based on Three.JS.
Stars: ✭ 41 (+17.14%)
Mutual labels:  viewer
Saba
OpenGL Viewer (OBJ PMD PMX)
Stars: ✭ 208 (+494.29%)
Mutual labels:  viewer
Graphql Rover
🚀 GraphQL + Vue.js + D3.js schema viewer, powered by introspection.
Stars: ✭ 239 (+582.86%)
Mutual labels:  viewer
Dicompyler
Extensible radiation therapy research platform and viewer for DICOM and DICOM RT
Stars: ✭ 195 (+457.14%)
Mutual labels:  viewer
Markdown Edit
online markdown editor/viewer
Stars: ✭ 188 (+437.14%)
Mutual labels:  viewer
Bootstrap Listr
Beautiful, responsive directory listings built upon Bootstrap
Stars: ✭ 231 (+560%)
Mutual labels:  viewer
Goiv
Small and simple image viewer written in pure Go.
Stars: ✭ 182 (+420%)
Mutual labels:  viewer
Vscode Data Preview
Data Preview 🈸 extension for importing 📤 viewing 🔎 slicing 🔪 dicing 🎲 charting 📊 & exporting 📥 large JSON array/config, YAML, Apache Arrow, Avro, Parquet & Excel data files
Stars: ✭ 245 (+600%)
Mutual labels:  viewer
Logviewer
📃 Provides a log viewer for Laravel
Stars: ✭ 2,098 (+5894.29%)
Mutual labels:  viewer
Wiv
Window image viewer [DEPRECATED]
Stars: ✭ 196 (+460%)
Mutual labels:  viewer
Jsontreeviewer
json formatter/viewer/pretty-printer (with jsonTree javascript-library)
Stars: ✭ 211 (+502.86%)
Mutual labels:  viewer
viewer
🖼 Simple file viewer with slideshow for media
Stars: ✭ 68 (+94.29%)
Mutual labels:  viewer

viewer-javascript-extract.spreadsheet

JavaScript sample to extract Revit files from Model Derivative API as Spreadsheet (Excel XLSX)

Viewer License Model-Derivative

Description

This sample uses Model Derivative API endpoints to read a Revit project properties and create a XLSX Excel file with one sheet for each type/category with all objects on it. Non-Revit files are not supported (different structure). Here is another version for desktop.

thumbnail

Demonstration

Run it live at this page, or locally by following these steps:

  • create a Forge application if you don't have one yet (tutorial)
  • make sure you have at least one file prepared for viewing (tutorial)
  • clone this git repository
  • navigate to the repository root folder and install npm dependencies
    • on Windows/macOS/Linux: npm install
  • prepare required environment variables
    • on Windows:
      set FORGE_CLIENT_ID=<your client id>
      set FORGE_CLIENT_SECRET=<your client secret>
      set FORGE_BUCKET=<your data bucket>
      
    • on macOS/Linux:
      export FORGE_CLIENT_ID=<your client id>
      export FORGE_CLIENT_SECRET=<your client secret>
      export FORGE_BUCKET=<your data bucket>
      
  • run the application
    • on Windows/macOS/Linux: npm run dev
  • go to http://localhost:3000

Usage

Add reference to the ForgeXLS file:

<script src="ForgeXLS.js"></script>

Then call downloadXLSX method passing the URN and a data:read token.

function downloadExcel() {
   ForgeXLS.downloadXLS(theURN, token, statusCallback /*Optional*/);
}

Dependencies

This project depends on Sheet JS to manipulate spreadsheet files. The FileSaver library is used to create & download a file on the client. BlobJS is required for older browsers (see compatibility). jQuery is also used.

<script src="jquery.min.js"></script>
<script src="Blob.js"></script>
<script src="FileSaver.min.js"></script>
<script src="xlsx.core.min.js"></script>

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Written by

Augusto Goncalves @augustomaia, Forge Partner Development

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].