К основному содержанию
скилл CX Codex

rvt-to-excel — скилл для Claude Code: экспорт RVT в Excel

Скилл rvt-to-excel для Claude Code извлекает данные элементов, свойства и количества из RVT/RFA и готовит книгу Excel. Подготавливает сводки и отчёты, передаёт BIM-данные в аналитические процессы.

MIT 135 установок ★ 434 обновлён 2026-10-19

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill rvt-to-excel -a claude-code
Открыть на GitHub

Что делает rvt-to-excel

Скилл описывает экспорт файлов Revit в Excel через RvtExporter.exe: можно выбрать режим basic, standard, complete или custom, а также включить координаты габаритного параллелепипеда, связи с помещениями и выгрузку спецификаций. Таблицы содержат элементы и их свойства, категории, уровни, материалы и параметры. Для нескольких файлов предусмотрена пакетная обработка.

Экспортёр запускается из Python, а полученный файл можно читать как таблицу и группировать количества по категории. Например, сводка считает элементы, суммарную площадь и объём. Для работы нужны Windows, python3 и RvtExporter; без доступного RvtExporter.exe конвертация не запустится. Результат сохраняется рядом с исходным файлом с расширением .xlsx.

Какие задачи решает

  • выгрузить элементы и свойства из RVT в Excel
  • обработать несколько файлов Revit в пакетном режиме
  • сгруппировать количество элементов, площадь и объём по категориям
  • подготовить BIM-таблицу для отчёта или аналитического процесса

Примеры запросов агенту

  • Экспортируй Building.rvt в Excel в режиме complete и добавь координаты габаритов.
  • Обработай все файлы RVT в папке в режиме standard и сохрани таблицы Excel.
  • Собери сводку по категориям с количеством элементов, площадью и объёмом из выгруженного файла.

Как установить rvt-to-excel

1Через Skills CLI (Vercel)

npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill rvt-to-excel -a claude-code

2Вручную: положить файлы

~/.claude/skills/rvt-to-excel/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/rvt-to-excel/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о rvt-to-excel

Как установить rvt-to-excel в Claude Code?

Выполните npx skills add datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction --skill rvt-to-excel -a claude-code. Файл скилла находится по пути ~/.claude/skills/rvt-to-excel/SKILL.md.

Что делает rvt-to-excel?

Он помогает экспортировать данные моделей RVT/RFA в Excel: свойства элементов, категории и количества. Данные можно группировать для сводок и отчётов.

Что нужно для экспорта RVT в Excel?

Для работы нужны Windows, python3 и RvtExporter.exe. Экспортёр поддерживает режимы basic, standard, complete и custom.

Исходный текст

SKILL.md · MIT
---
name: "rvt-to-excel"
description: "Convert RVT/RFA files to Excel databases. Extract BIM element data, properties, and quantities."
homepage: "https://datadrivenconstruction.io"
metadata: {"openclaw":{"emoji":"🏠","os":["win32"],"homepage":"https://datadrivenconstruction.io","requires":{"bins":["python3","RvtExporter"]}}}
---

# RVT to Excel Conversion

## Business Case

### Problem Statement
BIM data inside RVT files needs to be extracted for:
- Processing multiple projects in batch
- Integrating BIM data with analytics pipelines
- Sharing structured data with stakeholders
- Generating reports and quantity takeoffs

### Solution
Convert RVT files to structured Excel databases for analysis and reporting.

### Business Value
- **Batch processing** - Convert multiple projects
- **Data accessibility** - Excel format for universal access
- **Pipeline integration** - Feed data to BI tools, ML models
- **Structured output** - Organized element data and properties

## Technical Implementation

### CLI Syntax
```bash
RvtExporter.exe <input_path> [export_mode] [options]
```

### Export Modes
| Mode | Categories | Description |
|------|-----------|-------------|
| `basic` | 309 | Essential structural elements |
| `standard` | 724 | Standard BIM categories |
| `complete` | 1209 | All Revit categories |
| `custom` | User-defined | Specific categories only |

### Options
| Option | Description |
|--------|-------------|
| `bbox` | Include bounding box coordinates |
| `rooms` | Include room associations |
| `schedules` | Export all schedules to sheets |
| `sheets` | Export sheets to PDF |

