Skip to content

Commit 129af87

Browse files
authored
Last minute changes (#12)
* small fixes to readme, new DYN sample - add DYN sample for ZT geometry - fix readme links - fix P1E2 missing directives - fix clash between ZT and EN packages * Update README.md * add templates - pkg.json - dynamo customisation xml
1 parent 66356bc commit 129af87

File tree

8 files changed

+1041
-35
lines changed

8 files changed

+1041
-35
lines changed

Diff for: Part 1 - ZeroTouch/2 - Input Output/1-IO-Exceptions.dyn

+185-10
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"Inputs": [],
9898
"Outputs": [
9999
{
100-
"Id": "515d0a97648a4063a7a2a43758df12ac",
100+
"Id": "35aa9e0dd20c4248a2d3b63742239a20",
101101
"Name": "",
102102
"Description": "Value of expression at line 1",
103103
"UsingDefaultValue": false,
@@ -166,6 +166,86 @@
166166
],
167167
"Replication": "Disabled",
168168
"Description": "Visualize the output of node."
169+
},
170+
{
171+
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
172+
"NodeType": "FunctionNode",
173+
"FunctionSignature": "DSCore.Math.Sum@double[]",
174+
"Id": "77de4d402e3d443cb8d39576c6b85454",
175+
"Inputs": [
176+
{
177+
"Id": "2c468f86bcea426e8a308a9cc8c40243",
178+
"Name": "values",
179+
"Description": "The numbers to sum\n\ndouble[]",
180+
"UsingDefaultValue": false,
181+
"Level": 2,
182+
"UseLevels": false,
183+
"KeepListStructure": false
184+
}
185+
],
186+
"Outputs": [
187+
{
188+
"Id": "f99660c7cb9044139a36240afeba3f06",
189+
"Name": "sum",
190+
"Description": "The sum of the values",
191+
"UsingDefaultValue": false,
192+
"Level": 2,
193+
"UseLevels": false,
194+
"KeepListStructure": false
195+
}
196+
],
197+
"Replication": "Auto",
198+
"Description": "Find the sum of a series of numbers\n\nMath.Sum (values: double[]): double"
199+
},
200+
{
201+
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
202+
"NodeType": "CodeBlockNode",
203+
"Code": "[\n1,\n2,\n3,\n0,\n3,\n1\n];",
204+
"Id": "9595e48f4e394ae69d1e3af4d3e6eaa7",
205+
"Inputs": [],
206+
"Outputs": [
207+
{
208+
"Id": "af62772449834904a809976dbeb56e79",
209+
"Name": "",
210+
"Description": "Value of expression at line 1",
211+
"UsingDefaultValue": false,
212+
"Level": 2,
213+
"UseLevels": false,
214+
"KeepListStructure": false
215+
}
216+
],
217+
"Replication": "Disabled",
218+
"Description": "Allows for DesignScript code to be authored directly"
219+
},
220+
{
221+
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
222+
"NodeType": "FunctionNode",
223+
"FunctionSignature": "DSCore.Math.Sum@double[]",
224+
"Id": "a28a7f6d868949e9864f2cffb948f894",
225+
"Inputs": [
226+
{
227+
"Id": "356595bc950543f1980fcdc8f1812aaa",
228+
"Name": "values",
229+
"Description": "The numbers to sum\n\ndouble[]",
230+
"UsingDefaultValue": false,
231+
"Level": 2,
232+
"UseLevels": false,
233+
"KeepListStructure": false
234+
}
235+
],
236+
"Outputs": [
237+
{
238+
"Id": "62256bab65cd4de092cf1e9c9e08d4ff",
239+
"Name": "sum",
240+
"Description": "The sum of the values",
241+
"UsingDefaultValue": false,
242+
"Level": 2,
243+
"UseLevels": false,
244+
"KeepListStructure": false
245+
}
246+
],
247+
"Replication": "Auto",
248+
"Description": "Find the sum of a series of numbers\n\nMath.Sum (values: double[]): double"
169249
}
170250
],
171251
"Connectors": [
@@ -185,9 +265,19 @@
185265
"Id": "34bf5ea0f8f1426f84227fb5b3183c36"
186266
},
187267
{
188-
"Start": "515d0a97648a4063a7a2a43758df12ac",
268+
"Start": "35aa9e0dd20c4248a2d3b63742239a20",
189269
"End": "e33fa1a747b54d8c9b02a23d19796a51",
190270
"Id": "3f518878b5684745b5eedd4e3f283c5a"
271+
},
272+
{
273+
"Start": "35aa9e0dd20c4248a2d3b63742239a20",
274+
"End": "2c468f86bcea426e8a308a9cc8c40243",
275+
"Id": "b8726b47d69d49f18a5385841c1e632d"
276+
},
277+
{
278+
"Start": "af62772449834904a809976dbeb56e79",
279+
"End": "356595bc950543f1980fcdc8f1812aaa",
280+
"Id": "13d36a23c64b4b359f02f590dd8ffc88"
191281
}
192282
],
193283
"Dependencies": [],
@@ -198,7 +288,7 @@
198288
"HasRunWithoutCrash": true,
199289
"IsVisibleInDynamoLibrary": true,
200290
"Version": "2.0.1.5055",
201-
"RunType": "Automatic",
291+
"RunType": "Manual",
202292
"RunPeriod": "1000"
203293
},
204294
"Camera": {
@@ -241,8 +331,8 @@
241331
"IsSetAsInput": false,
242332
"IsSetAsOutput": false,
243333
"Excluded": false,
244-
"X": 542.23824095237251,
245-
"Y": 438.95057981885611
334+
"X": 594.481064182779,
335+
"Y": 484.839546169889
246336
},
247337
{
248338
"ShowGeometry": true,
@@ -251,8 +341,8 @@
251341
"IsSetAsInput": false,
252342
"IsSetAsOutput": false,
253343
"Excluded": false,
254-
"X": 363.23824095237251,
255-
"Y": 443.16391315218942
344+
"X": 415.481064182779,
345+
"Y": 489.052879503222
256346
},
257347
{
258348
"ShowGeometry": true,
@@ -271,11 +361,96 @@
271361
"IsSetAsInput": false,
272362
"IsSetAsOutput": false,
273363
"Excluded": false,
274-
"X": 944.23824095237251,
275-
"Y": 438.95057981885611
364+
"X": 996.481064182779,
365+
"Y": 484.839546169889
366+
},
367+
{
368+
"ShowGeometry": true,
369+
"Name": "Math.Sum",
370+
"Id": "77de4d402e3d443cb8d39576c6b85454",
371+
"IsSetAsInput": false,
372+
"IsSetAsOutput": false,
373+
"Excluded": false,
374+
"X": 885.496721586346,
375+
"Y": 852.141135045933
376+
},
377+
{
378+
"ShowGeometry": true,
379+
"Name": "Code Block",
380+
"Id": "9595e48f4e394ae69d1e3af4d3e6eaa7",
381+
"IsSetAsInput": false,
382+
"IsSetAsOutput": false,
383+
"Excluded": false,
384+
"X": 419.1732109921719,
385+
"Y": 902.99200602439771
386+
},
387+
{
388+
"ShowGeometry": true,
389+
"Name": "Math.Sum",
390+
"Id": "a28a7f6d868949e9864f2cffb948f894",
391+
"IsSetAsInput": false,
392+
"IsSetAsOutput": false,
393+
"Excluded": false,
394+
"X": 888.407476371594,
395+
"Y": 978.154972334248
396+
}
397+
],
398+
"Annotations": [
399+
{
400+
"Id": "517e3a844b3844ba890215bb532bdebf",
401+
"Title": "ThrowExceptionIfStringIsNull\r\n",
402+
"Nodes": [
403+
"26d083ae96d2460d802528faea17218f",
404+
"c44704cf90fa43b6901826880ace3e2a",
405+
"e27fabd207c04c06b9d2f65bce78f635"
406+
],
407+
"Left": 406.5,
408+
"Top": 174.5,
409+
"Width": 622.5,
410+
"Height": 205.5,
411+
"FontSize": 36.0,
412+
"InitialTop": 271.0,
413+
"InitialHeight": 124.0,
414+
"TextblockHeight": 86.5,
415+
"Background": "#FFC1D676"
416+
},
417+
{
418+
"Id": "42e8af13878043ee9bccfca8ede9522f",
419+
"Title": "HandleListNullExceptionsInternally",
420+
"Nodes": [
421+
"3b4871c8c78c49f78aab37dacbcc4d43",
422+
"1eec9d7750dc439893fa02f7d23c865a",
423+
"c33b27f68ead48eaaca4eea847d58713"
424+
],
425+
"Left": 405.481064182779,
426+
"Top": 431.839546169889,
427+
"Width": 680.0,
428+
"Height": 299.713333333333,
429+
"FontSize": 36.0,
430+
"InitialTop": 484.839546169889,
431+
"InitialHeight": 276.713333333333,
432+
"TextblockHeight": 43.0,
433+
"Background": "#FFC1D676"
434+
},
435+
{
436+
"Id": "8125b7b9292f4ec08935ff87907f430b",
437+
"Title": "Dynamo built-in sum\r\n",
438+
"Nodes": [
439+
"77de4d402e3d443cb8d39576c6b85454",
440+
"9595e48f4e394ae69d1e3af4d3e6eaa7",
441+
"a28a7f6d868949e9864f2cffb948f894"
442+
],
443+
"Left": 409.1732109921719,
444+
"Top": 755.641135045933,
445+
"Width": 673.23426537942214,
446+
"Height": 354.85087097846463,
447+
"FontSize": 36.0,
448+
"InitialTop": 852.141135045933,
449+
"InitialHeight": 251.13178958144,
450+
"TextblockHeight": 86.5,
451+
"Background": "#FFBB87C6"
276452
}
277453
],
278-
"Annotations": [],
279454
"X": -163.13645000000002,
280455
"Y": -11.512981250000024,
281456
"Zoom": 0.70823125000000009

0 commit comments

Comments
 (0)