-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathn8n_2_All_Settings_Revit_IFC_DWG_Conversation_simple.json
More file actions
310 lines (310 loc) · 11.5 KB
/
Copy pathn8n_2_All_Settings_Revit_IFC_DWG_Conversation_simple.json
File metadata and controls
310 lines (310 loc) · 11.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
{
"name": "n8n_2_All_Settings_Revit_IFC_DWG_Conversation_simple",
"nodes": [
{
"parameters": {
"formTitle": "Revit File Converter",
"formDescription": "Configure your Revit file conversion settings",
"formFields": {
"values": [
{
"fieldLabel": "Path to Revit Converter (RvtExporter.exe)",
"fieldType": "string",
"requiredField": true
},
{
"fieldLabel": "Revit File Path",
"fieldType": "string",
"requiredField": true
},
{
"fieldLabel": "Export Mode",
"fieldType": "dropdown",
"fieldOptions": {
"values": [
{
"option": "basic"
},
{
"option": "standard"
},
{
"option": "complete"
},
{
"option": "custom"
}
]
}
},
{
"fieldLabel": "Conversion Options",
"fieldType": "dropdown",
"fieldOptions": {
"values": [
{
"option": "bbox"
},
{
"option": "schedule"
},
{
"option": "sheets2pdf"
},
{
"option": "-no-xlsx"
},
{
"option": "-no-collada"
}
]
},
"multiselect": true
}
]
},
"options": {}
},
"type": "n8n-nodes-base.formTrigger",
"typeVersion": 2.2,
"position": [
800,
768
],
"id": "795ed30e-8c1c-4163-a715-1cbed2e84c20",
"name": "Form UI",
"webhookId": "simple-revit-converter-form",
"disabled": true
},
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
432,
416
],
"id": "d806b3c5-b37f-4c31-b729-eed39f8c29df",
"name": "Manual Trigger (Optional)"
},
{
"parameters": {
"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",
"height": 540,
"width": 524,
"color": 7
},
"type": "n8n-nodes-base.stickyNote",
"position": [
-176,
1008
],
"typeVersion": 1,
"id": "0341b325-d8e1-4e0b-af16-c978aa50286e",
"name": "Instructions"
},
{
"parameters": {
"assignments": {
"assignments": [
{
"id": "9cbd4ec9-df24-41e8-b47a-720a4cdb733b",
"name": "path_to_revit_converter",
"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",
"type": "string"
},
{
"id": "aa834467-80fb-476a-bac1-6728478834f0",
"name": "revit_file",
"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",
"type": "string"
},
{
"id": "c3939399-e855-44a7-bb47-83dbb1e85e4f",
"name": "(optional) Export mode (basic, standard, complete, custom) ",
"value": "basic",
"type": "string"
},
{
"id": "748a7f80-f0cb-4147-bb22-6f88818c5a63",
"name": "(optional) Add the BoundingBox geometry of each element in XLSX ",
"value": "bbox",
"type": "string"
},
{
"id": "75f4016f-f04e-48ae-aae6-c231a5cc69aa",
"name": "(optional) Export all Schedules ",
"value": "schedule",
"type": "string"
},
{
"id": "bfbbccdb-e781-47fd-8e84-107f1ef57460",
"name": "(optional) Export all Sheets to PDF",
"value": "sheets2pdf",
"type": "string"
},
{
"id": "acc49689-ab70-4620-87ca-309ed90c0acd",
"name": "(optional) Disable export to .xlsx format",
"value": "-no-xlsx",
"type": "string"
},
{
"id": "bcbb4a29-c290-4ca4-b71b-1df755a14458",
"name": "(optional) Disable export to .dae format ",
"value": "-no-collada",
"type": "string"
},
{
"id": "b513c17c-a174-44cf-b935-36b3855624ba",
"name": "(optional) output_folder",
"value": "C:\\Users\\ars\\source\\repos\\DataDrivenConstruction\\test\\sample_files\\test",
"type": "string"
}
]
},
"options": {}
},
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
800,
416
],
"id": "5a9b8bcb-a9ed-4e26-bc96-f20bc6840b79",
"name": "Set the conversion variables"
},
{
"parameters": {
"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",
"height": 420,
"width": 428,
"color": 4
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
624,
176
],
"id": "abd24898-9349-4a9d-b141-952366d93507",
"name": "Sticky Note"
},
{
"parameters": {
"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",
"height": 376,
"width": 428,
"color": 5
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
624,
608
],
"id": "5b94ebb6-d9d7-4c2c-9be3-2b686bb7da56",
"name": "Sticky Note3"
},
{
"parameters": {
"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",
"height": 132,
"width": 340
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
1040,
16
],
"id": "834ab7ac-e341-4644-8ccf-a74de3a1a49d",
"name": "Sticky Note5"
},
{
"parameters": {
"executeOnce": "=",
"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"
},
"type": "n8n-nodes-base.executeCommand",
"typeVersion": 1,
"position": [
1152,
544
],
"id": "fefc7765-70ef-4d4f-b18b-52cba0c927c0",
"name": "Converting the project into a structured form1"
},
{
"parameters": {
"content": "",
"height": 836,
"width": 1020,
"color": 7
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
368,
160
],
"id": "0ad6e61e-1d2d-400f-859e-461a40d9de6c",
"name": "Sticky Note1"
},
{
"parameters": {
"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",
"height": 836,
"width": 520
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-176,
160
],
"id": "a1bcc5e5-2ef3-4ce9-ba60-b2eefd600458",
"name": "Sticky Note2"
}
],
"pinData": {},
"connections": {
"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
}
]
]
},
"Form UI": {
"main": [
[]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "c033470d-da11-4344-ab21-4a7ff21d251a",
"meta": {
"instanceId": "faa70e11b7175129a74fd834d3451fdc1862589b16d68ded03f91ca7b1ecca12"
},
"id": "KqIWWnRV00zSYMVv",
"tags": []
}