Skip to content

Commit f353ccb

Browse files
authored
DYN-7082 Update DSCore.List.IndexOf image in the node help doc (#15467)
1 parent c4901a4 commit f353ccb

File tree

2 files changed

+136
-18
lines changed

2 files changed

+136
-18
lines changed

doc/distrib/NodeHelpFiles/DSCore.List.IndexOf.dyn

+136-18
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
],
4747
"FunctionSignature": "DSCore.List.IndexOf@var[]..[],var",
4848
"Replication": "Auto",
49-
"Description": "Returns the index of the element in the given list. Match between given list and target element must be a strict match (i.e. int to int, double to double, string to string, object to object etc.)\n\nList.IndexOf (list: var[]..[], element: var): int"
49+
"Description": "Returns the index of the element in the given list. Match between given list and target element must be a strict match (i.e. int to int, double to double, string to string, object to object etc.).\n\nList.IndexOf (list: var[]..[], element: var): int"
5050
},
5151
{
5252
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
@@ -75,22 +75,31 @@
7575
"Inputs": [],
7676
"Outputs": [
7777
{
78-
"Id": "6e993626ebdc43c6a402768431f2a375",
78+
"Id": "5324400ee2f441ab9d2d3acc12dcf7c5",
7979
"Name": "",
8080
"Description": "Value of expression at line 1",
8181
"UsingDefaultValue": false,
8282
"Level": 2,
8383
"UseLevels": false,
8484
"KeepListStructure": false
85+
},
86+
{
87+
"Id": "019e35804d0842cb99f33de6f11944e3",
88+
"Name": "",
89+
"Description": "Value of expression at line 2",
90+
"UsingDefaultValue": false,
91+
"Level": 2,
92+
"UseLevels": false,
93+
"KeepListStructure": false
8594
}
8695
],
8796
"Replication": "Disabled",
8897
"Description": "Allows for DesignScript code to be authored directly",
89-
"Code": "3.8;"
98+
"Code": "3.8;\n4.8;"
9099
},
91100
{
92101
"ConcreteType": "CoreNodeModels.Watch, CoreNodeModels",
93-
"WatchWidth": 28.0,
102+
"WatchWidth": 27.5,
94103
"WatchHeight": 38.0,
95104
"Id": "b5816650ee87421da4e0adde5fbfae3a",
96105
"NodeType": "ExtensionNode",
@@ -149,6 +158,76 @@
149158
],
150159
"Replication": "Disabled",
151160
"Description": "Visualizes a node's output"
161+
},
162+
{
163+
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
164+
"Id": "4ef2b2ece10948f3b91701b4b05b43a5",
165+
"NodeType": "FunctionNode",
166+
"Inputs": [
167+
{
168+
"Id": "148325fbd53043e79254513e388f92ae",
169+
"Name": "list",
170+
"Description": "The list to find the element in.\n\nvar[]..[]",
171+
"UsingDefaultValue": false,
172+
"Level": 2,
173+
"UseLevels": false,
174+
"KeepListStructure": false
175+
},
176+
{
177+
"Id": "3c53a263756f4ba19de8d3eae4715662",
178+
"Name": "element",
179+
"Description": "The element whose index is to be returned.\n\nvar",
180+
"UsingDefaultValue": false,
181+
"Level": 2,
182+
"UseLevels": false,
183+
"KeepListStructure": false
184+
}
185+
],
186+
"Outputs": [
187+
{
188+
"Id": "c282877dcb3446f6a3bb29b30038519b",
189+
"Name": "int",
190+
"Description": "The index of the element in the list. Invalid index -1 will be returned if strict match not found.",
191+
"UsingDefaultValue": false,
192+
"Level": 2,
193+
"UseLevels": false,
194+
"KeepListStructure": false
195+
}
196+
],
197+
"FunctionSignature": "DSCore.List.IndexOf@var[]..[],var",
198+
"Replication": "Auto",
199+
"Description": "Returns the index of the element in the given list. Match between given list and target element must be a strict match (i.e. int to int, double to double, string to string, object to object etc.).\n\nList.IndexOf (list: var[]..[], element: var): int"
200+
},
201+
{
202+
"ConcreteType": "CoreNodeModels.Watch, CoreNodeModels",
203+
"WatchWidth": 50.0,
204+
"WatchHeight": 38.0,
205+
"Id": "06df58ca218f4ecd9154da43012aac5a",
206+
"NodeType": "ExtensionNode",
207+
"Inputs": [
208+
{
209+
"Id": "8879fa0db628438897bedf8a16530a76",
210+
"Name": "",
211+
"Description": "Node to show output from",
212+
"UsingDefaultValue": false,
213+
"Level": 2,
214+
"UseLevels": false,
215+
"KeepListStructure": false
216+
}
217+
],
218+
"Outputs": [
219+
{
220+
"Id": "69e12068a2034874b4d36c696043a214",
221+
"Name": "",
222+
"Description": "Node output",
223+
"UsingDefaultValue": false,
224+
"Level": 2,
225+
"UseLevels": false,
226+
"KeepListStructure": false
227+
}
228+
],
229+
"Replication": "Disabled",
230+
"Description": "Visualizes a node's output"
152231
}
153232
],
154233
"Connectors": [
@@ -165,20 +244,39 @@
165244
"IsHidden": "False"
166245
},
167246
{
168-
"Start": "6e993626ebdc43c6a402768431f2a375",
247+
"Start": "5324400ee2f441ab9d2d3acc12dcf7c5",
169248
"End": "36094d3283c44ed39c0b17d20e39741e",
170-
"Id": "d4111ab3ad174183af26d35bfe853a0e",
249+
"Id": "108765a8132243ad98717b4d0cc77b16",
250+
"IsHidden": "False"
251+
},
252+
{
253+
"Start": "019e35804d0842cb99f33de6f11944e3",
254+
"End": "3c53a263756f4ba19de8d3eae4715662",
255+
"Id": "bd3ff365b92747d7aa8f8fa584782436",
171256
"IsHidden": "False"
172257
},
173258
{
174259
"Start": "db18207e63f24751b28c5145190195f4",
175260
"End": "4741285a87a74557b4f040b7bbac6496",
176261
"Id": "0ccf90b938884d2dbc15047fd0dd49ba",
177262
"IsHidden": "False"
263+
},
264+
{
265+
"Start": "db18207e63f24751b28c5145190195f4",
266+
"End": "148325fbd53043e79254513e388f92ae",
267+
"Id": "e8065de756be4c9585ed6a9b01475561",
268+
"IsHidden": "False"
269+
},
270+
{
271+
"Start": "c282877dcb3446f6a3bb29b30038519b",
272+
"End": "8879fa0db628438897bedf8a16530a76",
273+
"Id": "7a8986cc9f894f2fab550176426ba936",
274+
"IsHidden": "False"
178275
}
179276
],
180277
"Dependencies": [],
181278
"NodeLibraryDependencies": [],
279+
"EnableLegacyPolyCurveBehavior": true,
182280
"Thumbnail": "",
183281
"GraphDocumentationURL": null,
184282
"ExtensionWorkspaceData": [
@@ -202,7 +300,7 @@
202300
"ScaleFactor": 1.0,
203301
"HasRunWithoutCrash": true,
204302
"IsVisibleInDynamoLibrary": true,
205-
"Version": "2.19.0.5742",
303+
"Version": "3.4.0.6144",
206304
"RunType": "Automatic",
207305
"RunPeriod": "1000"
208306
},
@@ -212,11 +310,11 @@
212310
"EyeY": 13.915582656860352,
213311
"EyeZ": 16.000629425048828,
214312
"LookX": 16.128910064697266,
215-
"LookY": -8.1650753021240234,
313+
"LookY": -8.165075302124023,
216314
"LookZ": -20.504016876220703,
217-
"UpX": 0.053885128349065781,
218-
"UpY": 0.99619466066360474,
219-
"UpZ": -0.068501941859722137
315+
"UpX": 0.05388512834906578,
316+
"UpY": 0.9961946606636047,
317+
"UpZ": -0.06850194185972214
220318
},
221319
"ConnectorPins": [],
222320
"NodeViews": [
@@ -227,8 +325,8 @@
227325
"IsSetAsOutput": false,
228326
"Excluded": false,
229327
"ShowGeometry": true,
230-
"X": 259.05324280743,
231-
"Y": 2612.1890880143
328+
"X": 270.78018520891123,
329+
"Y": 2486.61307979844
232330
},
233331
{
234332
"Id": "d59e73c300094857a3666e335f6243bd",
@@ -237,7 +335,7 @@
237335
"IsSetAsOutput": false,
238336
"Excluded": false,
239337
"ShowGeometry": true,
240-
"X": -388.94675719257049,
338+
"X": -388.9467571925705,
241339
"Y": 2472.0165880143
242340
},
243341
{
@@ -247,8 +345,8 @@
247345
"IsSetAsOutput": false,
248346
"Excluded": false,
249347
"ShowGeometry": true,
250-
"X": -117.94675719257,
251-
"Y": 2786.0165880143
348+
"X": -50.51683838405384,
349+
"Y": 2808.004605017077
252350
},
253351
{
254352
"Id": "b5816650ee87421da4e0adde5fbfae3a",
@@ -257,8 +355,8 @@
257355
"IsSetAsOutput": false,
258356
"Excluded": false,
259357
"ShowGeometry": true,
260-
"X": 554.05324280742957,
261-
"Y": 2612.1890880143
358+
"X": 579.9502406107003,
359+
"Y": 2486.124457198379
262360
},
263361
{
264362
"Id": "f81af81272c1430380398f98296f0daa",
@@ -269,6 +367,26 @@
269367
"ShowGeometry": true,
270368
"X": -117.94675719257049,
271369
"Y": 2472.1890880143
370+
},
371+
{
372+
"Id": "4ef2b2ece10948f3b91701b4b05b43a5",
373+
"Name": "List.IndexOf",
374+
"IsSetAsInput": false,
375+
"IsSetAsOutput": false,
376+
"Excluded": false,
377+
"ShowGeometry": true,
378+
"X": 276.1497123824988,
379+
"Y": 2736.7543244275066
380+
},
381+
{
382+
"Id": "06df58ca218f4ecd9154da43012aac5a",
383+
"Name": "Watch",
384+
"IsSetAsInput": false,
385+
"IsSetAsOutput": false,
386+
"Excluded": false,
387+
"ShowGeometry": true,
388+
"X": 572.5796311910144,
389+
"Y": 2760.924379829296
272390
}
273391
],
274392
"Annotations": [],
Loading

0 commit comments

Comments
 (0)