AI assistsWorkflow guide · not independently tested

How do I coordinate door fire ratings with their host wall ratings in a Revit model using AI before the drawings go out?

Door schedules drift away from the walls they sit in. A door type named 60 MIN carries 45 in its Fire Rating parameter, a door in a rated wall has the rating left blank, a stair door gets the rating of the corridor partition, a 90-minute pair lands in a non-rated wall and quietly costs money, two doors share one mark, and a door sits in a wall type nobody rated. Revit will not put the host wall's rating in a door schedule by itself, so export the doors with their host wall type (a short Dynamo graph or pyRevit script that ChatGPT or Claude can write for you), type one Wall Types table from your life safety plan, and have Copilot in Excel, Gemini in Google Sheets or a short script run the model QA check on every door: blank or unreadable ratings, a type name that disagrees with the parameter, a rating below the opening rating you set for that wall type, rated doors in walls you set to zero, wall types missing from your table, and duplicate marks. The required rating for each wall type, and every rating decision, stay with the architect.

Role
Architect
Discipline
Architecture
Tools
Autodesk Revit, ChatGPT, Claude, Microsoft Excel, Microsoft Copilot, Google Sheets, Gemini
Updated

Tool links listed below; vendor features and pricing change, so confirm with the vendor.

Short answer

Use ChatGPT or Claude, then Copilot in Excel or Gemini in Google Sheets: ChatGPT or Claude writes the short Dynamo or pyRevit export that puts each door next to its host wall type, then Copilot or Gemini (or a short script) converts every door rating to minutes, looks up the opening rating you typed for that wall type, and flags blank or unreadable ratings, type names that disagree with the parameter, ratings below your table, rated doors in walls you set to zero, wall types missing from your table and duplicate marks. Door schedules drift away from the walls they sit in. A door type named 60 MIN carries 45 in its Fire Rating parameter, a door in a rated wall has the rating left blank, a stair door gets the rating of the corridor partition, a 90-minute pair lands in a non-rated wall and quietly costs money, two doors share one mark, and a door sits in a wall type nobody rated. Revit will not put the host wall's rating in a door schedule by itself, so export the doors with their host wall type (a short Dynamo graph or pyRevit script that ChatGPT or Claude can write for you), type one Wall Types table from your life safety plan, and have Copilot in Excel, Gemini in Google Sheets or a short script run the model QA check on every door: blank or unreadable ratings, a type name that disagrees with the parameter, a rating below the opening rating you set for that wall type, rated doors in walls you set to zero, wall types missing from your table, and duplicate marks. The required rating for each wall type, and every rating decision, stay with the architect. A person still checks: the required opening rating for every wall type against the life safety plan and the adopted code, and every flagged door, before the schedule is issued; labels, hardware, glazing and smoke and draft control are checked separately by the architect.

AI tie-in

Tool: ChatGPT or Claude, then Copilot in Excel or Gemini in Google Sheets

ChatGPT or Claude writes the short Dynamo or pyRevit export that puts each door next to its host wall type, then Copilot or Gemini (or a short script) converts every door rating to minutes, looks up the opening rating you typed for that wall type, and flags blank or unreadable ratings, type names that disagree with the parameter, ratings below your table, rated doors in walls you set to zero, wall types missing from your table and duplicate marks.

Prompt 1

