科研 Skill
Revit工作流自动化
revit-workflow
Plans and reviews safe Autodesk Revit, pyRevit, Revit API, and Dynamo workflows with transaction-safe scripting and verification plans. Use for Revit-specific model automation or review.
SKILL.md
Revit Workflow
Use this skill for Revit-specific automation and review. Keep general CAD/BIM strategy in cad-bim-automation; activate this skill when the task depends on Revit concepts, pyRevit, Dynamo, or the Revit API.
Start with the environment
Record what is known before proposing implementation:
- Revit release and project type.
- Host: Revit API add-in, pyRevit, Dynamo, external automation, or manual workflow.
- Model scope: local, central/workshared, linked, cloud-hosted, family, or template.
- Target categories, views, sheets, schedules, parameters, families, and element IDs when available.
- Whether the operation is read-only or mutating.
Leave unknown values as UNKNOWN. Do not invent API members, parameter identifiers, units, or version-specific behavior.
Safety contract
- Prefer a read-only inventory or dry run before mutation.
- Never overwrite the only copy of a model, family, export, or generated schedule.
- Scope mutations to explicit element sets and report the proposed count first.
- Treat worksharing ownership, design options, groups, links, pinned elements, and read-only parameters as possible blockers.
- Use the host's supported transaction model for mutations; do not imply that partial writes are safe when the runtime cannot guarantee them.
- Separate Revit facts observed in the project from assumptions and external documentation.
- Require competent human review for regulated design conclusions.
Workflow
1. Define the invariant
State what must remain true after the operation: element count, unique IDs, parameter schema, sheet numbering, family placement, geometry, or another measurable condition.
2. Inventory
Produce a compact preflight table with target scope, candidate count, exclusions, blockers, and unknowns. For write operations, identify a reversible output or backup strategy.
3. Choose the smallest automation surface
Prefer the least complex surface that reliably satisfies the task:
- Native Revit UI for one-off deterministic edits.
- Dynamo for graph-friendly parameter/data transformations that benefit from visual inspection.
- pyRevit for repeatable team tools and lightweight Python-driven workflows.
- Revit API add-ins for compiled, maintainable integrations requiring deeper API control.
Do not claim one surface is universally superior.
4. Plan mutations
Describe selection/filter logic, validation gates, transaction boundaries, failure handling, and output logging before code or graph construction. For parameter writes, preserve storage type and unit semantics.
5. Verify
After execution, compare before/after counts and the invariant. Sample changed elements by stable identifiers where possible. Report skipped and failed elements separately from successful changes.
Output contract
For implementation plans, return:
- Environment and assumptions
- Preflight inventory
- Proposed workflow
- Mutation/transaction boundaries
- Verification and rollback
- Unknowns requiring confirmation
For reviews of existing scripts or graphs, prioritize data-loss risks, transaction correctness, version assumptions, element filtering, parameter/unit handling, and observable verification.
Boundaries
Do not present Autodesk API details as current unless they are verified against the relevant Revit release documentation or the user's inspected environment. Do not encode office-specific standards or jurisdictional rules as universal Revit behavior.
示例提示词
帮我写一个pyRevit脚本批量更新这些族的参数和明细表。
所属插件
安装该插件会一并获得同领域的 44 个 Skill / MCP。
同插件的其他科研 Skill
- 建筑图纸矢量生成Produces coordinated architectural drawings (plans, sections, elevations, SVG/DXF) from structured specs with layer and standard checks. Use when drafting or generating drawing sets.
- 建筑项目全流程协调Coordinates end-to-end AEC work across briefing, design, BIM/CAD production, and handover by routing to specialist skills. Use for ambiguous or multi-discipline AEC tasks.
- 建筑任务书空间排布Converts briefs into traceable room programs, area schedules, adjacency logic, and requirement matrices. Use for space planning, briefing, or program validation.
- 建筑成果红队复核Independently challenges an architecture deliverable for hidden assumptions, coordination gaps, and unsupported claims before submission. Use for final adversarial review before issue.
- 建筑面积工程量核算Calculates and audits architectural areas, room schedules, quantities, and takeoffs with explicit units and measurement basis. Use for quantity reconciliation and takeoff sanity checks.
- AutoCAD DWG制图工作流Plans and reviews safe AutoCAD DWG workflows: layers, blocks, xrefs, layouts, plotting, and AutoLISP/.NET automation. Use for AutoCAD-specific drafting and DWG package preparation.
- BIM执行计划编制Drafts and reviews ISO 19650 BIM Execution Plans and Exchange Information Requirements: roles, CDE workflow, LOIN, and federation strategy. Use before modeling starts on a BIM-delivered project.
- 建筑围护结构性能设计Develops and reviews facade, roof, and foundation envelope strategies for thermal, water, air, and acoustic performance. Use for assembly design, condensation risk, and envelope QA.
- CAD/BIM自动化工作流Plans safe, least-destructive automation of CAD/BIM workflows such as batch edits and model-data extraction across Revit, IFC, DWG, and DXF. Use for repetitive model or document tasks.
- 建筑场地土木协调Coordinates architecture with civil/site engineering: grading, earthworks, access, drainage, utilities, and Civil 3D workflows. Use for site grading concepts and civil-architectural handoff.
- 建筑概念方案评审Critiques architectural concepts and compares design options against stated project goals across program, site, climate, and constructability. Use for design critique or option comparison.
- 建筑概念与方案设计Generates and develops concept and schematic design options (parti, massing, blocking, circulation, floor plans) from a validated brief. Use for early design option generation and comparison.
- 施工阶段行政管理支持Supports construction-phase administration: RFIs, submittals, site observations, change tracking, and punch lists. Use during tender clarification, construction, and closeout.
- 施工图文件集编制Develops and coordinates construction-document sets including sheet registers, schedules, details, and issue packages. Use for technical design production and permit or tender drawing sets.
- 土木项目成本管理Manages civil-engineering project budgets: contract sum, variation log, forecast final account, cashflow, and invoice register. Use for cost events such as variations, invoices, or budget review.
- 建筑造价与价值工程Supports architectural cost planning, option comparison, and value engineering using traceable quantities and cost sources. Use for early cost plans, budget reconciliation, and VE workshops.
- 项目文件发布核查Audits live civil-engineering project documents after a milestone to flag drift between proposed, contracted, and delivered work. Use after report issue or scope change to update project records.
- 建筑图纸质量检查QA checks architectural drawing sets for cross-sheet coordination, annotation, dimension, and revision issues. Use for reviewing PDFs, exported drawings, or issue sets before release.
- 岩土勘察与地基评估Plans and interprets geotechnical site investigations for foundation design: desk study, borehole/CPT interpretation, and bearing capacity checks. Use before foundation or earthworks design.
- 竣工移交与运维协调Coordinates architectural handover, O&M manuals, asset data, defects, and post-occupancy evaluation. Use from practical completion through building operation and facilities handoff.
- 历史建筑保护评估Researches heritage significance, listing status, and conservation constraints for existing buildings, and structures conservation-led options. Use for listed or historic buildings.
- 土木项目安全环保管理Manages civil-engineering health, safety, and environment: safety plans, incident register, method statement review, and statutory reporting. Use for any HSE incident, near-miss, or safety review.
- 室内装修布局设计Develops interior and fit-out layouts, furniture zoning, RCP concepts, finish strategies, and fit-out documentation. Use for workplace, residential, retail, or hospitality interior projects.
- 结构与无损检测根因调查Runs a systematic root-cause investigation protocol for structural and NDT findings before any remediation is proposed. Use when a defect, anomaly, or unexplained inspection finding is reported.
常见问题
Revit工作流自动化能做什么?
Plans and reviews safe Autodesk Revit, pyRevit, Revit API, and Dynamo workflows with transaction-safe scripting and verification plans. Use for Revit-specific model automation or review。
如何安装Revit工作流自动化?
在科搭 Codar 左侧点击「插件」,在「组件」页签搜索「Revit工作流自动化」并安装;在 Claude Code 或 Codex 中可以发送本页的安装提示词,或下载 Skill 包后解压到 ~/.claude/skills 或 ~/.codex/skills。
Revit工作流自动化需要哪些权限?
该科研 Skill没有声明额外权限;执行具体操作时仍由 Agent 按自身规则请求确认。
Revit工作流自动化经过官方审核吗?
是。SpeedSkills 收录的每个版本都会记录内容摘要与权限声明,当前版本已通过安全审核。