Technologies used:
- PyRevit
- NoCodeAPI
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.
Go here to learn how to install pyRevit.
More guides are available here: Create Your First Command
- 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 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.
- Ehsan Iran-Nejad for developing pyRevit
- Icons8 and its contributors for the sweet free icons
- Everyone else listed on the pyRevit Repo
Tutorial portion Copyright © 2022 by Jason Andersen. All Rights Reserved