/revit-bim:create-schedulefrom revit-bim
Creates, configures, and automates Revit schedules, quantity takeoffs, and material takeoffs using Dynamo Python.
Ships in revit-bim. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Create a Revit schedule for:
"$ARGUMENTS"
Clarify:
import clr
clr.AddReference('RevitServices')
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
clr.AddReference('RevitAPI')
from Autodesk.Revit.DB import *
doc = DocumentManager.Instance.CurrentDBDocument
# ── Configuration — edit these ───────────────────────────────────────────────
SCHEDULE_NAME = 'BIM Manager - Door Schedule'
CATEGORY = BuiltInCategory.OST_Doors # ← change category as needed
# Built-in parameters to add as schedule fields
# (comment out the ones you don't need, add others)
DESIRED_PARAMS = [
BuiltInParameter.ALL_MODEL_MARK,
BuiltInParameter.ALL_MODEL_TYPE_NAME,
BuiltInParameter.DOOR_WIDTH,
BuiltInParameter.DOOR_HEIGHT,
BuiltInParameter.ALL_MODEL_DESCRIPTION,
BuiltInParameter.ALL_MODEL_MANUFACTURER,
]
TransactionManager.Instance.EnsureInTransaction(doc)
try:
# ── Create the schedule ──────────────────────────────────────────────────
category_id = ElementId(CATEGORY)
schedule = ViewSchedule.CreateSchedule(doc, category_id)
schedule.Name = SCHEDULE_NAME
# ── Get all schedulable fields ───────────────────────────────────────────
all_fields = list(schedule.Definition.GetSchedulableFields())
# ── Add desired parameter fields ─────────────────────────────────────────
desired_ids = set(ElementId(p) for p in DESIRED_PARAMS)
added = 0
for sf in all_fields:
if sf.ParameterId in desired_ids:
schedule.Definition.AddField(sf)
added += 1
# Fallback: if none matched, add the first 6 available fields
if added == 0:
for sf in all_fields[:6]:
schedule.Definition.AddField(sf)
# ── Add sorting by the first field ──────────────────────────────────────
if all_fields:
sort_field = ScheduleSortGroupField(all_fields[0].FieldId)
schedule.Definition.AddSortGroupField(sort_field)
TransactionManager.Instance.TransactionTaskDone()
OUT = 'Schedule created: ' + schedule.Name + ' (Id: ' + str(schedule.Id.IntegerValue) + ')'
except Exception as e:
TransactionManager.Instance.ForceCloseTransaction()
import traceback
OUT = 'ERROR: ' + str(e) + '\n' + traceback.format_exc()
After creating the schedule, add a filter to show only elements matching a condition:
# Example: show only doors wider than 900mm (≈ 2.95 ft)
min_width_ft = 900 / 304.8
# Get the Width field
width_field = next((f for f in schedule.Definition.GetFields()
if f.GetName() == 'Width'), None)
if width_field:
rule = ScheduleFilterValueRule(
width_field.FieldId,
ScheduleFilterType.GreaterThanOrEqual,
min_width_ft
)
flt = ScheduleFilter(rule)
schedule.Definition.AddFilter(flt)
# IN[0] = sheet number string (e.g. "A-001")
sheet_number = IN[0]
sheet = next((v for v in FilteredElementCollector(doc)
.OfClass(ViewSheet).ToElements()
if v.SheetNumber == sheet_number), None)
if sheet:
TransactionManager.Instance.EnsureInTransaction(doc)
# Place at a point on the sheet (adjust coordinates as needed)
placement_point = XYZ(0.1, 0.1, 0)
ScheduleSheetInstance.Create(doc, sheet.Id, schedule.Id, placement_point)
TransactionManager.Instance.TransactionTaskDone()
OUT = 'Schedule placed on sheet: ' + sheet_number
else:
OUT = 'Sheet not found: ' + sheet_number
If the user wants several schedules at once (one per level, or one per discipline):
# IN[0] = list of [schedule_name, category_bic_name] pairs
# Example: [["Level 1 Doors", "OST_Doors"], ["Level 1 Rooms", "OST_Rooms"]]
schedule_defs = IN[0]
created = []
TransactionManager.Instance.EnsureInTransaction(doc)
for name, bic_name in schedule_defs:
bic = getattr(BuiltInCategory, bic_name)
sched = ViewSchedule.CreateSchedule(doc, ElementId(bic))
sched.Name = name
# Add first 5 fields automatically
for sf in list(sched.Definition.GetSchedulableFields())[:5]:
sched.Definition.AddField(sf)
created.append(name)
TransactionManager.Instance.TransactionTaskDone()
OUT = 'Created: ' + str(created)
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub utopia5327/claude-plugin-for-revit-bim --plugin revit-bim25 skills in this plugin
/acc-api-setupSet up Python authentication and a reusable client for the Autodesk Platform Services (APS) API to access Autodesk Construction Cloud (ACC). Use this skill first before any other ACC API script — it handles OAuth2 token acquisition (2-legged and 3-legged), environment configuration, hub/project discovery, and the Python boilerplate that all ACC API scripts depend on. Trigger on phrases like "ACC API setup", "authenticate with APS", "get an APS token", "connect to ACC", "Autodesk API token", "APS credentials", "set up Forge API", "configure ACC API", "get access token Autodesk", or whenever a user is starting to write ACC/APS API scripts and needs the authentication foundation. Always offer this skill before any other ACC API skill if the user hasn't authenticated yet.
/acc-coordinateWork with Autodesk Construction Cloud (ACC) Coordinate — list and inspect model sets, retrieve clash results, create clash issues, manage model activation for coordination, and export coordination reports via the APS Model Coordination API. Use this skill when a user needs to automate clash detection workflows, pull clash data from ACC for reporting, create ACC issues from clashes, check which models are active in a model set, or integrate ACC coordination data with other tools. Trigger on phrases like "ACC Coordinate", "model coordination", "model set", "clash results", "clash data", "ACC clashes", "coordination space", "activated models", "clash issues", "federated model", "coordination report", "BIM coordination", or any request to work with ACC's model coordination module via API. Also offer this when users want to export or report on clash data from ACC.
/acc-design-collaborationGuide Revit ↔ ACC Design Collaboration workflows — setting up cloud worksharing, creating and consuming design packages, shared views, Design Collaboration setup, model publishing, and Revit cloud model best practices. Also covers the API for querying shared views and design package status. Use this skill when a user needs help with Revit cloud models, BIM 360 Design / ACC Design Collaboration, creating or receiving design packages, activating models for coordination, or troubleshooting cloud worksharing issues. Trigger on phrases like "Design Collaboration", "cloud worksharing", "Revit cloud model", "design package", "shared views", "consume package", "publish model to ACC", "BIM 360 Design", "Revit cloud", "cloud model", "collaboration workflow", "ACC Revit workflow", or any request involving the Revit-to-ACC publishing and collaboration pipeline.
/acc-docsManage Autodesk Construction Cloud (ACC) Docs — list folders and files, upload documents, download files, create folder structures, manage transmittals, reviews, and packages via the APS Data Management API and ACC Docs REST API. Use this skill when a user needs to automate document control workflows in ACC: bulk uploading drawing sets, creating folder structures, listing published files, downloading specific versions, setting up transmittals, creating document packages, or writing reports of what's in their ACC Docs library. Trigger on phrases like "ACC Docs", "upload to ACC", "download from ACC", "list files in ACC", "document control", "ACC folder", "transmittal", "document package", "file versions", "publish drawings", "drawing register", "ACC file management", or any request to read, write, or organise files in Autodesk Construction Cloud Docs.
/acc-reportsExport ACC project data to CSV or Excel — issues, RFIs, document logs, clash summaries, transmittals, and project activity reports — using the APS REST API with Python. Use this skill when a user needs to report on ACC project health, export an issues register, pull RFI status into a spreadsheet, generate a document transmittal log, create a clash trend report, or produce any data export from Autodesk Construction Cloud. Trigger on phrases like "export issues", "issues report", "RFI report", "ACC report", "export from ACC", "document log", "clash report", "ACC data export", "project status report", "pull data from ACC", "ACC Excel export", "transmittal log", or any request to extract or report on data stored in Autodesk Construction Cloud.
/analyze-roomsAnalyze rooms, spaces, and areas in a Revit model — GIA calculations, space program comparison, department breakdowns, unbounded/unplaced room audits, and CSV export. Use this skill when a user wants to calculate total floor area, check room areas against a brief, export a room data table, find unplaced or unbounded rooms, or produce a GIA (Gross Internal Area) report. Trigger on phrases like "room areas", "GIA", "space program", "analyze rooms", "unbounded rooms", "area schedule", "room data", "floor area summary", "net internal area", or any request involving Revit room/space quantities. Also use when someone mentions area validation before planning submission.
Other plugins' skills for the same job