Write a pyRevit script (Python, read-only, no transactions) for Revit that collects every door instance in the active model and writes a CSV with these columns: Mark, Level, Door Type (family and type name), Door Fire Rating (the Fire Rating type parameter of the door type, as text), Host Wall Type (the type name of the wall the door is hosted in, read from the door's Host; write NO HOST if there is none), From Room and To Room (room number and name in the final phase; blank if none). Save it next to the model as doors.csv and print how many doors were written and how many had no host. Explain each line in a comment. Do not change any element or parameter.

Prompt 2

EXAMPLE DATA ONLY (not from a real project). Doors tab: Mark, Level, Door Type, Door Fire Rating, Host Wall Type, From Room, To Room. Wall Types tab typed by me from my life safety plan: Wall Type, Wall Fire Rating, Required Opening Rating (minutes). Write Excel formulas (or a step-by-step Copilot plan) that convert each door rating to minutes (1 HR = 60, NR = 0, blank stays blank), look up the Required Opening Rating for the host wall type, and flag blank or unreadable ratings, a rating number in the type name that differs from the parameter, ratings below the required value, rated doors in walls set to 0, wall types missing from my tab and duplicate marks. Use only my rows; do not supply any fire rating from memory and do not say whether any door complies with code.

Human check: The required opening rating for every wall type against the life safety plan and the adopted code, and every flagged door, before the schedule is issued; labels, hardware, glazing and smoke and draft control are checked separately by the architect.

The problem

Check door fire ratings against their host wall ratings in a Revit door schedule export with AI before the set goes out. This is a common, time-consuming task for a architect.

What this workflow does

Door schedules drift away from the walls they sit in. A door type named 60 MIN carries 45 in its Fire Rating parameter, a door in a rated wall has the rating left blank, a stair door gets the rating of the corridor partition, a 90-minute pair lands in a non-rated wall and quietly costs money, two doors share one mark, and a door sits in a wall type nobody rated. Revit will not put the host wall's rating in a door schedule by itself, so export the doors with their host wall type (a short Dynamo graph or pyRevit script that ChatGPT or Claude can write for you), type one Wall Types table from your life safety plan, and have Copilot in Excel, Gemini in Google Sheets or a short script run the model QA check on every door: blank or unreadable ratings, a type name that disagrees with the parameter, a rating below the opening rating you set for that wall type, rated doors in walls you set to zero, wall types missing from your table, and duplicate marks. The required rating for each wall type, and every rating decision, stay with the architect.

How it works: AI drafts or analyzes. A person operates the tools, checks the work, and takes action.

Your checkpoint: The check only sees the parameters you export and the table you type. It cannot tell whether your Wall Types tab is right for each wall's actual purpose, whether a wall type is used in more than one kind of assembly, whether a rated door also needs a label, closer, latching, smoke and draft control or limited glazing, or whether the door that ships matches the scheduled type, so the architect checks the required ratings against the life safety plan and the adopted code, and the hardware and door submittals are reviewed on their own.

Before you start

  • Access to the named tool; confirm license, version and cost with the vendor.
  • A small, non-confidential sample to try the workflow on first.
  • A qualified person to review the output before it is used.

Tools and access

Follow the steps

  1. Get each door's host wall into a door export. A Revit door schedule cannot show fields from the wall a door is hosted in, so have ChatGPT or Claude write a short Dynamo graph or pyRevit script (prompt below) that reads each door's host wall (FamilyInstance.Host in the Revit API), and writes Mark, Level, door type, the door type's Fire Rating, host wall type name, and the from and to rooms to a CSV. Run it on a saved copy; it only reads the model.
  2. Type a Wall Types tab from your life safety plan: one row per wall type with its Fire Rating and the opening rating you require in it. For openings in rated assemblies under the IBC, that comes from the opening protectives section (Section 716 in the 2021 and 2024 editions) of the edition your jurisdiction adopted, read in your own licensed copy. The rating depends on what the wall is (fire barrier, shaft, corridor, smoke partition and so on), not only its hours, so two 60-minute wall types can need different doors. Do not let the AI fill this tab from memory.
  3. Have Copilot in Excel or Gemini in Google Sheets (or the script below) read each door's Fire Rating into minutes, so 1 HR, 60, 60 MIN and NR compare correctly, and look up its host wall type on the Wall Types tab.
  4. Flag every door whose rating is blank or unreadable, whose type name says one rating and whose parameter says another, whose rating is below the opening rating you set for its wall type, that is rated but sits in a wall type you set to zero, whose wall type is not on your tab (curtain walls and new types show up here), and every mark used more than once.
  5. Fix the data in Revit (type parameter, the type assigned to the door, or the wall type), rerun the export, and confirm the flag count drops to the rows you have decided on purpose. Keep the export with the issue date so the next round can be compared.
  6. Send the remaining rows to the architect or life safety reviewer as one list. The flags are text matching and arithmetic on numbers you typed; which rating each opening needs, labels, glazing, hardware and smoke and draft control stay with them.

Try a small example

EXAMPLE DATA ONLY: fictional door marks, wall types and ratings for practice, not from a real project or a published trial. The Wall Types values are typed for this demo, not taken from any code table; type yours from your life safety plan and your licensed copy of the adopted code. Paste the Sample input into Copilot or Gemini with the Starter prompt, then compare your results to Expected output.

Sample input

Doors tab (example, saved as doors.csv; one row per door from the Dynamo or pyRevit export)
Mark,Level,Door Type,Door Fire Rating,Host Wall Type,From Room,To Room
D101,Level 1,Single Flush HM - 90 MIN,90,WT-A2,101 Stair 1,102 Corridor
D102,Level 1,Single Flush HM - 60 MIN,45,WT-B1,103 Elec,102 Corridor
D103,Level 1,Single Flush WD,,WT-B1,104 Trash,102 Corridor
D104,Level 1,Single Flush WD - 20 MIN,20,WT-C1,105 Office,102 Corridor
D105,Level 1,Single Flush WD,0,WT-S,106 Office,105 Office
D106,Level 1,Pair HM - 90 MIN,90,WT-S,107 Storage,106 Office
D107,Level 2,Single Flush HM - 60 MIN,1 HR,WT-B1,201 Shaft,202 Corridor
D108,Level 2,Single Flush WD - 20 MIN,20,WT-B1,203 Mech,202 Corridor
D108,Level 2,Single Flush WD,0,WT-S,204 Office,205 Office
D110,Level 2,Storefront Single,NR,CW-1,206 Lobby,202 Corridor
D111,Level 2,Single Flush HM - 45 MIN,45 MIN,WT-D9,207 Storage,202 Corridor
D112,Level 2,Single Flush HM - 60 MIN,60,WT-A2,208 Stair 2,202 Corridor

Wall Types tab (example, saved as wall_types.csv; typed by you from your life safety plan, minutes)
Wall Type,Wall Fire Rating,Required Opening Rating
WT-A2,120,90
WT-B1,60,60
WT-C1,60,20
WT-S,0,0

Your settings (example values): ratings in minutes; 1 HR = 60; NR and 0 mean no rating; a blank rating stays blank; a door type name that includes a rating (for example 60 MIN) should match the Fire Rating parameter

Starter prompt

EXAMPLE DATA ONLY (not from a real project). Doors tab: a Revit door export with Mark, Level, Door Type, Door Fire Rating, Host Wall Type, From Room and To Room. Wall Types tab typed by me from my life safety plan: Wall Type, Wall Fire Rating and Required Opening Rating in minutes. Write Excel formulas (or a step-by-step Copilot plan) that convert each Door Fire Rating to minutes (1 HR = 60, NR = 0, blank stays blank), look up the host wall type, and flag: blank or unreadable ratings, a number in the door type name that differs from the rating, a rating below the Required Opening Rating for that wall type, a rated door in a wall type set to 0, host wall types missing from my tab, and duplicate marks. Use only my rows; do not supply any required fire rating from memory or say whether a door meets code.

Expected output

Expected results on this example (output of the script below on these rows)
D102  Single Flush HM - 60 MIN   rating    45  host WT-B1 
      ! type name says 60 min, Fire Rating parameter says 45
      ! door 45 min is below the 60 min you set for WT-B1
D103  Single Flush WD            rating blank  host WT-B1 
      ! Fire Rating blank; your Wall Types tab sets 60 min openings for WT-B1
D106  Pair HM - 90 MIN           rating    90  host WT-S  
      ! rated door (90 min) in WT-S, which you set to 0 min: confirm it is intended
D108  Single Flush WD - 20 MIN   rating    20  host WT-B1 
      ! mark D108 used 2 times
      ! door 20 min is below the 60 min you set for WT-B1
D108  Single Flush WD            rating     0  host WT-S  
      ! mark D108 used 2 times
D110  Storefront Single          rating     0  host CW-1  
      ! host wall type CW-1 is not on your Wall Types tab
D111  Single Flush HM - 45 MIN   rating    45  host WT-D9 
      ! host wall type WT-D9 is not on your Wall Types tab
D112  Single Flush HM - 60 MIN   rating    60  host WT-A2 
      ! door 60 min is below the 90 min you set for WT-A2

12 doors checked, 8 with flags, 4 clean
Flags only. Required opening ratings come from the life safety plan and the adopted code; the architect confirms every rating.

Read it this way: D102 is a 60 MIN type carrying 45 in its parameter, so either the type was duplicated and only the name was edited, or the parameter is wrong; it is also below the 60 you set for WT-B1. D103 sits in a WT-B1 wall with no rating at all, which is the row most likely to be missed on paper. D106 is a 90-minute pair in a wall you set to zero; maybe intended, maybe an expensive copy-paste. D108 appears twice, so one of the two schedule rows is hiding a door. D110 is in a curtain wall type and D111 in a wall type that is not on your tab, so the check cannot judge them; add the types or check those openings by hand. D112 has a 60-minute door in a wall type you set to 90. D107 reads as clean because 1 HR is converted to 60 before the comparison.

Suggested Excel logic (write against your own sheet layout)
- Minutes: =IF(TRIM([@[Door Fire Rating]])="","",IF(OR(UPPER(TRIM([@[Door Fire Rating]]))="NR",[@[Door Fire Rating]]="0"),0,IF(ISNUMBER(SEARCH("HR",[@[Door Fire Rating]])),60*VALUE(TRIM(SUBSTITUTE(UPPER([@[Door Fire Rating]]),"HR",""))),VALUE(TRIM(SUBSTITUTE(UPPER([@[Door Fire Rating]]),"MIN","")))))).
- Required: =XLOOKUP([@[Host Wall Type]],WallTypes[Wall Type],WallTypes[Required Opening Rating],"NOT ON TAB").
- Below: =AND(ISNUMBER([@Minutes]),ISNUMBER([@Required]),[@Minutes]<[@Required]). Blank in rated wall: =AND([@Minutes]="",N([@Required])>0). Rated in zero wall: =AND(N([@Minutes])>0,[@Required]=0).
- Duplicate mark: =COUNTIF([Mark],[@Mark])>1. Name vs parameter: pull the number before MIN in the type name with TEXTBEFORE and TEXTAFTER and compare it to Minutes.

Same check as a short Python script (our own code; reads the rows above saved as doors.csv and wall_types.csv)
import csv, re
from collections import Counter

def minutes(txt):
    """'90', '90 MIN', '1 HR', '1-1/2 HR', 'NR', '0' -> minutes; blank -> None."""
    t = (txt or "").strip().upper()
    if not t: return None
    if t in ("NR", "NONE", "N/A", "-"): return 0
    m = re.match(r"^(\d+)(?:-(\d+)/(\d+))?\s*(HR|HOUR|HOURS|H)\b", t)
    if m:
        hrs = int(m.group(1)) + (int(m.group(2)) / int(m.group(3)) if m.group(2) else 0)
        return round(hrs * 60)
    m = re.match(r"^(\d+)\s*(MIN|MINUTES|M)?$", t)
    return int(m.group(1)) if m else "?"

def name_minutes(door_type):
    m = re.search(r"(\d+)\s*(MIN|HR)\b", door_type.upper())
    if not m: return None
    return int(m.group(1)) * (60 if m.group(2) == "HR" else 1)

walls = {r["Wall Type"].strip(): r for r in csv.DictReader(open("wall_types.csv", encoding="utf-8-sig"))}
doors = list(csv.DictReader(open("doors.csv", encoding="utf-8-sig")))
marks = Counter(d["Mark"].strip() for d in doors)
n_flagged = 0
for d in doors:
    mark, dtype, host = d["Mark"].strip(), d["Door Type"].strip(), d["Host Wall Type"].strip()
    rating = minutes(d["Door Fire Rating"])
    flags = []
    if marks[mark] > 1: flags.append(f"mark {mark} used {marks[mark]} times")
    if rating == "?": flags.append(f"rating '{d['Door Fire Rating']}' not readable")
    nm = name_minutes(dtype)
    if nm is not None and isinstance(rating, int) and nm != rating:
        flags.append(f"type name says {nm} min, Fire Rating parameter says {rating}")
    w = walls.get(host)
    if not host:
        flags.append("no host wall in the export; check this opening on the life safety plan")
    elif w is None:
        flags.append(f"host wall type {host} is not on your Wall Types tab")
    else:
        req = minutes(w["Required Opening Rating"])
        if rating is None and req and req > 0:
            flags.append(f"Fire Rating blank; your Wall Types tab sets {req} min openings for {host}")
        elif isinstance(rating, int) and req is not None and rating < req:
            flags.append(f"door {rating} min is below the {req} min you set for {host}")
        elif isinstance(rating, int) and rating > 0 and req == 0:
            flags.append(f"rated door ({rating} min) in {host}, which you set to 0 min: confirm it is intended")
    shown = "blank" if rating is None else rating
    if flags:
        n_flagged += 1
        print(f"{mark:5} {dtype:26} rating {shown!s:>5}  host {host or '-':6}")
        for f in flags: print(f"      ! {f}")
print(f"\n{len(doors)} doors checked, {n_flagged} with flags, {len(doors) - n_flagged} clean")
print("Flags only. Required opening ratings come from the life safety plan and the adopted code; the architect confirms every rating.")

Check the result

  • Every value, citation or quantity traces back to a source document.
  • Missing information is marked as missing, not filled in.

Limits and recovery

  • The check only sees the parameters you export and the table you type. It cannot tell whether your Wall Types tab is right for each wall's actual purpose, whether a wall type is used in more than one kind of assembly, whether a rated door also needs a label, closer, latching, smoke and draft control or limited glazing, or whether the door that ships matches the scheduled type, so the architect checks the required ratings against the life safety plan and the adopted code, and the hardware and door submittals are reviewed on their own.
  • Check your organization’s data policy before sharing project files with third-party tools.

Stop or switch when: The source cannot be verified, permissions are missing, or the result contains unsupported facts.

Frequently asked questions

How does AI help with this?

ChatGPT or Claude, then Copilot in Excel or Gemini in Google Sheets: ChatGPT or Claude writes the short Dynamo or pyRevit export that puts each door next to its host wall type, then Copilot or Gemini (or a short script) converts every door rating to minutes, looks up the opening rating you typed for that wall type, and flags blank or unreadable ratings, type names that disagree with the parameter, ratings below your table, rated doors in walls you set to zero, wall types missing from your table and duplicate marks. A person still checks: The required opening rating for every wall type against the life safety plan and the adopted code, and every flagged door, before the schedule is issued; labels, hardware, glazing and smoke and draft control are checked separately by the architect.

How do I how do I coordinate door fire ratings with their host wall ratings in a Revit model using AI before the drawings go out??

Get each door's host wall into a door export. A Revit door schedule cannot show fields from the wall a door is hosted in, so have ChatGPT or Claude write a short Dynamo graph or pyRevit script (prompt below) that reads each door's host wall (FamilyInstance.Host in the Revit API), and writes Mark, Level, door type, the door type's Fire Rating, host wall type name, and the from and to rooms to a CSV. Run it on a saved copy; it only reads the model. Type a Wall Types tab from your life safety plan: one row per wall type with its Fire Rating and the opening rating you require in it. For openings in rated assemblies under the IBC, that comes from the opening protectives section (Section 716 in the 2021 and 2024 editions) of the edition your jurisdiction adopted, read in your own licensed copy. The rating depends on what the wall is (fire barrier, shaft, corridor, smoke partition and so on), not only its hours, so two 60-minute wall types can need different doors. Do not let the AI fill this tab from memory. Have Copilot in Excel or Gemini in Google Sheets (or the script below) read each door's Fire Rating into minutes, so 1 HR, 60, 60 MIN and NR compare correctly, and look up its host wall type on the Wall Types tab. The full step list is above.

Does this use an AI agent or regular software?

It is labeled AI assists: AI drafts or analyzes. A person operates the tools, checks the work, and takes action.

What tools do I need?

Autodesk Revit, ChatGPT, Claude, Microsoft Excel, Microsoft Copilot, Google Sheets, Gemini. Confirm license, version and cost with the vendor, and try it on a small non-confidential sample first.

Has this workflow been tested?

Workflow guide · not independently tested. Written from vendor documentation and practitioner use. Labels apply to the steps described here, not every feature of a product. Links were checked when the page was written. The sample script below was run on the example rows shown.

Evidence and maintenance

Written from vendor documentation and practitioner use. Labels apply to the steps described here, not every feature of a product. Links were checked when the page was written. The sample script below was run on the example rows shown.

How each workflow is labeled

Agent executes
An AI agent calls connected tools to carry out bounded actions. You set permissions and review the result.
AI assists
AI drafts or analyzes. A person operates the tools, checks the work, and takes action.
Conventional automation
Rules or specialist software perform the task. No AI agent is required.