### Examples

```bash
# Basic export
RvtExporter.exe "C:\Projects\Building.rvt" basic

# Complete with bounding boxes
RvtExporter.exe "C:\Projects\Building.rvt" complete bbox

# Full export with all options
RvtExporter.exe "C:\Projects\Building.rvt" complete bbox rooms schedules sheets

# Batch processing
for /R "C:\Projects" %f in (*.rvt) do RvtExporter.exe "%f" standard bbox
```

### Python Integration

```python
import subprocess
import pandas as pd
from pathlib import Path
from typing import List, Optional

class RevitExporter:
    def __init__(self, exporter_path: str = "RvtExporter.exe"):
        self.exporter = Path(exporter_path)
        if not self.exporter.exists():
            raise FileNotFoundError(f"RvtExporter not found: {exporter_path}")

    def convert(self, rvt_file: str, mode: str = "complete",
                options: List[str] = None) -> Path:
        """Convert Revit file to Excel."""
        rvt_path = Path(rvt_file)
        if not rvt_path.exists():
            raise FileNotFoundError(f"Revit file not found: {rvt_file}")

        cmd = [str(self.exporter), str(rvt_path), mode]
        if options:
            cmd.extend(options)

        result = subprocess.run(cmd, capture_output=True, text=True)

        if result.returncode != 0:
            raise RuntimeError(f"Export failed: {result.stderr}")

        # Output file is same name with .xlsx extension
        output_file = rvt_path.with_suffix('.xlsx')
        return output_file

    def batch_convert(self, folder: str, mode: str = "standard",
                      pattern: str = "*.rvt") -> List[Path]:
        """Convert all Revit files in folder."""
        folder_path = Path(folder)
        converted = []

        for rvt_file in folder_path.glob(pattern):
            try:
                output = self.convert(str(rvt_file), mode)
                converted.append(output)
                print(f"Converted: {rvt_file.name}")
            except Exception as e:
                print(f"Failed: {rvt_file.name} - {e}")

        return converted

    def read_elements(self, xlsx_file: str) -> pd.DataFrame:
        """Read converted Excel as DataFrame."""
        return pd.read_excel(xlsx_file, sheet_name="Elements")

    def get_quantities(self, xlsx_file: str,
                       group_by: str = "Category") -> pd.DataFrame:
        """Get quantity summary grouped by category."""
        df = self.read_elements(xlsx_file)

        # Group and count
        summary = df.groupby(group_by).agg({
            'ElementId': 'count',
            'Area': 'sum',
            'Volume': 'sum'
        }).reset_index()

        summary.columns = [group_by, 'Count', 'Total_Area', 'Total_Volume']
        return summary
```

## Output Structure

### Excel Sheets
| Sheet | Content |
|-------|---------|
| Elements | All BIM elements with properties |
| Categories | Element categories summary |
| Levels | Building levels |
| Materials | Material definitions |
| Parameters | Shared parameters |

### Element Columns
| Column | Type | Description |
|--------|------|-------------|
| ElementId | int | Unique Revit ID |
| Category | string | Element category |
| Family | string | Family name |
| Type | string | Type name |
| Level | string | Associated level |
| Area | float | Surface area (m²) |
| Volume | float | Volume (m³) |
| BBox_MinX/Y/Z | float | Bounding box min |
| BBox_MaxX/Y/Z | float | Bounding box max |

## Usage Example

```python
# Initialize exporter
exporter = RevitExporter("C:/Tools/RvtExporter.exe")

# Convert single file
xlsx = exporter.convert("C:/Projects/Office.rvt", "complete", ["bbox", "rooms"])

# Read and analyze
df = exporter.read_elements(str(xlsx))
print(f"Total elements: {len(df)}")

# Quantity summary
quantities = exporter.get_quantities(str(xlsx))
print(quantities)

# Export to CSV for further processing
df.to_csv("elements.csv", index=False)
```

## Integration with DDC Pipeline

