/revit-bim:manage-sheetsfrom revit-bim
Creates, organizes, and manages Revit drawing sheets and views using Dynamo Python. Handles batch sheet creation from lists or Excel, placing views, applying view templates, and renumbering sheets.
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.
Perform sheet/view operation:
"$ARGUMENTS"
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
# ── Dynamo inputs ────────────────────────────────────────────────────────────
# IN[0] = list of sheet numbers (strings), e.g. ["A-001", "A-002", "A-003"]
# IN[1] = list of sheet names (strings), e.g. ["Ground Floor Plan", "Roof Plan", "Sections"]
sheet_numbers = IN[0] if isinstance(IN[0], list) else [IN[0]]
sheet_names = IN[1] if isinstance(IN[1], list) else [IN[1]]
# ── Get the first available title block type ─────────────────────────────────
tb_types = list(FilteredElementCollector(doc)
.OfCategory(BuiltInCategory.OST_TitleBlocks)
.WhereElementIsElementType()
.ToElements())
tb_id = tb_types[0].Id if tb_types else ElementId.InvalidElementId
TransactionManager.Instance.EnsureInTransaction(doc)
created = []
skipped = []
try:
for number, name in zip(sheet_numbers, sheet_names):
# Check if sheet number already exists
existing = [v for v in FilteredElementCollector(doc)
.OfClass(ViewSheet).ToElements()
if v.SheetNumber == number]
if existing:
skipped.append({'Number': number, 'Status': 'Already exists'})
continue
sheet = ViewSheet.Create(doc, tb_id)
sheet.SheetNumber = number
sheet.Name = name
created.append({
'Number': number,
'Name': name,
'Id': sheet.Id.IntegerValue,
'Status': 'Created'
})
TransactionManager.Instance.TransactionTaskDone()
OUT = [created, skipped]
except Exception as e:
TransactionManager.Instance.ForceCloseTransaction()
import traceback
OUT = 'ERROR: ' + str(e) + '\n' + traceback.format_exc()
# IN[0] = sheet number (string)
# IN[1] = view name (string)
# IN[2] = placement point [x, y] in sheet coordinates (optional, defaults to centre)
sheet_number = IN[0]
view_name = IN[1]
point_xy = IN[2] if len(IN) > 2 else [0.3, 0.3]
sheet = next((v for v in FilteredElementCollector(doc)
.OfClass(ViewSheet).ToElements()
if v.SheetNumber == sheet_number), None)
view = next((v for v in FilteredElementCollector(doc)
.OfClass(View).ToElements()
if v.Name == view_name
and not v.IsTemplate), None)
if sheet and view:
if Viewport.CanAddViewToSheet(doc, sheet.Id, view.Id):
TransactionManager.Instance.EnsureInTransaction(doc)
placement = XYZ(point_xy[0], point_xy[1], 0)
vp = Viewport.Create(doc, sheet.Id, view.Id, placement)
TransactionManager.Instance.TransactionTaskDone()
OUT = 'Placed view "' + view_name + '" on sheet ' + sheet_number
else:
OUT = 'View is already on a sheet or cannot be placed'
else:
OUT = 'Sheet or view not found'
# IN[0] = view template name (string)
# IN[1] = list of view names to apply it to
template_name = IN[0]
view_names = IN[1]
template = next((v for v in FilteredElementCollector(doc)
.OfClass(View).ToElements()
if v.IsTemplate and v.Name == template_name), None)
if not template:
OUT = 'Template not found: ' + template_name
else:
TransactionManager.Instance.EnsureInTransaction(doc)
applied = []
for vname in view_names:
v = next((vw for vw in FilteredElementCollector(doc)
.OfClass(View).ToElements()
if vw.Name == vname and not vw.IsTemplate), None)
if v:
v.ViewTemplateId = template.Id
applied.append(vname)
TransactionManager.Instance.TransactionTaskDone()
OUT = 'Applied template to: ' + str(applied)
If the user has a spreadsheet with new numbers and names:
# IN[0] = 2D list from Excel: [[old_number, new_number, new_name], ...]
data = IN[0]
TransactionManager.Instance.EnsureInTransaction(doc)
results = []
for old_num, new_num, new_name in data:
sheet = next((v for v in FilteredElementCollector(doc)
.OfClass(ViewSheet).ToElements()
if v.SheetNumber == str(old_num)), None)
if sheet:
sheet.SheetNumber = str(new_num)
sheet.Name = str(new_name)
results.append({'Old': old_num, 'New': new_num, 'Status': 'OK'})
else:
results.append({'Old': old_num, 'New': new_num, 'Status': 'NOT FOUND'})
TransactionManager.Instance.TransactionTaskDone()
OUT = results
tb_types returns empty, the model has no loaded title block family — load one first from Insert → Load FamilyXYZ(0.3, 0.3, 0) places the view roughly in the lower-left area of a standard sheetvp.SetBoxCenter() to reposition preciselyWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
revit, dynamo, sheet-management, bim-automation, drawing-register
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