Skip to content

jrandersen/revit_to_airtable

Repository files navigation

Revit Data <--> AirTable | Tutorial

License: MIT  

Write a Revit exporter and store the information in AirTable.

Technologies used:

  • PyRevit
  • NoCodeAPI

Learning objectives

This workflow is intended to be an entry level, fast, nimble workflow to allow someone to extract and aggregate information quickly.

  • We will start by building functions in IronPython for PyRevit to harvest model elements and attributes.
  • We then translate the element data into dictionary format needed for the API.
  • We will then write functions for NoCodeAPI to do CRUD (create, read, update, delete) operations in an AirTable base.
  • We will create in AirTable, and write functions to manage a sync table to keep track of model sync events.
  • We will learn to encapsulate and obfuscate API endpoints in an environments like file for basic security.

Get Started Using pyRevit

Go here to learn how to install pyRevit.

More guides are available here: Create Your First Command

 

Getting our application up and running

Sprint One

  • Sprint 1 - Get a custom tab, panel & button wired up in Revit UI
  • Sprint 1 - Write functions to extract rooms output
  • Sprint 1 - Establish a rooms table in AirTable, write function for a put request through NoCodeAPI. .

Sprint Two

  • Sprint 2 - Establish an environments like file, update API endpoints.
  • Sprint 2 - Establish a 'sync' table in AirTable.
  • Sprint 2 - Write functions to manage 'sync' events.

 

Credits

Made with love in Asheville, NC

Tutorial portion Copyright © 2022 by Jason Andersen. All Rights Reserved

About

Tutorial connecting Revit <> Airtable

Topics

Resources

Stars

Watchers

Forks

Languages