```python
# Full pipeline: Revit → Excel → Cost Estimate
from semantic_search import CWICRSemanticSearch

# 1. Convert Revit
exporter = RevitExporter()
xlsx = exporter.convert("project.rvt", "complete", ["bbox"])

# 2. Extract quantities
df = exporter.read_elements(str(xlsx))
quantities = df.groupby('Category')['Volume'].sum().to_dict()

# 3. Search CWICR for pricing
search = CWICRSemanticSearch()
costs = {}
for category, volume in quantities.items():
    results = search.search_work_items(category, limit=5)
    if not results.empty:
        avg_price = results['unit_price'].mean()
        costs[category] = volume * avg_price

print(f"Total estimate: ${sum(costs.values()):,.2f}")
```

## Best Practices

1. **Use appropriate mode** - `basic` for quick analysis, `complete` for full data
2. **Include bbox** - Required for spatial analysis and visualization
3. **Batch carefully** - Large files may take time; process overnight
4. **Validate output** - Check element counts against Revit schedules

## Resources

- **GitHub**: [cad2data Pipeline](https://github.com/datadrivenconstruction/cad2data-Revit-IFC-DWG-DGN-pipeline-with-conversion-validation-qto)
- **Download**: See repository releases for RvtExporter.exe

© datadrivenconstruction · MIT · datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction

Похожие скиллы

Все скиллы по теме «Документы и офис» →
excel-automation daymade Скилл excel-automation для Claude Code создаёт Excel-отчёты через openpyxl, читает сложные xlsm через zipfile и управляет окном приложения на macOS. Автоматизирует финансовые отчёты и перенос бумажных бланков в таблицы. CX Codex +1 1 500установок csv-excel-merger OneWave-AI Скилл csv-excel-merger складывает несколько CSV, TSV и Excel в один файл: склеивает, джойнит по ключу, убирает дубли и проверяет арифметику строк. CX Codex +1 1 200установок excel-cli sbroenne Скилл excel-cli управляет десктопным Excel на Windows через PowerShell: читает и пишет данные, обновляет формулы и подключается к открытым книгам. CX Codex +1 1 000установок Skywork Excel SkyworkAI Скилл Skywork Excel для Claude Code создаёт и анализирует таблицы Excel, строит графики и сводные отчёты через бэкенд Skywork. Создаёт финмодели и конвертирует PDF в таблицы. CX Codex +1 370установок excel sundial-org Позволяет агенту читать, создавать и форматировать таблицы Excel через скрипт на базе openpyxl. CX Codex +1 294установок

Из того же набора156

Весь набор →
budget-variance-analyzer Скилл budget-variance-analyzer для Claude Code сравнивает бюджетные и фактические расходы, отмечает перерасход и помогает спрогнозировать итоговую стоимость проекта. Разбирает отклонения по статьям затрат. CX Codex +1 139установок cwicr-cost-calculator Скилл cwicr-cost-calculator для Claude Code рассчитывает стоимость строительных работ по методологии CWICR, разбивая затраты на труд, материалы и оборудование с прозрачными расчётами. CX Codex +1 138установок daily-progress-report Скилл daily-progress-report для Claude Code собирает ежедневный отчёт по данным стройплощадки: работам, трудозатратам, технике и погоде. Фиксирует прогресс ежедневно. CX Codex +1 137установок safety-inspection Скилл safety-inspection для Claude Code ведёт проверки безопасности на стройплощадке: заполняет чек-листы, фиксирует опасности и инциденты, контролирует корректирующие действия и готовит отчёты о соответствии требованиям. CX Codex +1 137установок bim-validation-report Скилл bim-validation-report проверяет элементы BIM-модели на корректность данных, геометрию и стандарты проекта, формируя отчёт об ошибках. Пригодится инженерам и разработчикам для автоматического контроля качества данных. CX Codex +1 133установок safety-inspection-checklist Скилл safety-inspection-checklist генерирует и проводит цифровые чек-листы безопасности на строительных площадках. Собирает данные инспекций, фото, отслеживает нарушения и автоматически составляет отчёты. CX Codex +1 133установок schedule-delay-analyzer Скилл schedule-delay-analyzer учитывает задержки проекта, их причины и влияние на критический путь. Помогает оценить перенос сроков и подготовить расчёт для требования о продлении. CX Codex +1 132установок subcontractor-payment-tracker Скилл subcontractor-payment-tracker отслеживает расчёты с субподрядчиками, график счетов, гарантийные удержания и отказные от залога (lien waivers). Пригодится при контроле строительных договоров. CX Codex +1 132установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой