1
+ {
2
+ "Uuid": "59625059-5a9c-4574-ab17-3611fa8fdac3",
3
+ "IsCustomNode": false,
4
+ "Description": "",
5
+ "Name": "DSCore.List.ReplaceItemAtIndices",
6
+ "ElementResolver": {
7
+ "ResolutionMap": {}
8
+ },
9
+ "Inputs": [],
10
+ "Outputs": [],
11
+ "Nodes": [
12
+ {
13
+ "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
14
+ "Id": "50015fb5b2db437cb6e1377c24f98460",
15
+ "NodeType": "CodeBlockNode",
16
+ "Inputs": [],
17
+ "Outputs": [
18
+ {
19
+ "Id": "34d72b2cd08a46f0adc6b153048222c5",
20
+ "Name": "",
21
+ "Description": "Value of expression at line 1",
22
+ "UsingDefaultValue": false,
23
+ "Level": 2,
24
+ "UseLevels": false,
25
+ "KeepListStructure": false
26
+ }
27
+ ],
28
+ "Replication": "Disabled",
29
+ "Description": "Allows for DesignScript code to be authored directly",
30
+ "Code": "0..5..1;"
31
+ },
32
+ {
33
+ "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels",
34
+ "WatchWidth": 200.0,
35
+ "WatchHeight": 200.0,
36
+ "Id": "56a109734d4d4952841d68168f950d2b",
37
+ "NodeType": "ExtensionNode",
38
+ "Inputs": [
39
+ {
40
+ "Id": "92c021ee92a04a1fad660e143c914d2e",
41
+ "Name": "",
42
+ "Description": "Node to show output from",
43
+ "UsingDefaultValue": false,
44
+ "Level": 2,
45
+ "UseLevels": false,
46
+ "KeepListStructure": false
47
+ }
48
+ ],
49
+ "Outputs": [
50
+ {
51
+ "Id": "399f206594224d84a174c744d077acf5",
52
+ "Name": "",
53
+ "Description": "Node output",
54
+ "UsingDefaultValue": false,
55
+ "Level": 2,
56
+ "UseLevels": false,
57
+ "KeepListStructure": false
58
+ }
59
+ ],
60
+ "Replication": "Disabled",
61
+ "Description": "Visualizes a node's output"
62
+ },
63
+ {
64
+ "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels",
65
+ "WatchWidth": 200.0,
66
+ "WatchHeight": 200.0,
67
+ "Id": "8ecb6a4ff094413abe5c6fe53d196d5e",
68
+ "NodeType": "ExtensionNode",
69
+ "Inputs": [
70
+ {
71
+ "Id": "d877dbc4deb14994ae99bfd0926359da",
72
+ "Name": "",
73
+ "Description": "Node to show output from",
74
+ "UsingDefaultValue": false,
75
+ "Level": 2,
76
+ "UseLevels": false,
77
+ "KeepListStructure": false
78
+ }
79
+ ],
80
+ "Outputs": [
81
+ {
82
+ "Id": "def34aff16284c8498e773e29b1f9b58",
83
+ "Name": "",
84
+ "Description": "Node output",
85
+ "UsingDefaultValue": false,
86
+ "Level": 2,
87
+ "UseLevels": false,
88
+ "KeepListStructure": false
89
+ }
90
+ ],
91
+ "Replication": "Disabled",
92
+ "Description": "Visualizes a node's output"
93
+ },
94
+ {
95
+ "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
96
+ "Id": "acf1ca1e11b54dcfa2ee93e5568b200c",
97
+ "NodeType": "FunctionNode",
98
+ "Inputs": [
99
+ {
100
+ "Id": "36e35e1d23774e4f8ad3f26980dd195d",
101
+ "Name": "list",
102
+ "Description": "List to replace an item in.\n\nvar[]..[]",
103
+ "UsingDefaultValue": false,
104
+ "Level": 2,
105
+ "UseLevels": false,
106
+ "KeepListStructure": false
107
+ },
108
+ {
109
+ "Id": "8e840c2d78a94b709197e5680b12f919",
110
+ "Name": "indices",
111
+ "Description": "Indices of the item(s) to be replaced.\n\nint[]",
112
+ "UsingDefaultValue": false,
113
+ "Level": 2,
114
+ "UseLevels": false,
115
+ "KeepListStructure": false
116
+ },
117
+ {
118
+ "Id": "7f3bb4dc901340029c842f50546c9a9a",
119
+ "Name": "item",
120
+ "Description": "The item to insert.\n\nvar[]..[]",
121
+ "UsingDefaultValue": false,
122
+ "Level": 2,
123
+ "UseLevels": false,
124
+ "KeepListStructure": false
125
+ }
126
+ ],
127
+ "Outputs": [
128
+ {
129
+ "Id": "e4c49d8e326d42db970d7b6d964e642b",
130
+ "Name": "list",
131
+ "Description": "A new list with the item(s) replaced.",
132
+ "UsingDefaultValue": false,
133
+ "Level": 2,
134
+ "UseLevels": false,
135
+ "KeepListStructure": false
136
+ }
137
+ ],
138
+ "FunctionSignature": "DSCore.List.ReplaceItemAtIndices@var[]..[],int[],var[]..[]",
139
+ "Replication": "Auto",
140
+ "Description": "Replaces items from the given list that are located at the specified indices.\n\nList.ReplaceItemAtIndices (list: var[]..[], indices: int[], item: var[]..[]): var[]..[]"
141
+ },
142
+ {
143
+ "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels",
144
+ "VariableInputPorts": true,
145
+ "Id": "2495118848ed4fa0ba000e03187edf15",
146
+ "NodeType": "ExtensionNode",
147
+ "Inputs": [
148
+ {
149
+ "Id": "3ee0a2f4d9dd44f4bc848d78d3e067c6",
150
+ "Name": "item0",
151
+ "Description": "Item Index #0",
152
+ "UsingDefaultValue": false,
153
+ "Level": 2,
154
+ "UseLevels": false,
155
+ "KeepListStructure": false
156
+ },
157
+ {
158
+ "Id": "6408511873914d8583771c03150fe31c",
159
+ "Name": "item1",
160
+ "Description": "Item Index #1",
161
+ "UsingDefaultValue": false,
162
+ "Level": 2,
163
+ "UseLevels": false,
164
+ "KeepListStructure": false
165
+ }
166
+ ],
167
+ "Outputs": [
168
+ {
169
+ "Id": "8aa268aad1b348b48638fe07ed27486b",
170
+ "Name": "list",
171
+ "Description": "A list (type: var[]..[])",
172
+ "UsingDefaultValue": false,
173
+ "Level": 2,
174
+ "UseLevels": false,
175
+ "KeepListStructure": false
176
+ }
177
+ ],
178
+ "Replication": "Disabled",
179
+ "Description": "Makes a new list from the given inputs"
180
+ },
181
+ {
182
+ "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
183
+ "Id": "ec1d8952b3724ee189615fa59ce52aa2",
184
+ "NodeType": "CodeBlockNode",
185
+ "Inputs": [],
186
+ "Outputs": [
187
+ {
188
+ "Id": "a4fa7f5ca43d403c95e34a2c11674875",
189
+ "Name": "",
190
+ "Description": "Value of expression at line 1",
191
+ "UsingDefaultValue": false,
192
+ "Level": 2,
193
+ "UseLevels": false,
194
+ "KeepListStructure": false
195
+ },
196
+ {
197
+ "Id": "33d946be8398459dac448f90b0209ef5",
198
+ "Name": "",
199
+ "Description": "Value of expression at line 2",
200
+ "UsingDefaultValue": false,
201
+ "Level": 2,
202
+ "UseLevels": false,
203
+ "KeepListStructure": false
204
+ }
205
+ ],
206
+ "Replication": "Disabled",
207
+ "Description": "Allows for DesignScript code to be authored directly",
208
+ "Code": "3;\n5;"
209
+ },
210
+ {
211
+ "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
212
+ "Id": "843665537b714f48bfd3deb514be45bb",
213
+ "NodeType": "CodeBlockNode",
214
+ "Inputs": [],
215
+ "Outputs": [
216
+ {
217
+ "Id": "03ef33e764b64506a84402ab819ee4d4",
218
+ "Name": "",
219
+ "Description": "Value of expression at line 1",
220
+ "UsingDefaultValue": false,
221
+ "Level": 2,
222
+ "UseLevels": false,
223
+ "KeepListStructure": false
224
+ }
225
+ ],
226
+ "Replication": "Disabled",
227
+ "Description": "Allows for DesignScript code to be authored directly",
228
+ "Code": "10;"
229
+ }
230
+ ],
231
+ "Connectors": [
232
+ {
233
+ "Start": "34d72b2cd08a46f0adc6b153048222c5",
234
+ "End": "92c021ee92a04a1fad660e143c914d2e",
235
+ "Id": "41f5524a130a4f83a5ed4b5ebda55b5c",
236
+ "IsHidden": "False"
237
+ },
238
+ {
239
+ "Start": "399f206594224d84a174c744d077acf5",
240
+ "End": "36e35e1d23774e4f8ad3f26980dd195d",
241
+ "Id": "d80d306467854372892b98e33f7bec41",
242
+ "IsHidden": "False"
243
+ },
244
+ {
245
+ "Start": "e4c49d8e326d42db970d7b6d964e642b",
246
+ "End": "d877dbc4deb14994ae99bfd0926359da",
247
+ "Id": "1ce9af29f25347e9869cae0336ede847",
248
+ "IsHidden": "False"
249
+ },
250
+ {
251
+ "Start": "8aa268aad1b348b48638fe07ed27486b",
252
+ "End": "8e840c2d78a94b709197e5680b12f919",
253
+ "Id": "5370348fdc64445296bbeba95d1d531f",
254
+ "IsHidden": "False"
255
+ },
256
+ {
257
+ "Start": "a4fa7f5ca43d403c95e34a2c11674875",
258
+ "End": "3ee0a2f4d9dd44f4bc848d78d3e067c6",
259
+ "Id": "9b1b8126c5a64aef82640817ede85ca7",
260
+ "IsHidden": "False"
261
+ },
262
+ {
263
+ "Start": "33d946be8398459dac448f90b0209ef5",
264
+ "End": "6408511873914d8583771c03150fe31c",
265
+ "Id": "4724ea71d9764e9eb7dc7316f78754ff",
266
+ "IsHidden": "False"
267
+ },
268
+ {
269
+ "Start": "03ef33e764b64506a84402ab819ee4d4",
270
+ "End": "7f3bb4dc901340029c842f50546c9a9a",
271
+ "Id": "fa5e1bd9fbf2431f967a10249a70e1bb",
272
+ "IsHidden": "False"
273
+ }
274
+ ],
275
+ "Dependencies": [],
276
+ "NodeLibraryDependencies": [],
277
+ "EnableLegacyPolyCurveBehavior": true,
278
+ "Thumbnail": "",
279
+ "GraphDocumentationURL": null,
280
+ "ExtensionWorkspaceData": [
281
+ {
282
+ "ExtensionGuid": "28992e1d-abb9-417f-8b1b-05e053bee670",
283
+ "Name": "Properties",
284
+ "Version": "3.5",
285
+ "Data": {}
286
+ }
287
+ ],
288
+ "Author": "",
289
+ "Linting": {
290
+ "activeLinter": "None",
291
+ "activeLinterId": "7b75fb44-43fd-4631-a878-29f4d5d8399a",
292
+ "warningCount": 0,
293
+ "errorCount": 0
294
+ },
295
+ "Bindings": [],
296
+ "View": {
297
+ "Dynamo": {
298
+ "ScaleFactor": 1.0,
299
+ "HasRunWithoutCrash": true,
300
+ "IsVisibleInDynamoLibrary": true,
301
+ "Version": "3.5.0.7755",
302
+ "RunType": "Manual",
303
+ "RunPeriod": "1000"
304
+ },
305
+ "Camera": {
306
+ "Name": "_Background Preview",
307
+ "EyeX": -12.956331253051758,
308
+ "EyeY": 12.279585838317871,
309
+ "EyeZ": 70.32562255859375,
310
+ "LookX": 14.33994197845459,
311
+ "LookY": -15.534936904907227,
312
+ "LookZ": -69.3097152709961,
313
+ "UpX": 0.04242589697241783,
314
+ "UpY": 0.9540387392044067,
315
+ "UpZ": -0.2050585001707077
316
+ },
317
+ "ConnectorPins": [],
318
+ "NodeViews": [
319
+ {
320
+ "Id": "50015fb5b2db437cb6e1377c24f98460",
321
+ "Name": "Code Block",
322
+ "IsSetAsInput": false,
323
+ "IsSetAsOutput": false,
324
+ "Excluded": false,
325
+ "ShowGeometry": true,
326
+ "X": 263.70958961468557,
327
+ "Y": 1057.7980817966863
328
+ },
329
+ {
330
+ "Id": "56a109734d4d4952841d68168f950d2b",
331
+ "Name": "Watch",
332
+ "IsSetAsInput": false,
333
+ "IsSetAsOutput": false,
334
+ "Excluded": false,
335
+ "ShowGeometry": true,
336
+ "X": 518.315406085639,
337
+ "Y": 1057.9705817966862
338
+ },
339
+ {
340
+ "Id": "8ecb6a4ff094413abe5c6fe53d196d5e",
341
+ "Name": "Watch",
342
+ "IsSetAsInput": false,
343
+ "IsSetAsOutput": false,
344
+ "Excluded": false,
345
+ "ShowGeometry": true,
346
+ "X": 1251.7095896146855,
347
+ "Y": 1282.9705817966862
348
+ },
349
+ {
350
+ "Id": "acf1ca1e11b54dcfa2ee93e5568b200c",
351
+ "Name": "List.ReplaceItemAtIndices",
352
+ "IsSetAsInput": false,
353
+ "IsSetAsOutput": false,
354
+ "Excluded": false,
355
+ "ShowGeometry": true,
356
+ "X": 898.0986063468047,
357
+ "Y": 1207.856180245482
358
+ },
359
+ {
360
+ "Id": "2495118848ed4fa0ba000e03187edf15",
361
+ "Name": "List Create",
362
+ "IsSetAsInput": false,
363
+ "IsSetAsOutput": false,
364
+ "Excluded": false,
365
+ "ShowGeometry": true,
366
+ "X": 576.815406085639,
367
+ "Y": 1394.0632524079465
368
+ },
369
+ {
370
+ "Id": "ec1d8952b3724ee189615fa59ce52aa2",
371
+ "Name": "Code Block",
372
+ "IsSetAsInput": false,
373
+ "IsSetAsOutput": false,
374
+ "Excluded": false,
375
+ "ShowGeometry": true,
376
+ "X": 342.3897144986605,
377
+ "Y": 1394.9871431233255
378
+ },
379
+ {
380
+ "Id": "843665537b714f48bfd3deb514be45bb",
381
+ "Name": "Code Block",
382
+ "IsSetAsInput": false,
383
+ "IsSetAsOutput": false,
384
+ "Excluded": false,
385
+ "ShowGeometry": true,
386
+ "X": 579.815406085639,
387
+ "Y": 1592.1559230192065
388
+ }
389
+ ],
390
+ "Annotations": [],
391
+ "X": -171.9562235365338,
392
+ "Y": -620.3114950506504,
393
+ "Zoom": 0.7263679269143929
394
+ }
395
+ }
0 commit comments