WolfParametric commited on
Commit
8fd05ad
·
verified ·
1 Parent(s): 63ff3cc

Grasshopper script export from Anonymous

Browse files

Community contributed Grasshopper script from WOLF plugin

scripts/Anonymous_20250830_204438_GH2JSON_20250830_204438.json ADDED
@@ -0,0 +1,688 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "Description": "What the script does: RIR Rhino to Revit direct shape with elefront rhino layers to match revit layers; inputs: Key-value search, query categories,; outputs: add direct shape",
3
+ "output": {
4
+ "components": [
5
+ {
6
+ "id": 1,
7
+ "type": "Group",
8
+ "objectType": "Unknown",
9
+ "guid": "c552a431-af5b-46a9-a8a4-0fcbc27ef596",
10
+ "params": {},
11
+ "position": {
12
+ "x": 0.0,
13
+ "y": 0.0
14
+ },
15
+ "inputSettings": [],
16
+ "outputSettings": [],
17
+ "componentState": null
18
+ },
19
+ {
20
+ "id": 2,
21
+ "type": "Group",
22
+ "objectType": "Unknown",
23
+ "guid": "c552a431-af5b-46a9-a8a4-0fcbc27ef596",
24
+ "params": {},
25
+ "position": {
26
+ "x": 0.0,
27
+ "y": 0.0
28
+ },
29
+ "inputSettings": [],
30
+ "outputSettings": [],
31
+ "componentState": null
32
+ },
33
+ {
34
+ "id": 3,
35
+ "type": "Group",
36
+ "objectType": "Unknown",
37
+ "guid": "c552a431-af5b-46a9-a8a4-0fcbc27ef596",
38
+ "params": {},
39
+ "position": {
40
+ "x": 0.0,
41
+ "y": 0.0
42
+ },
43
+ "inputSettings": [],
44
+ "outputSettings": [],
45
+ "componentState": null
46
+ },
47
+ {
48
+ "id": 4,
49
+ "type": "Group",
50
+ "objectType": "Unknown",
51
+ "guid": "c552a431-af5b-46a9-a8a4-0fcbc27ef596",
52
+ "params": {},
53
+ "position": {
54
+ "x": 0.0,
55
+ "y": 0.0
56
+ },
57
+ "inputSettings": [],
58
+ "outputSettings": [],
59
+ "componentState": null
60
+ },
61
+ {
62
+ "id": 5,
63
+ "type": "Group",
64
+ "objectType": "Unknown",
65
+ "guid": "c552a431-af5b-46a9-a8a4-0fcbc27ef596",
66
+ "params": {},
67
+ "position": {
68
+ "x": 0.0,
69
+ "y": 0.0
70
+ },
71
+ "inputSettings": [],
72
+ "outputSettings": [],
73
+ "componentState": null
74
+ },
75
+ {
76
+ "id": 6,
77
+ "type": "Panel",
78
+ "objectType": "Parameter",
79
+ "guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c",
80
+ "params": {
81
+ "Value": "MULTILINE LAYERS NAMES IN REVIT BE REPLACED 1 TO 1 MATCHING\r\n\r\n0 FLOOR REVIT\r\n1 WALL REVIT\r\n2 DOOR REVIT\r\netc...."
82
+ },
83
+ "position": {
84
+ "x": 6.002945,
85
+ "y": 1224.6212
86
+ },
87
+ "inputSettings": [],
88
+ "outputSettings": [
89
+ {
90
+ "parameterName": "Panel",
91
+ "dataMapping": "None",
92
+ "isReparameterized": false,
93
+ "hasExpression": false,
94
+ "expressionContent": null,
95
+ "additionalSettings": {
96
+ "Optional": false,
97
+ "Reverse": false,
98
+ "Simplify": false,
99
+ "IsPrincipal": "CannotBePrincipal",
100
+ "Locked": false
101
+ }
102
+ }
103
+ ],
104
+ "componentState": {
105
+ "multiline": true,
106
+ "wrap": true
107
+ }
108
+ },
109
+ {
110
+ "id": 7,
111
+ "type": "Panel",
112
+ "objectType": "Parameter",
113
+ "guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c",
114
+ "params": {
115
+ "Value": "MULTILINE LAYERS NAMES IN RHINO TO BE REPLACED WITH REVIT LAYERS 1 TO 1 MATCHING\r\n\r\n0 FLOOR RHINO\r\n1 WALL REVIT\r\n2 DOOR REVIT\r\netc...."
116
+ },
117
+ "position": {
118
+ "x": 7.2844315,
119
+ "y": 938.8565
120
+ },
121
+ "inputSettings": [],
122
+ "outputSettings": [
123
+ {
124
+ "parameterName": "Panel",
125
+ "dataMapping": "None",
126
+ "isReparameterized": false,
127
+ "hasExpression": false,
128
+ "expressionContent": null,
129
+ "additionalSettings": {
130
+ "Optional": false,
131
+ "Reverse": false,
132
+ "Simplify": false,
133
+ "IsPrincipal": "CannotBePrincipal",
134
+ "Locked": false
135
+ }
136
+ }
137
+ ],
138
+ "componentState": {
139
+ "multiline": true,
140
+ "wrap": true
141
+ }
142
+ },
143
+ {
144
+ "id": 8,
145
+ "type": "Key/Value Search",
146
+ "objectType": "Component",
147
+ "guid": "1edcc3cf-cf84-41d4-8204-561162cfe510",
148
+ "params": {},
149
+ "position": {
150
+ "x": 352.0,
151
+ "y": 1190.0
152
+ },
153
+ "inputSettings": [
154
+ {
155
+ "parameterName": "Keys",
156
+ "dataMapping": "None",
157
+ "isReparameterized": false,
158
+ "hasExpression": false,
159
+ "expressionContent": null,
160
+ "additionalSettings": {
161
+ "UseDegrees": false,
162
+ "Hidden": false,
163
+ "IsPreviewCapable": true,
164
+ "IsBakeCapable": false,
165
+ "Optional": false,
166
+ "Reverse": false,
167
+ "Simplify": false,
168
+ "IsPrincipal": "IsNotPrincipal",
169
+ "Locked": false
170
+ }
171
+ },
172
+ {
173
+ "parameterName": "Values",
174
+ "dataMapping": "None",
175
+ "isReparameterized": false,
176
+ "hasExpression": false,
177
+ "expressionContent": null,
178
+ "additionalSettings": {
179
+ "UseDegrees": false,
180
+ "Hidden": false,
181
+ "IsPreviewCapable": true,
182
+ "IsBakeCapable": false,
183
+ "Optional": false,
184
+ "Reverse": false,
185
+ "Simplify": false,
186
+ "IsPrincipal": "IsNotPrincipal",
187
+ "Locked": false
188
+ }
189
+ },
190
+ {
191
+ "parameterName": "Search",
192
+ "dataMapping": "None",
193
+ "isReparameterized": false,
194
+ "hasExpression": false,
195
+ "expressionContent": null,
196
+ "additionalSettings": {
197
+ "UseDegrees": false,
198
+ "Hidden": false,
199
+ "IsPreviewCapable": true,
200
+ "IsBakeCapable": false,
201
+ "Optional": false,
202
+ "Reverse": false,
203
+ "Simplify": false,
204
+ "IsPrincipal": "IsNotPrincipal",
205
+ "Locked": false
206
+ }
207
+ }
208
+ ],
209
+ "outputSettings": [
210
+ {
211
+ "parameterName": "Result",
212
+ "dataMapping": "None",
213
+ "isReparameterized": false,
214
+ "hasExpression": false,
215
+ "expressionContent": null,
216
+ "additionalSettings": {
217
+ "UseDegrees": false,
218
+ "Hidden": false,
219
+ "IsPreviewCapable": true,
220
+ "IsBakeCapable": false,
221
+ "Optional": false,
222
+ "Reverse": false,
223
+ "Simplify": false,
224
+ "IsPrincipal": "CannotBePrincipal",
225
+ "Locked": false
226
+ }
227
+ }
228
+ ],
229
+ "componentState": null
230
+ },
231
+ {
232
+ "id": 9,
233
+ "type": "Reference by Layer",
234
+ "objectType": "Component",
235
+ "guid": "ba27bdb1-e99e-4d4d-9228-24aa0c27d613",
236
+ "params": {},
237
+ "position": {
238
+ "x": 410.0,
239
+ "y": 1327.0
240
+ },
241
+ "inputSettings": [
242
+ {
243
+ "parameterName": "Layer name",
244
+ "dataMapping": "None",
245
+ "isReparameterized": false,
246
+ "hasExpression": false,
247
+ "expressionContent": null,
248
+ "additionalSettings": {
249
+ "Optional": false,
250
+ "Reverse": false,
251
+ "Simplify": false,
252
+ "IsPrincipal": "IsNotPrincipal",
253
+ "Locked": false
254
+ }
255
+ }
256
+ ],
257
+ "outputSettings": [
258
+ {
259
+ "parameterName": "Geometry",
260
+ "dataMapping": "None",
261
+ "isReparameterized": false,
262
+ "hasExpression": false,
263
+ "expressionContent": null,
264
+ "additionalSettings": {
265
+ "UseDegrees": false,
266
+ "Hidden": false,
267
+ "IsPreviewCapable": true,
268
+ "IsBakeCapable": false,
269
+ "Optional": false,
270
+ "Reverse": false,
271
+ "Simplify": false,
272
+ "IsPrincipal": "CannotBePrincipal",
273
+ "Locked": false
274
+ }
275
+ }
276
+ ],
277
+ "componentState": null
278
+ },
279
+ {
280
+ "id": 10,
281
+ "type": "Panel",
282
+ "objectType": "Parameter",
283
+ "guid": "59e0b89a-e487-49f8-bab8-b5bab16be14c",
284
+ "params": {
285
+ "Value": "Brep"
286
+ },
287
+ "position": {
288
+ "x": 500.6739,
289
+ "y": 1279.3556
290
+ },
291
+ "inputSettings": [],
292
+ "outputSettings": [
293
+ {
294
+ "parameterName": "Panel",
295
+ "dataMapping": "None",
296
+ "isReparameterized": false,
297
+ "hasExpression": false,
298
+ "expressionContent": null,
299
+ "additionalSettings": {
300
+ "Optional": false,
301
+ "Reverse": false,
302
+ "Simplify": false,
303
+ "IsPrincipal": "CannotBePrincipal",
304
+ "Locked": false
305
+ }
306
+ }
307
+ ],
308
+ "componentState": {
309
+ "multiline": true,
310
+ "wrap": true
311
+ }
312
+ },
313
+ {
314
+ "id": 11,
315
+ "type": "Query Categories",
316
+ "objectType": "Component",
317
+ "guid": "d150e40e-0970-4683-b517-038f8ba8b0d8",
318
+ "params": {},
319
+ "position": {
320
+ "x": 553.0,
321
+ "y": 1190.0
322
+ },
323
+ "inputSettings": [
324
+ {
325
+ "parameterName": "Discipline",
326
+ "dataMapping": "None",
327
+ "isReparameterized": false,
328
+ "hasExpression": false,
329
+ "expressionContent": null,
330
+ "additionalSettings": {
331
+ "Optional": true,
332
+ "Reverse": false,
333
+ "Simplify": false,
334
+ "IsPrincipal": "IsNotPrincipal",
335
+ "Locked": false
336
+ }
337
+ },
338
+ {
339
+ "parameterName": "Type",
340
+ "dataMapping": "None",
341
+ "isReparameterized": false,
342
+ "hasExpression": false,
343
+ "expressionContent": null,
344
+ "additionalSettings": {
345
+ "Optional": true,
346
+ "Reverse": false,
347
+ "Simplify": false,
348
+ "IsPrincipal": "IsNotPrincipal",
349
+ "Locked": false
350
+ }
351
+ },
352
+ {
353
+ "parameterName": "Name",
354
+ "dataMapping": "None",
355
+ "isReparameterized": false,
356
+ "hasExpression": false,
357
+ "expressionContent": null,
358
+ "additionalSettings": {
359
+ "Optional": false,
360
+ "Reverse": false,
361
+ "Simplify": false,
362
+ "IsPrincipal": "IsNotPrincipal",
363
+ "Locked": false
364
+ }
365
+ },
366
+ {
367
+ "parameterName": "Is Visible UI",
368
+ "dataMapping": "None",
369
+ "isReparameterized": false,
370
+ "hasExpression": false,
371
+ "expressionContent": null,
372
+ "persistentData": {
373
+ "dataType": "BooleanValues",
374
+ "value": true
375
+ },
376
+ "additionalSettings": {
377
+ "Invert": false,
378
+ "Optional": true,
379
+ "Reverse": false,
380
+ "Simplify": false,
381
+ "IsPrincipal": "IsNotPrincipal",
382
+ "Locked": false
383
+ }
384
+ },
385
+ {
386
+ "parameterName": "Is Subcategory",
387
+ "dataMapping": "None",
388
+ "isReparameterized": false,
389
+ "hasExpression": false,
390
+ "expressionContent": null,
391
+ "additionalSettings": {
392
+ "Invert": false,
393
+ "Optional": true,
394
+ "Reverse": false,
395
+ "Simplify": false,
396
+ "IsPrincipal": "IsNotPrincipal",
397
+ "Locked": false
398
+ }
399
+ }
400
+ ],
401
+ "outputSettings": [
402
+ {
403
+ "parameterName": "Categories",
404
+ "dataMapping": "None",
405
+ "isReparameterized": false,
406
+ "hasExpression": false,
407
+ "expressionContent": null,
408
+ "additionalSettings": {
409
+ "IsBakeCapable": false,
410
+ "Optional": false,
411
+ "Reverse": false,
412
+ "Simplify": true,
413
+ "IsPrincipal": "CannotBePrincipal",
414
+ "Locked": false
415
+ }
416
+ }
417
+ ],
418
+ "componentState": null
419
+ },
420
+ {
421
+ "id": 12,
422
+ "type": "Filter by Type",
423
+ "objectType": "Component",
424
+ "guid": "8f3db753-d59c-4b9d-89e1-cef927ad5f0f",
425
+ "params": {},
426
+ "position": {
427
+ "x": 659.0,
428
+ "y": 1317.0
429
+ },
430
+ "inputSettings": [
431
+ {
432
+ "parameterName": "Object Type",
433
+ "dataMapping": "None",
434
+ "isReparameterized": false,
435
+ "hasExpression": false,
436
+ "expressionContent": null,
437
+ "additionalSettings": {
438
+ "Optional": false,
439
+ "Reverse": false,
440
+ "Simplify": false,
441
+ "IsPrincipal": "IsNotPrincipal",
442
+ "Locked": false
443
+ }
444
+ },
445
+ {
446
+ "parameterName": "Geometry",
447
+ "dataMapping": "None",
448
+ "isReparameterized": false,
449
+ "hasExpression": false,
450
+ "expressionContent": null,
451
+ "additionalSettings": {
452
+ "Hidden": false,
453
+ "IsPreviewCapable": true,
454
+ "Optional": false,
455
+ "Reverse": false,
456
+ "Simplify": false,
457
+ "IsPrincipal": "IsNotPrincipal",
458
+ "Locked": false
459
+ }
460
+ }
461
+ ],
462
+ "outputSettings": [
463
+ {
464
+ "parameterName": "Excluded Geometry",
465
+ "dataMapping": "None",
466
+ "isReparameterized": false,
467
+ "hasExpression": false,
468
+ "expressionContent": null,
469
+ "additionalSettings": {
470
+ "UseDegrees": false,
471
+ "Hidden": false,
472
+ "IsPreviewCapable": true,
473
+ "IsBakeCapable": false,
474
+ "Optional": false,
475
+ "Reverse": false,
476
+ "Simplify": false,
477
+ "IsPrincipal": "CannotBePrincipal",
478
+ "Locked": false
479
+ }
480
+ },
481
+ {
482
+ "parameterName": "Included Geometry",
483
+ "dataMapping": "None",
484
+ "isReparameterized": false,
485
+ "hasExpression": false,
486
+ "expressionContent": null,
487
+ "additionalSettings": {
488
+ "UseDegrees": false,
489
+ "Hidden": false,
490
+ "IsPreviewCapable": true,
491
+ "IsBakeCapable": false,
492
+ "Optional": false,
493
+ "Reverse": false,
494
+ "Simplify": false,
495
+ "IsPrincipal": "CannotBePrincipal",
496
+ "Locked": false
497
+ }
498
+ }
499
+ ],
500
+ "componentState": null
501
+ },
502
+ {
503
+ "id": 13,
504
+ "type": "Add DirectShape (Geometry)",
505
+ "objectType": "Component",
506
+ "guid": "0bfbda45-49cc-4ac6-8d6d-ecd2cfed062a",
507
+ "params": {},
508
+ "position": {
509
+ "x": 875.0,
510
+ "y": 1200.0
511
+ },
512
+ "inputSettings": [
513
+ {
514
+ "parameterName": "Name",
515
+ "dataMapping": "None",
516
+ "isReparameterized": false,
517
+ "hasExpression": false,
518
+ "expressionContent": null,
519
+ "additionalSettings": {
520
+ "Optional": true,
521
+ "Reverse": false,
522
+ "Simplify": false,
523
+ "IsPrincipal": "IsNotPrincipal",
524
+ "Locked": false
525
+ }
526
+ },
527
+ {
528
+ "parameterName": "Category",
529
+ "dataMapping": "None",
530
+ "isReparameterized": false,
531
+ "hasExpression": false,
532
+ "expressionContent": null,
533
+ "additionalSettings": {
534
+ "IsBakeCapable": false,
535
+ "Optional": false,
536
+ "Reverse": false,
537
+ "Simplify": false,
538
+ "IsPrincipal": "IsNotPrincipal",
539
+ "Locked": false
540
+ }
541
+ },
542
+ {
543
+ "parameterName": "Geometry",
544
+ "dataMapping": "None",
545
+ "isReparameterized": false,
546
+ "hasExpression": false,
547
+ "expressionContent": null,
548
+ "additionalSettings": {
549
+ "Hidden": false,
550
+ "IsPreviewCapable": true,
551
+ "IsBakeCapable": true,
552
+ "Optional": false,
553
+ "Reverse": false,
554
+ "Simplify": false,
555
+ "IsPrincipal": "IsNotPrincipal",
556
+ "Locked": false
557
+ }
558
+ },
559
+ {
560
+ "parameterName": "Material",
561
+ "dataMapping": "None",
562
+ "isReparameterized": false,
563
+ "hasExpression": false,
564
+ "expressionContent": null,
565
+ "additionalSettings": {
566
+ "IsBakeCapable": false,
567
+ "Optional": true,
568
+ "Reverse": false,
569
+ "Simplify": false,
570
+ "IsPrincipal": "IsNotPrincipal",
571
+ "Locked": false
572
+ }
573
+ }
574
+ ],
575
+ "outputSettings": [
576
+ {
577
+ "parameterName": "DirectShape",
578
+ "dataMapping": "None",
579
+ "isReparameterized": false,
580
+ "hasExpression": false,
581
+ "expressionContent": null,
582
+ "additionalSettings": {
583
+ "IsBakeCapable": false,
584
+ "Optional": false,
585
+ "Reverse": false,
586
+ "Simplify": false,
587
+ "IsPrincipal": "CannotBePrincipal",
588
+ "Locked": false
589
+ }
590
+ }
591
+ ],
592
+ "componentState": null
593
+ }
594
+ ],
595
+ "connections": [
596
+ {
597
+ "from": {
598
+ "id": 11,
599
+ "output": "Categories"
600
+ },
601
+ "to": {
602
+ "id": 13,
603
+ "input": "Category"
604
+ }
605
+ },
606
+ {
607
+ "from": {
608
+ "id": 7,
609
+ "output": "Panel"
610
+ },
611
+ "to": {
612
+ "id": 8,
613
+ "input": "Keys"
614
+ }
615
+ },
616
+ {
617
+ "from": {
618
+ "id": 7,
619
+ "output": "Panel"
620
+ },
621
+ "to": {
622
+ "id": 8,
623
+ "input": "Search"
624
+ }
625
+ },
626
+ {
627
+ "from": {
628
+ "id": 7,
629
+ "output": "Panel"
630
+ },
631
+ "to": {
632
+ "id": 9,
633
+ "input": "Layer name"
634
+ }
635
+ },
636
+ {
637
+ "from": {
638
+ "id": 8,
639
+ "output": "Result"
640
+ },
641
+ "to": {
642
+ "id": 11,
643
+ "input": "Name"
644
+ }
645
+ },
646
+ {
647
+ "from": {
648
+ "id": 6,
649
+ "output": "Panel"
650
+ },
651
+ "to": {
652
+ "id": 8,
653
+ "input": "Values"
654
+ }
655
+ },
656
+ {
657
+ "from": {
658
+ "id": 9,
659
+ "output": "Geometry"
660
+ },
661
+ "to": {
662
+ "id": 12,
663
+ "input": "Geometry"
664
+ }
665
+ },
666
+ {
667
+ "from": {
668
+ "id": 12,
669
+ "output": "Included Geometry"
670
+ },
671
+ "to": {
672
+ "id": 13,
673
+ "input": "Geometry"
674
+ }
675
+ },
676
+ {
677
+ "from": {
678
+ "id": 10,
679
+ "output": "Panel"
680
+ },
681
+ "to": {
682
+ "id": 12,
683
+ "input": "Object Type"
684
+ }
685
+ }
686
+ ]
687
+ }
688
+ }