n8n_2_All_Settings_Revit_IFC_DWG_转换_简化
中级
这是一个Engineering, Multimodal AI领域的自动化工作流,包含 10 个节点。主要使用 Set, FormTrigger, ManualTrigger, ExecuteCommand 等节点。 使用DDC工具包将Revit项目转换为包含图纸和规格的数据库
前置要求
- •无特殊前置要求,导入即可使用
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "KqIWWnRV00zSYMVv",
"meta": {
"instanceId": "faa70e11b7175129a74fd834d3451fdc1862589b16d68ded03f91ca7b1ecca12"
},
"name": "n8n_2_All_Settings_Revit_IFC_DWG_Conversation_simple",
"tags": [],
"nodes": [
{
"id": "795ed30e-8c1c-4163-a715-1cbed2e84c20",
"name": "Form UI",
"type": "n8n-nodes-base.formTrigger",
"disabled": true,
"position": [
800,
768
],
"webhookId": "simple-revit-converter-form",
"parameters": {
"options": {},
"formTitle": "Revit File Converter",
"formFields": {
"values": [
{
"fieldType": "string",
"fieldLabel": "Path to Revit Converter (RvtExporter.exe)",
"requiredField": true
},
{
"fieldType": "string",
"fieldLabel": "Revit File Path",
"requiredField": true
},
{
"fieldType": "dropdown",
"fieldLabel": "Export Mode",
"fieldOptions": {
"values": [
{
"option": "basic"
},
{
"option": "standard"
},
{
"option": "complete"
},
{
"option": "custom"
}
]
}
},
{
"fieldType": "dropdown",
"fieldLabel": "Conversion Options",
"multiselect": true,
"fieldOptions": {
"values": [
{
"option": "bbox"
},
{
"option": "schedule"
},
{
"option": "sheets2pdf"
},
{
"option": "-no-xlsx"
},
{
"option": "-no-collada"
}
]
}
}
]
},
"formDescription": "Configure your Revit file conversion settings"
},
"typeVersion": 2.2
},
{
"id": "d806b3c5-b37f-4c31-b729-eed39f8c29df",
"name": "Manual Trigger (Optional)",
"type": "n8n-nodes-base.manualTrigger",
"position": [
432,
416
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0341b325-d8e1-4e0b-af16-c978aa50286e",
"name": "说明",
"type": "n8n-nodes-base.stickyNote",
"position": [
-176,
1008
],
"parameters": {
"color": 7,
"width": 524,
"height": 540,
"content": "\n## ⚠️ Troubleshooting\n\n### Browser Popup Issues\nIf the form doesn't open:\n1. Look for a popup blocker icon in your browser's address bar\n2. Click it and select \"Always allow popups from this site\"\n3. Refresh the page and try again\n\n### Executable Path Issues\nIf conversion fails, ensure you're using the correct path:\n\n✅ **Correct path:**\n```\nC:\\DDC_Converter_Revit\\datadrivenlibs\\RvtExporter.exe\n```\n\n❌ **Incorrect path:**\n```\nC:\\Community\\DDC_Converter_Revit\\RvtExporter.exe"
},
"typeVersion": 1
},
{
"id": "5a9b8bcb-a9ed-4e26-bc96-f20bc6840b79",
"name": "Set the conversion variables",
"type": "n8n-nodes-base.set",
"position": [
800,
416
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "9cbd4ec9-df24-41e8-b47a-720a4cdb733b",
"name": "path_to_revit_converter",
"type": "string",
"value": "C:\\Users\\Artem Boiko\\Desktop\\n8n\\cad2data-Revit-IFC-DWG-DGN-pipeline-with-conversion-validation-qto-main\\cad2data-Revit-IFC-DWG-DGN-pipeline-with-conversion-validation-qto-main\\DDC_Converter_Revit\\RvtExporter.exe"
},
{
"id": "aa834467-80fb-476a-bac1-6728478834f0",
"name": "revit_file",
"type": "string",
"value": "C:\\Users\\Artem Boiko\\Desktop\\n8n\\cad2data-Revit-IFC-DWG-DGN-pipeline-with-conversion-validation-qto-main\\cad2data-Revit-IFC-DWG-DGN-pipeline-with-conversion-validation-qto-main\\Sample_Projects\\2022 rstadvancedsampleproject.rvt"
},
{
"id": "c3939399-e855-44a7-bb47-83dbb1e85e4f",
"name": "(optional) Export mode (basic, standard, complete, custom) ",
"type": "string",
"value": "basic"
},
{
"id": "748a7f80-f0cb-4147-bb22-6f88818c5a63",
"name": "(optional) Add the BoundingBox geometry of each element in XLSX ",
"type": "string",
"value": "bbox"
},
{
"id": "75f4016f-f04e-48ae-aae6-c231a5cc69aa",
"name": "(optional) Export all Schedules ",
"type": "string",
"value": "schedule"
},
{
"id": "bfbbccdb-e781-47fd-8e84-107f1ef57460",
"name": "(optional) Export all Sheets to PDF",
"type": "string",
"value": "sheets2pdf"
},
{
"id": "acc49689-ab70-4620-87ca-309ed90c0acd",
"name": "(optional) Disable export to .xlsx format",
"type": "string",
"value": "-no-xlsx"
},
{
"id": "bcbb4a29-c290-4ca4-b71b-1df755a14458",
"name": "(optional) Disable export to .dae format ",
"type": "string",
"value": "-no-collada"
},
{
"id": "b513c17c-a174-44cf-b935-36b3855624ba",
"name": "(optional) output_folder",
"type": "string",
"value": "C:\\Users\\ars\\source\\repos\\DataDrivenConstruction\\test\\sample_files\\test"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "abd24898-9349-4a9d-b141-952366d93507",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
624,
176
],
"parameters": {
"color": 4,
"width": 428,
"height": 420,
"content": "### Option 1: Manual Variables\n- Click **\"Manual Trigger\"** to use pre-configured variables\n- Modify the variables in the **\"Set Variables\"** node as needed\n\n## 🔧 Configuration\n- Update the **RvtExporter.exe** path in the form or variables\n- Ensure the path points to the executable inside the **`datadrivenlibs`** folder"
},
"typeVersion": 1
},
{
"id": "5b94ebb6-d9d7-4c2c-9be3-2b686bb7da56",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
624,
608
],
"parameters": {
"color": 5,
"width": 428,
"height": 376,
"content": "### Option 2: Form UI\n- Activate and click **\"Form UI\"** to open the web form\n- Fill in your converter path and Revit file path\n- Select export mode and options\n\n\n"
},
"typeVersion": 1
},
{
"id": "834ab7ac-e341-4644-8ccf-a74de3a1a49d",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1040,
16
],
"parameters": {
"width": 340,
"height": 132,
"content": "⭐ **If you find our tools helpful**, please **consider starring** our repository on [GitHub](https://github.com/datadrivenconstruction/cad2data-Revit-IFC-DWG-DGN-pipeline-with-conversion-validation-qto). \n\nYour support helps us improve and continue developing open solutions for the community!\n"
},
"typeVersion": 1
},
{
"id": "fefc7765-70ef-4d4f-b18b-52cba0c927c0",
"name": "Converting the project into a structured form1",
"type": "n8n-nodes-base.executeCommand",
"position": [
1152,
544
],
"parameters": {
"command": "=\"{{$json[\"path_to_revit_converter\"]}}\" \"{{$json[\"revit_file\"]}}\" {{ (() => {\n if ($json['(optional) output_folder'] != null) {\n const folder = $json['(optional) output_folder'];\n const file = $json['revit_file'].split(\"\\\\\").slice(-1)[0];\n const xlsx = folder + \"\\\\\" + file.replace(/\\.rvt$/i, '_rvt.xlsx');\n const dae = folder + \"\\\\\" + file.replace(/\\.rvt$/i, '_rvt.dae');\n return '\"' + xlsx + '\"' + \" \" + '\"' + dae + '\"';\n }\n return \"\";\n})() }} {{ $json['(optional) Export mode (basic, standard, complete, custom) '] }} {{ $json['(optional) Add the BoundingBox geometry of each element in XLSX '] }} {{ $json['(optional) Export all Schedules '] }} {{ $json['(optional) Export all Sheets to PDF'] }} {{ $json['(optional) Disable export to ']['xlsx format'] }} {{ $json['(optional) Disable export to ']['dae format '] }} \n\n\n\n",
"executeOnce": "="
},
"typeVersion": 1
},
{
"id": "0ad6e61e-1d2d-400f-859e-461a40d9de6c",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
368,
160
],
"parameters": {
"color": 7,
"width": 1020,
"height": 836,
"content": ""
},
"typeVersion": 1
},
{
"id": "a1bcc5e5-2ef3-4ce9-ba60-b2eefd600458",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-176,
160
],
"parameters": {
"width": 520,
"height": 836,
"content": "## 📋 Options Parameter Configuration Guide\n\n## 🎯 Overview\nThe Options parameter allows you to customize the export process with various flags and settings. Multiple options can be combined using spaces.\n\n## 🚀 Available Options\n\n### 📦 Export Modes\n| Mode | Description |\n|------|-------------|\n| `basic` | Minimal export with essential data only |\n| `standard` | Default export level with standard properties |\n| `complete` | Full export including all available data |\n| `custom` | Custom export using category file specification |\n\n### 🛠️ Feature Flags\n| Option | Description |\n|--------|-------------|\n| `bbox` | Add BoundingBox geometry of each element in XLSX |\n| `schedule` | Export all Schedules |\n| `sheets2pdf` | Export all Sheets to PDF format |\n| `[<output file>]` | Specify custom output file path |\n| `[<category file>]` | Text file with category names (required for custom mode) |\n\n### 🚫 Disable Options\n| Option | Description |\n|--------|-------------|\n| `-no-xlsx` | Disable export to .xlsx format |\n| `-no-collada` | Disable export to .dae format |\n\n---\n\n## 📝 Notes\n- All options are case-sensitive\n- Invalid combinations will be ignored\n- Default behavior applies when no options are specified"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "c033470d-da11-4344-ab21-4a7ff21d251a",
"connections": {
"Form UI": {
"main": [
[]
]
},
"Manual Trigger (Optional)": {
"main": [
[
{
"node": "Set the conversion variables",
"type": "main",
"index": 0
}
]
]
},
"Set the conversion variables": {
"main": [
[
{
"node": "Converting the project into a structured form1",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 工程, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
n8n_8_Revit_IFC_DWG转换_提取阶段_解析XLSX
提取并解析Revit模型数据至结构化Excel格式
If
Set
Manual Trigger
+4
13 节点Artem Boiko
工程
n8n_3_CAD-BIM-批量转换器-管道
批量转换 CAD/BIM 文件为 XLSX/DAE,带验证和报告
If
Set
Code
+14
82 节点Artem Boiko
文档提取
n8n_7_Revit和IFC碳足迹CO2估算器
使用AI分类计算Revit/IFC模型的隐含碳(CO2)
If
Set
Code
+13
55 节点Artem Boiko
AI 摘要总结
n8n_1_Revit_IFC_DWG_转换_简化版
使用DataDrivenConstruction将CAD/BIM文件转换为Excel和3D模型
Set
Manual Trigger
Execute Command
+1
5 节点Artem Boiko
工程
n8n_6_使用LLM为Revit和IFC进行施工造价估算
使用GPT-4和Claude基于Revit/IFC模型估算施工成本
If
Set
Code
+13
55 节点Artem Boiko
AI 摘要总结
CAD-BIM 工程量提取 HTML 报告生成器
从Revit模型生成交互式墙体工程量HTML报告
If
Set
Function
+6
18 节点Artem
工程
工作流信息
难度等级
中级
节点数量10
分类2
节点类型5
作者
Artem Boiko
@datadrivenconstructionFounder DataDrivenConstruction.io | AEC Tech Consultant & Automation Expert | Bridging Software and Construction
外部链接
在 n8n.io 查看 →
分享此工作流