From 21b1757567f935a791cb64e1d6a1c2afbc176254 Mon Sep 17 00:00:00 2001 From: reddyashish <43763136+reddyashish@users.noreply.github.com> Date: Fri, 6 Sep 2024 07:14:55 -0700 Subject: [PATCH] Update DSCore.List.IndexOf.dyn --- .../NodeHelpFiles/DSCore.List.IndexOf.dyn | 154 ++++++++++++++++-- 1 file changed, 136 insertions(+), 18 deletions(-) diff --git a/doc/distrib/NodeHelpFiles/DSCore.List.IndexOf.dyn b/doc/distrib/NodeHelpFiles/DSCore.List.IndexOf.dyn index ec5d08292df..4538245c79d 100644 --- a/doc/distrib/NodeHelpFiles/DSCore.List.IndexOf.dyn +++ b/doc/distrib/NodeHelpFiles/DSCore.List.IndexOf.dyn @@ -46,7 +46,7 @@ ], "FunctionSignature": "DSCore.List.IndexOf@var[]..[],var", "Replication": "Auto", - "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" + "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" }, { "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", @@ -75,22 +75,31 @@ "Inputs": [], "Outputs": [ { - "Id": "6e993626ebdc43c6a402768431f2a375", + "Id": "5324400ee2f441ab9d2d3acc12dcf7c5", "Name": "", "Description": "Value of expression at line 1", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false + }, + { + "Id": "019e35804d0842cb99f33de6f11944e3", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false } ], "Replication": "Disabled", "Description": "Allows for DesignScript code to be authored directly", - "Code": "3.8;" + "Code": "3.8;\n4.8;" }, { "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", - "WatchWidth": 28.0, + "WatchWidth": 27.5, "WatchHeight": 38.0, "Id": "b5816650ee87421da4e0adde5fbfae3a", "NodeType": "ExtensionNode", @@ -149,6 +158,76 @@ ], "Replication": "Disabled", "Description": "Visualizes a node's output" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "4ef2b2ece10948f3b91701b4b05b43a5", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "148325fbd53043e79254513e388f92ae", + "Name": "list", + "Description": "The list to find the element in.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "3c53a263756f4ba19de8d3eae4715662", + "Name": "element", + "Description": "The element whose index is to be returned.\n\nvar", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "c282877dcb3446f6a3bb29b30038519b", + "Name": "int", + "Description": "The index of the element in the list. Invalid index -1 will be returned if strict match not found.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "DSCore.List.IndexOf@var[]..[],var", + "Replication": "Auto", + "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" + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "WatchWidth": 50.0, + "WatchHeight": 38.0, + "Id": "06df58ca218f4ecd9154da43012aac5a", + "NodeType": "ExtensionNode", + "Inputs": [ + { + "Id": "8879fa0db628438897bedf8a16530a76", + "Name": "", + "Description": "Node to show output from", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "69e12068a2034874b4d36c696043a214", + "Name": "", + "Description": "Node output", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualizes a node's output" } ], "Connectors": [ @@ -165,9 +244,15 @@ "IsHidden": "False" }, { - "Start": "6e993626ebdc43c6a402768431f2a375", + "Start": "5324400ee2f441ab9d2d3acc12dcf7c5", "End": "36094d3283c44ed39c0b17d20e39741e", - "Id": "d4111ab3ad174183af26d35bfe853a0e", + "Id": "108765a8132243ad98717b4d0cc77b16", + "IsHidden": "False" + }, + { + "Start": "019e35804d0842cb99f33de6f11944e3", + "End": "3c53a263756f4ba19de8d3eae4715662", + "Id": "bd3ff365b92747d7aa8f8fa584782436", "IsHidden": "False" }, { @@ -175,10 +260,23 @@ "End": "4741285a87a74557b4f040b7bbac6496", "Id": "0ccf90b938884d2dbc15047fd0dd49ba", "IsHidden": "False" + }, + { + "Start": "db18207e63f24751b28c5145190195f4", + "End": "148325fbd53043e79254513e388f92ae", + "Id": "e8065de756be4c9585ed6a9b01475561", + "IsHidden": "False" + }, + { + "Start": "c282877dcb3446f6a3bb29b30038519b", + "End": "8879fa0db628438897bedf8a16530a76", + "Id": "7a8986cc9f894f2fab550176426ba936", + "IsHidden": "False" } ], "Dependencies": [], "NodeLibraryDependencies": [], + "EnableLegacyPolyCurveBehavior": true, "Thumbnail": "", "GraphDocumentationURL": null, "ExtensionWorkspaceData": [ @@ -202,7 +300,7 @@ "ScaleFactor": 1.0, "HasRunWithoutCrash": true, "IsVisibleInDynamoLibrary": true, - "Version": "2.19.0.5742", + "Version": "3.4.0.6144", "RunType": "Automatic", "RunPeriod": "1000" }, @@ -212,11 +310,11 @@ "EyeY": 13.915582656860352, "EyeZ": 16.000629425048828, "LookX": 16.128910064697266, - "LookY": -8.1650753021240234, + "LookY": -8.165075302124023, "LookZ": -20.504016876220703, - "UpX": 0.053885128349065781, - "UpY": 0.99619466066360474, - "UpZ": -0.068501941859722137 + "UpX": 0.05388512834906578, + "UpY": 0.9961946606636047, + "UpZ": -0.06850194185972214 }, "ConnectorPins": [], "NodeViews": [ @@ -227,8 +325,8 @@ "IsSetAsOutput": false, "Excluded": false, "ShowGeometry": true, - "X": 259.05324280743, - "Y": 2612.1890880143 + "X": 270.78018520891123, + "Y": 2486.61307979844 }, { "Id": "d59e73c300094857a3666e335f6243bd", @@ -237,7 +335,7 @@ "IsSetAsOutput": false, "Excluded": false, "ShowGeometry": true, - "X": -388.94675719257049, + "X": -388.9467571925705, "Y": 2472.0165880143 }, { @@ -247,8 +345,8 @@ "IsSetAsOutput": false, "Excluded": false, "ShowGeometry": true, - "X": -117.94675719257, - "Y": 2786.0165880143 + "X": -50.51683838405384, + "Y": 2808.004605017077 }, { "Id": "b5816650ee87421da4e0adde5fbfae3a", @@ -257,8 +355,8 @@ "IsSetAsOutput": false, "Excluded": false, "ShowGeometry": true, - "X": 554.05324280742957, - "Y": 2612.1890880143 + "X": 579.9502406107003, + "Y": 2486.124457198379 }, { "Id": "f81af81272c1430380398f98296f0daa", @@ -269,6 +367,26 @@ "ShowGeometry": true, "X": -117.94675719257049, "Y": 2472.1890880143 + }, + { + "Id": "4ef2b2ece10948f3b91701b4b05b43a5", + "Name": "List.IndexOf", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 276.1497123824988, + "Y": 2736.7543244275066 + }, + { + "Id": "06df58ca218f4ecd9154da43012aac5a", + "Name": "Watch", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 572.5796311910144, + "Y": 2760.924379829296 } ], "Annotations": [],