Hi,
I’m trying to build a workflow to generate and maintain a material library in Revit from an Excel file and I’m looking for advice on the best approach before I start building the script.
The idea is that each row in Excel represents one material that should be created if it does not exist, or updated if it already exists in the Revit project. The Excel file should therefore act as the source of truth for the material data.
The Excel sheet structure looks roughly like this:
| Materialnamn | Kommentar / Användning | Kategori | Brandklass | Lambda (W/mK) | Densitet (kg/m3) | Specifik värmekapacitet (J/kgK) |
|---|---|---|---|---|---|---|
The mapping to Revit would be:
-
Materialnamn → Material Name
-
Kommentar / Användning → Comments
-
Kategori → Description
-
Brandklass → Custom material parameter called Brandklass
-
Lambda (W/mK) → Thermal Conductivity
-
Densitet (kg/m3) → Density
-
Specifik värmekapacitet (J/kgK) → Specific Heat
The goal is that the Excel file can be edited over time, and the Dynamo/Revit workflow can be run again to synchronize the materials (creating new materials and updating existing ones).
My questions are:
-
What is the recommended workflow for this?
-
Is Dynamo + Python a good approach, or would Revit API / add-in be better?
-
What is the best way to handle Thermal Assets when creating or updating materials from data?
-
Are there any existing tools or packages that already solve this type of workflow?