diff --git a/public/data/Dynamo_Nodes_Revit.json b/public/data/Dynamo_Nodes_Revit.json index 429aa492..8f3a03ba 100644 --- a/public/data/Dynamo_Nodes_Revit.json +++ b/public/data/Dynamo_Nodes_Revit.json @@ -2082,10 +2082,10 @@ "inDepth": "Levels contains a drop-down menu with every level available in a document." }, { "Name": "Select Divided Surface Families", - "imageFile": ["Select Divided Surface Families"], + "imageFile": ["Select Divided Surface Families.gif"], "dynFile": ["Select Divided Surface Families"], "folderPath": "Revit/Selection/Action", - "inDepth": "Select a divided surface and get its family instances." + "inDepth": "Select a divided surface and get its family instances. This node is to be used in the massing/adaptive family environment." }, { "Name": "Select Edge", "imageFile": ["Select Edge"], diff --git a/public/data/EXAMPLES/Geometry/Abstract/CoordinateSystem/Action/dyn/IsEqualTo.dyn b/public/data/EXAMPLES/Geometry/Abstract/CoordinateSystem/Action/dyn/IsEqualTo.dyn index 9e9c2c8c..7fd36d67 100644 --- a/public/data/EXAMPLES/Geometry/Abstract/CoordinateSystem/Action/dyn/IsEqualTo.dyn +++ b/public/data/EXAMPLES/Geometry/Abstract/CoordinateSystem/Action/dyn/IsEqualTo.dyn @@ -1,7 +1,7 @@ { - "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", + "Uuid": "a7144dee-0c0a-413f-9e6f-983d44b38ffd", "IsCustomNode": false, - "Description": "", + "Description": null, "Name": "IsEqualTo", "ElementResolver": { "ResolutionMap": {} @@ -13,10 +13,10 @@ "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", "NodeType": "FunctionNode", "FunctionSignature": "Autodesk.DesignScript.Geometry.CoordinateSystem.IsEqualTo@Autodesk.DesignScript.Geometry.CoordinateSystem", - "Id": "f7de2ac131474d58b604b8ef48ad29c1", + "Id": "44ed1fe326e14589802a330ec43b29c2", "Inputs": [ { - "Id": "666f4b810ecd4a2eb007483dbc1bfade", + "Id": "e512f6a9f9ff4925a724292cb981f716", "Name": "coordinateSystem", "Description": "Autodesk.DesignScript.Geometry.CoordinateSystem", "UsingDefaultValue": false, @@ -25,7 +25,7 @@ "KeepListStructure": false }, { - "Id": "e4ac9078aae446bcbbcd2563ef2d2244", + "Id": "b44ebf87664640609005471cc0c15a23", "Name": "other", "Description": "CoordinateSystem", "UsingDefaultValue": false, @@ -36,7 +36,7 @@ ], "Outputs": [ { - "Id": "d35820d4def249f6aba247733c056dbe", + "Id": "95e6f1b73fec4162a5ea94a89668a4d8", "Name": "bool", "Description": "bool", "UsingDefaultValue": false, @@ -47,9 +47,98 @@ ], "Replication": "Auto", "Description": "Determine if two CoordinateSystems are equal\n\nCoordinateSystem.IsEqualTo (other: CoordinateSystem): bool" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Autodesk.DesignScript.Geometry.CoordinateSystem.ByOrigin@double,double", + "Id": "988a790a0b104938b49cb9a925475bc7", + "Inputs": [ + { + "Id": "c9dea4757c834a5fb3873757b8782dbc", + "Name": "x", + "Description": "double\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "fceceaa4af624ef79e8f9987f926a566", + "Name": "y", + "Description": "double\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "b2e06125c1d44f0b89017a2dbc8b512f", + "Name": "CoordinateSystem", + "Description": "CoordinateSystem", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Create a CoordinateSystem with origin at X and Y locations, with X and Y Axes set as WCS X and Y Axes. Z defaults to 0.\n\nCoordinateSystem.ByOrigin (x: double = 0, y: double = 0): CoordinateSystem" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Autodesk.DesignScript.Geometry.CoordinateSystem.ByOrigin@double,double", + "Id": "cdf01edec2204ac794797250ad9b2964", + "Inputs": [ + { + "Id": "f79913950703464c931b6011b3c8efea", + "Name": "x", + "Description": "double\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9d7522a2b5b2400f94d6d518a28fe61e", + "Name": "y", + "Description": "double\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8ed821a1d77c401dbf5032779d23bb0f", + "Name": "CoordinateSystem", + "Description": "CoordinateSystem", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Create a CoordinateSystem with origin at X and Y locations, with X and Y Axes set as WCS X and Y Axes. Z defaults to 0.\n\nCoordinateSystem.ByOrigin (x: double = 0, y: double = 0): CoordinateSystem" + } + ], + "Connectors": [ + { + "Start": "b2e06125c1d44f0b89017a2dbc8b512f", + "End": "e512f6a9f9ff4925a724292cb981f716", + "Id": "6302d76f692f4185b5e4f78e394c6462" + }, + { + "Start": "8ed821a1d77c401dbf5032779d23bb0f", + "End": "b44ebf87664640609005471cc0c15a23", + "Id": "2bd4fa12af2e4fc8a450b3fc80646e6b" } ], - "Connectors": [], "Dependencies": [], "Bindings": [], "View": { @@ -77,12 +166,32 @@ { "ShowGeometry": true, "Name": "CoordinateSystem.IsEqualTo", - "Id": "f7de2ac131474d58b604b8ef48ad29c1", + "Id": "44ed1fe326e14589802a330ec43b29c2", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 370.0, + "Y": 276.0 + }, + { + "ShowGeometry": true, + "Name": "CoordinateSystem.ByOrigin", + "Id": "988a790a0b104938b49cb9a925475bc7", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 83.0, + "Y": 216.0 + }, + { + "ShowGeometry": true, + "Name": "CoordinateSystem.ByOrigin", + "Id": "cdf01edec2204ac794797250ad9b2964", "IsSetAsInput": false, "IsSetAsOutput": false, "Excluded": false, - "X": 592.0, - "Y": 302.0 + "X": 84.0, + "Y": 331.0 } ], "Annotations": [], diff --git a/public/data/EXAMPLES/Geometry/Abstract/CoordinateSystem/Action/img/IsEqualTo.jpg b/public/data/EXAMPLES/Geometry/Abstract/CoordinateSystem/Action/img/IsEqualTo.jpg index f38e73c5..5d549746 100644 Binary files a/public/data/EXAMPLES/Geometry/Abstract/CoordinateSystem/Action/img/IsEqualTo.jpg and b/public/data/EXAMPLES/Geometry/Abstract/CoordinateSystem/Action/img/IsEqualTo.jpg differ diff --git a/public/data/EXAMPLES/List/Match/Action/dyn/CartesianProduct.dyn b/public/data/EXAMPLES/List/Match/Action/dyn/CartesianProduct.dyn new file mode 100644 index 00000000..e8a33eaa --- /dev/null +++ b/public/data/EXAMPLES/List/Match/Action/dyn/CartesianProduct.dyn @@ -0,0 +1,197 @@ +{ + "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", + "IsCustomNode": false, + "Description": "", + "Name": "CartesianProduct", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "1..5;", + "Id": "932235efc635433497bdb360a8831611", + "Inputs": [], + "Outputs": [ + { + "Id": "fa38f48e3221409eb0762d6c8ac36d7c", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + }, + { + "ConcreteType": "CoreNodeModels.HigherOrder.CartesianProduct, CoreNodeModels", + "VariableInputPorts": true, + "NodeType": "ExtensionNode", + "Id": "8fc027716e8541debcc14dbfba123b01", + "Inputs": [ + { + "Id": "232a56ba04d44b409eb4fcb4a581f1b2", + "Name": "comb", + "Description": "Combinator", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9377a417b431464a90555bd9204b2cca", + "Name": "list1", + "Description": "List #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "ee8506cc37f148e9be5e0fe9f09b36d3", + "Name": "list2", + "Description": "List #2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e65338eeb7b544f28a7c5389f71b0484", + "Name": "combined", + "Description": "Combined lists", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Applies a combinator to each pair in the cartesian product of two sequences" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "+@var[]..[],var[]..[]", + "Id": "abcf67be169a47ff857e22c61831ff02", + "Inputs": [ + { + "Id": "bfdb1c4aa9a44f6499e0b34a3836c023", + "Name": "x", + "Description": "x value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "155a081618eb4cf385b2d1261479f002", + "Name": "y", + "Description": "y value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "1e60e06a8764408184738daea230c269", + "Name": "var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Adds x to y.\n\n+ (x: var[]..[], y: var[]..[]): var[]..[]" + } + ], + "Connectors": [ + { + "Start": "fa38f48e3221409eb0762d6c8ac36d7c", + "End": "9377a417b431464a90555bd9204b2cca", + "Id": "8a6f73a83175434aae4c9c2753714c05" + }, + { + "Start": "fa38f48e3221409eb0762d6c8ac36d7c", + "End": "ee8506cc37f148e9be5e0fe9f09b36d3", + "Id": "94a279e23bad4a62890e585873f418f9" + }, + { + "Start": "1e60e06a8764408184738daea230c269", + "End": "232a56ba04d44b409eb4fcb4a581f1b2", + "Id": "e504f389c0ee4a0db05437e93abac13e" + } + ], + "Dependencies": [], + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.0.2.6826", + "RunType": "Manual", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "Background Preview", + "EyeX": -17.0, + "EyeY": 24.0, + "EyeZ": 50.0, + "LookX": 12.0, + "LookY": -13.0, + "LookZ": -58.0, + "UpX": 0.0, + "UpY": 1.0, + "UpZ": 0.0 + }, + "NodeViews": [ + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "932235efc635433497bdb360a8831611", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 687.0, + "Y": 264.0 + }, + { + "ShowGeometry": true, + "Name": "List.CartesianProduct", + "Id": "8fc027716e8541debcc14dbfba123b01", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1029.7300154148579, + "Y": 103.42113755835899 + }, + { + "ShowGeometry": true, + "Name": "+", + "Id": "abcf67be169a47ff857e22c61831ff02", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 748.70224369747393, + "Y": 73.026471917578576 + } + ], + "Annotations": [], + "X": -69.664047953591648, + "Y": 2.4185881744339213, + "Zoom": 1.130842140625 + } +} \ No newline at end of file diff --git a/public/data/EXAMPLES/List/Match/Action/dyn/Combine.dyn b/public/data/EXAMPLES/List/Match/Action/dyn/Combine.dyn new file mode 100644 index 00000000..71cf61aa --- /dev/null +++ b/public/data/EXAMPLES/List/Match/Action/dyn/Combine.dyn @@ -0,0 +1,227 @@ +{ + "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", + "IsCustomNode": false, + "Description": "", + "Name": "Combine", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "1..5;", + "Id": "932235efc635433497bdb360a8831611", + "Inputs": [], + "Outputs": [ + { + "Id": "fa38f48e3221409eb0762d6c8ac36d7c", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + }, + { + "ConcreteType": "CoreNodeModels.HigherOrder.Combine, CoreNodeModels", + "VariableInputPorts": true, + "NodeType": "ExtensionNode", + "Id": "09629d3bc46b4179bdf7cba424a2f45c", + "Inputs": [ + { + "Id": "1d05e3d6782d45e8b668ba76ce92ed4b", + "Name": "comb", + "Description": "Combinator", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "22f1d9fd08744fa98ca1b68b01967656", + "Name": "list1", + "Description": "List #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "00c2cd41c1f44246aa6a49df4b874d25", + "Name": "list2", + "Description": "List #2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "4de753a128d84681a2316405a64eae1b", + "Name": "combined", + "Description": "Combined lists", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Applies a combinator to each element in two sequences" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "NodeType": "ExtensionNode", + "Id": "045ac69e959143b68e53fdc94183d8ef", + "Inputs": [ + { + "Id": "360cf3cd7fad4dd1aaea96a2ceda0acf", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9e05f03aac754dbc9ac1b1b33b924009", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d143c98a45994bb98f5ea0e658d8f5f8", + "Name": "list", + "Description": "A list", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Makes a new list out of the given inputs" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "2..10..#5;", + "Id": "9859005bd9ca4f98b120780e2517cbec", + "Inputs": [], + "Outputs": [ + { + "Id": "8d34d6b9a1044d849f136e8489be8927", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + } + ], + "Connectors": [ + { + "Start": "fa38f48e3221409eb0762d6c8ac36d7c", + "End": "22f1d9fd08744fa98ca1b68b01967656", + "Id": "de114576cadf45e4ad9212948022a5ba" + }, + { + "Start": "d143c98a45994bb98f5ea0e658d8f5f8", + "End": "1d05e3d6782d45e8b668ba76ce92ed4b", + "Id": "68da5f373ae74201a10397e42bcbc4dc" + }, + { + "Start": "8d34d6b9a1044d849f136e8489be8927", + "End": "00c2cd41c1f44246aa6a49df4b874d25", + "Id": "ba64dd31b89440a286d6df9a4762b3aa" + } + ], + "Dependencies": [], + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.0.2.6826", + "RunType": "Manual", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "Background Preview", + "EyeX": -17.0, + "EyeY": 24.0, + "EyeZ": 50.0, + "LookX": 12.0, + "LookY": -13.0, + "LookZ": -58.0, + "UpX": 0.0, + "UpY": 1.0, + "UpZ": 0.0 + }, + "NodeViews": [ + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "932235efc635433497bdb360a8831611", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 758.62803462137731, + "Y": 256.04132948651363 + }, + { + "ShowGeometry": true, + "Name": "List.Combine", + "Id": "09629d3bc46b4179bdf7cba424a2f45c", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 979.50368858857883, + "Y": 182.67926565894646 + }, + { + "ShowGeometry": true, + "Name": "List Create", + "Id": "045ac69e959143b68e53fdc94183d8ef", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 717.62803462137731, + "Y": 87.17521949711 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "9859005bd9ca4f98b120780e2517cbec", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 725.62803462137731, + "Y": 359.46281310511716 + } + ], + "Annotations": [], + "X": -69.664047953591648, + "Y": 2.4185881744339213, + "Zoom": 1.130842140625 + } +} \ No newline at end of file diff --git a/public/data/EXAMPLES/List/Match/Action/dyn/LaceLongest.dyn b/public/data/EXAMPLES/List/Match/Action/dyn/LaceLongest.dyn new file mode 100644 index 00000000..109d26bf --- /dev/null +++ b/public/data/EXAMPLES/List/Match/Action/dyn/LaceLongest.dyn @@ -0,0 +1,227 @@ +{ + "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", + "IsCustomNode": false, + "Description": "", + "Name": "LaceLongest", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "1..5;", + "Id": "932235efc635433497bdb360a8831611", + "Inputs": [], + "Outputs": [ + { + "Id": "fa38f48e3221409eb0762d6c8ac36d7c", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "NodeType": "ExtensionNode", + "Id": "045ac69e959143b68e53fdc94183d8ef", + "Inputs": [ + { + "Id": "360cf3cd7fad4dd1aaea96a2ceda0acf", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9e05f03aac754dbc9ac1b1b33b924009", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d143c98a45994bb98f5ea0e658d8f5f8", + "Name": "list", + "Description": "A list", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Makes a new list out of the given inputs" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "2..10..#5;", + "Id": "9859005bd9ca4f98b120780e2517cbec", + "Inputs": [], + "Outputs": [ + { + "Id": "8d34d6b9a1044d849f136e8489be8927", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + }, + { + "ConcreteType": "CoreNodeModels.HigherOrder.LaceLongest, CoreNodeModels", + "VariableInputPorts": true, + "NodeType": "ExtensionNode", + "Id": "1fcdeac1fc9e4541a91556ba09959018", + "Inputs": [ + { + "Id": "3980ad769aa343598bb26cba721c9197", + "Name": "comb", + "Description": "Combinator", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "7c24df1ee6c74297a0c5d0c402b3cbb7", + "Name": "list1", + "Description": "List #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "d6aa623239834b6aa89204e5cd477ddc", + "Name": "list2", + "Description": "List #2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "a65581e33adf470a97430108b046549c", + "Name": "combined", + "Description": "Combined lists", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Applies a combinator to each pair resulting from a longest lacing of the input lists. All lists have their last element repeated to match the length of the longest input." + } + ], + "Connectors": [ + { + "Start": "fa38f48e3221409eb0762d6c8ac36d7c", + "End": "7c24df1ee6c74297a0c5d0c402b3cbb7", + "Id": "b75bdb0412db4986b965274cf387f7ed" + }, + { + "Start": "d143c98a45994bb98f5ea0e658d8f5f8", + "End": "3980ad769aa343598bb26cba721c9197", + "Id": "7a4d136665b2413bb1cf98dc2772fb24" + }, + { + "Start": "8d34d6b9a1044d849f136e8489be8927", + "End": "d6aa623239834b6aa89204e5cd477ddc", + "Id": "e2cea73e438e4afaa9c2da96c1b9d85a" + } + ], + "Dependencies": [], + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.0.2.6826", + "RunType": "Manual", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "Background Preview", + "EyeX": -17.0, + "EyeY": 24.0, + "EyeZ": 50.0, + "LookX": 12.0, + "LookY": -13.0, + "LookZ": -58.0, + "UpX": 0.0, + "UpY": 1.0, + "UpZ": 0.0 + }, + "NodeViews": [ + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "932235efc635433497bdb360a8831611", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 758.62803462137731, + "Y": 256.04132948651363 + }, + { + "ShowGeometry": true, + "Name": "List Create", + "Id": "045ac69e959143b68e53fdc94183d8ef", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 717.62803462137731, + "Y": 87.17521949711 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "9859005bd9ca4f98b120780e2517cbec", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 725.62803462137731, + "Y": 359.46281310511716 + }, + { + "ShowGeometry": true, + "Name": "List.LaceLongest", + "Id": "1fcdeac1fc9e4541a91556ba09959018", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 961.5648391112511, + "Y": 190.90886641551634 + } + ], + "Annotations": [], + "X": -180.7632111030191, + "Y": -32.565695725101506, + "Zoom": 1.2777169841077238 + } +} \ No newline at end of file diff --git a/public/data/EXAMPLES/List/Match/Action/dyn/LaceShortest.dyn b/public/data/EXAMPLES/List/Match/Action/dyn/LaceShortest.dyn new file mode 100644 index 00000000..f3619f4c --- /dev/null +++ b/public/data/EXAMPLES/List/Match/Action/dyn/LaceShortest.dyn @@ -0,0 +1,227 @@ +{ + "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", + "IsCustomNode": false, + "Description": "", + "Name": "LaceShortest", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "1..5;", + "Id": "932235efc635433497bdb360a8831611", + "Inputs": [], + "Outputs": [ + { + "Id": "fa38f48e3221409eb0762d6c8ac36d7c", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "NodeType": "ExtensionNode", + "Id": "045ac69e959143b68e53fdc94183d8ef", + "Inputs": [ + { + "Id": "360cf3cd7fad4dd1aaea96a2ceda0acf", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9e05f03aac754dbc9ac1b1b33b924009", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d143c98a45994bb98f5ea0e658d8f5f8", + "Name": "list", + "Description": "A list", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Makes a new list out of the given inputs" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "2..10..#5;", + "Id": "9859005bd9ca4f98b120780e2517cbec", + "Inputs": [], + "Outputs": [ + { + "Id": "8d34d6b9a1044d849f136e8489be8927", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + }, + { + "ConcreteType": "CoreNodeModels.HigherOrder.LaceShortest, CoreNodeModels", + "VariableInputPorts": true, + "NodeType": "ExtensionNode", + "Id": "a9799c39e8f04acb87902c24d0b3d5a7", + "Inputs": [ + { + "Id": "341c3973b61a4327a4222f662e456df1", + "Name": "comb", + "Description": "Combinator", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "250d76853f3245c58a56ce7cfd977eea", + "Name": "list1", + "Description": "List #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "09879de0dc1c4f0e9215975f79760d90", + "Name": "list2", + "Description": "List #2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d0fa5b5b02a647109327e7c31cfece94", + "Name": "combined", + "Description": "Combined lists", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Applies a combinator to each pair resulting from a shortest lacing of the input lists. All lists are truncated to the length of the shortest input." + } + ], + "Connectors": [ + { + "Start": "fa38f48e3221409eb0762d6c8ac36d7c", + "End": "250d76853f3245c58a56ce7cfd977eea", + "Id": "bcd096ab5efb4565800d141bb8f8fb0c" + }, + { + "Start": "d143c98a45994bb98f5ea0e658d8f5f8", + "End": "341c3973b61a4327a4222f662e456df1", + "Id": "f9bb032ccce640f78018a50ef68d935c" + }, + { + "Start": "8d34d6b9a1044d849f136e8489be8927", + "End": "09879de0dc1c4f0e9215975f79760d90", + "Id": "96a61c50a44040d08b1a215b61306113" + } + ], + "Dependencies": [], + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.0.2.6826", + "RunType": "Manual", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "Background Preview", + "EyeX": -17.0, + "EyeY": 24.0, + "EyeZ": 50.0, + "LookX": 12.0, + "LookY": -13.0, + "LookZ": -58.0, + "UpX": 0.0, + "UpY": 1.0, + "UpZ": 0.0 + }, + "NodeViews": [ + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "932235efc635433497bdb360a8831611", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 758.62803462137731, + "Y": 256.04132948651363 + }, + { + "ShowGeometry": true, + "Name": "List Create", + "Id": "045ac69e959143b68e53fdc94183d8ef", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 717.62803462137731, + "Y": 87.17521949711 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "9859005bd9ca4f98b120780e2517cbec", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 725.62803462137731, + "Y": 359.46281310511716 + }, + { + "ShowGeometry": true, + "Name": "List.LaceShortest", + "Id": "a9799c39e8f04acb87902c24d0b3d5a7", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 967.94769615330415, + "Y": 152.2760502874381 + } + ], + "Annotations": [], + "X": -180.7632111030191, + "Y": -32.565695725101506, + "Zoom": 1.2777169841077238 + } +} \ No newline at end of file diff --git a/public/data/EXAMPLES/List/Match/Action/dyn/Map.dyn b/public/data/EXAMPLES/List/Match/Action/dyn/Map.dyn new file mode 100644 index 00000000..cb0227e2 --- /dev/null +++ b/public/data/EXAMPLES/List/Match/Action/dyn/Map.dyn @@ -0,0 +1,176 @@ +{ + "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", + "IsCustomNode": false, + "Description": "", + "Name": "Map", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "[1..5];", + "Id": "932235efc635433497bdb360a8831611", + "Inputs": [], + "Outputs": [ + { + "Id": "8cc291c0973e4765a695dbf28c69da89", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + }, + { + "ConcreteType": "CoreNodeModels.HigherOrder.Map, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "80739a47f25244f8a9a942b58f0d500f", + "Inputs": [ + { + "Id": "240e1e428f3141be9c80585fe8c78253", + "Name": "list", + "Description": "The list to map over.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "3bbe0fbf86f94bf192d11d8202ede165", + "Name": "f(x)", + "Description": "The procedure used to map element", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "fcd680b701184e9da48ece19dc01976e", + "Name": "mapped", + "Description": "Mapped list", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Applies a function over all elements of a list, generating a new list from the results." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", + "FunctionSignature": "ba8cd7c7-346a-45c6-857e-e47800b80818", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "b0fa0bdf7ea640b5b1573a55181121b2", + "Inputs": [ + { + "Id": "62ae84b8745d4efcb690c5d5170c76df", + "Name": "dbl", + "Description": "double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "4c8191ac512748459dcb7c11679c8e92", + "Name": "dbl", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Increments a value by 1" + } + ], + "Connectors": [ + { + "Start": "8cc291c0973e4765a695dbf28c69da89", + "End": "240e1e428f3141be9c80585fe8c78253", + "Id": "514e27c908ce432ba4d8453037e311df" + }, + { + "Start": "4c8191ac512748459dcb7c11679c8e92", + "End": "3bbe0fbf86f94bf192d11d8202ede165", + "Id": "4a82798c4b2446c0a1220cc2860311f2" + } + ], + "Dependencies": [ + "ba8cd7c7-346a-45c6-857e-e47800b80818" + ], + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.0.2.6826", + "RunType": "Manual", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "Background Preview", + "EyeX": -17.0, + "EyeY": 24.0, + "EyeZ": 50.0, + "LookX": 12.0, + "LookY": -13.0, + "LookZ": -58.0, + "UpX": 0.0, + "UpY": 1.0, + "UpZ": 0.0 + }, + "NodeViews": [ + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "932235efc635433497bdb360a8831611", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 773.49830733147087, + "Y": 196.56023864613985 + }, + { + "ShowGeometry": true, + "Name": "List.Map", + "Id": "80739a47f25244f8a9a942b58f0d500f", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1000.8188253019316, + "Y": 214.88772485625265 + }, + { + "ShowGeometry": true, + "Name": "+1", + "Id": "b0fa0bdf7ea640b5b1573a55181121b2", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 702.63072516795239, + "Y": 354.98134670397519 + } + ], + "Annotations": [], + "X": -180.7632111030191, + "Y": -32.565695725101506, + "Zoom": 1.2777169841077238 + } +} \ No newline at end of file diff --git a/public/data/EXAMPLES/List/Match/Action/img/CartesianProduct.jpg b/public/data/EXAMPLES/List/Match/Action/img/CartesianProduct.jpg new file mode 100644 index 00000000..fedf4d43 Binary files /dev/null and b/public/data/EXAMPLES/List/Match/Action/img/CartesianProduct.jpg differ diff --git a/public/data/EXAMPLES/List/Match/Action/img/Combine.jpg b/public/data/EXAMPLES/List/Match/Action/img/Combine.jpg new file mode 100644 index 00000000..01239029 Binary files /dev/null and b/public/data/EXAMPLES/List/Match/Action/img/Combine.jpg differ diff --git a/public/data/EXAMPLES/List/Match/Action/img/LaceLongest.jpg b/public/data/EXAMPLES/List/Match/Action/img/LaceLongest.jpg new file mode 100644 index 00000000..1292a459 Binary files /dev/null and b/public/data/EXAMPLES/List/Match/Action/img/LaceLongest.jpg differ diff --git a/public/data/EXAMPLES/List/Match/Action/img/LaceShortest.jpg b/public/data/EXAMPLES/List/Match/Action/img/LaceShortest.jpg new file mode 100644 index 00000000..72ef8b5b Binary files /dev/null and b/public/data/EXAMPLES/List/Match/Action/img/LaceShortest.jpg differ diff --git a/public/data/EXAMPLES/List/Match/Action/img/Map.jpg b/public/data/EXAMPLES/List/Match/Action/img/Map.jpg new file mode 100644 index 00000000..a776ffbe Binary files /dev/null and b/public/data/EXAMPLES/List/Match/Action/img/Map.jpg differ diff --git a/public/data/EXAMPLES/List/Modify/Action/dyn/Filter.dyn b/public/data/EXAMPLES/List/Modify/Action/dyn/Filter.dyn new file mode 100644 index 00000000..2d639f9f --- /dev/null +++ b/public/data/EXAMPLES/List/Modify/Action/dyn/Filter.dyn @@ -0,0 +1,324 @@ +{ + "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", + "IsCustomNode": false, + "Description": "", + "Name": "Filter", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [ + { + "Id": "b0070568ed434ea9bfb0897e7707cb99", + "Name": "Number", + "Type": "number", + "Value": "2", + "NumberType": "Double", + "Description": "Creates a number." + } + ], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "8b21469ae7bf422a89c5e4455198a69a", + "Inputs": [ + { + "Id": "9a0d95f8b07142f0b89fcaa72329e2cc", + "Name": "", + "Description": "Node to evaluate.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "48b7b19640bd4e4b8d3aee718fc2c769", + "Name": "", + "Description": "Watch contents.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualize the output of node." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "0..5..1;", + "Id": "90184e0b923947f5822b3118e799a845", + "Inputs": [], + "Outputs": [ + { + "Id": "f190cb623650482abe63fed9650c3659", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + }, + { + "ConcreteType": "CoreNodeModels.HigherOrder.Filter, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "755f4970a99647e9b82c7ea86de91fb2", + "Inputs": [ + { + "Id": "38658873e8894541beaab68819818dac", + "Name": "list", + "Description": "List to filter", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "618d683de6b14794b3042fd004a032e8", + "Name": "condition", + "Description": "Predicate used to determine if an element is filtered in or out.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "c3e93faa98fc43fabe65e583c27acf09", + "Name": "in", + "Description": "List containing all elements \"x\" where condition(x) = True", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "c139b89a49f64bef821da60a95ae825b", + "Name": "out", + "Description": "List containing all elements \"x\" where condition(x) = False", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Filters a sequence by a given condition such that for an arbitrary element \"x,\" condition(x) = True or False." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": ">@var[]..[],var[]..[]", + "Id": "cf205ff26e794340a6a7386a90c10083", + "Inputs": [ + { + "Id": "58a06f32f7c043a6aaba98c6ff19925a", + "Name": "x", + "Description": "x value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "52b03649fb8e47c080f350d8a81e97f0", + "Name": "y", + "Description": "y value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "9bb6e57c5aeb4507bc4d8b1a40013246", + "Name": "var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "x greater y?\n\n> (x: var[]..[], y: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "CoreNodeModels.Input.DoubleInput, CoreNodeModels", + "NodeType": "NumberInputNode", + "NumberType": "Double", + "InputValue": 2.0, + "Id": "b0070568ed434ea9bfb0897e7707cb99", + "Inputs": [], + "Outputs": [ + { + "Id": "095bfa47cfe6401d912cc3c9101009c3", + "Name": "", + "Description": "Double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Creates a number." + }, + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "a0392c8487194e88afc13fb855035f88", + "Inputs": [ + { + "Id": "e01c7cd444654f5b9b72c06fa2f64908", + "Name": "", + "Description": "Node to evaluate.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d8055e5c4277428588de30048ace0b30", + "Name": "", + "Description": "Watch contents.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualize the output of node." + } + ], + "Connectors": [ + { + "Start": "f190cb623650482abe63fed9650c3659", + "End": "38658873e8894541beaab68819818dac", + "Id": "6389fb931bb5441c85db2261e94a386b" + }, + { + "Start": "c3e93faa98fc43fabe65e583c27acf09", + "End": "9a0d95f8b07142f0b89fcaa72329e2cc", + "Id": "70d0458144f84a8ebc65487b264cbcf1" + }, + { + "Start": "c139b89a49f64bef821da60a95ae825b", + "End": "e01c7cd444654f5b9b72c06fa2f64908", + "Id": "c266404638a745168de1a8b1efa2043f" + }, + { + "Start": "9bb6e57c5aeb4507bc4d8b1a40013246", + "End": "618d683de6b14794b3042fd004a032e8", + "Id": "c0181197014d4779bfb0645897298d06" + }, + { + "Start": "095bfa47cfe6401d912cc3c9101009c3", + "End": "52b03649fb8e47c080f350d8a81e97f0", + "Id": "fb2d1b4269174e3791b310a3c00aa325" + } + ], + "Dependencies": [], + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.0.1.5055", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "Background Preview", + "EyeX": -17.0, + "EyeY": 24.0, + "EyeZ": 50.0, + "LookX": 12.0, + "LookY": -13.0, + "LookZ": -58.0, + "UpX": 0.0, + "UpY": 1.0, + "UpZ": 0.0 + }, + "NodeViews": [ + { + "ShowGeometry": true, + "Name": "Watch", + "Id": "8b21469ae7bf422a89c5e4455198a69a", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 709.5670835245545, + "Y": 22.507004325359219 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "90184e0b923947f5822b3118e799a845", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 199.5670835245545, + "Y": 66.720337658692557 + }, + { + "ShowGeometry": true, + "Name": "List.Filter", + "Id": "755f4970a99647e9b82c7ea86de91fb2", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 468.5670835245545, + "Y": 106.50700432535922 + }, + { + "ShowGeometry": true, + "Name": ">", + "Id": "cf205ff26e794340a6a7386a90c10083", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 199.5670835245545, + "Y": 176.50700432535922 + }, + { + "ShowGeometry": true, + "Name": "Number", + "Id": "b0070568ed434ea9bfb0897e7707cb99", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "X": 37.567083524554505, + "Y": 202.50700432535922 + }, + { + "ShowGeometry": true, + "Name": "Watch", + "Id": "a0392c8487194e88afc13fb855035f88", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 709.5670835245545, + "Y": 216.50700432535922 + } + ], + "Annotations": [], + "X": 217.135317211462, + "Y": 16.2885248779096, + "Zoom": 1.3231529419852 + } +} \ No newline at end of file diff --git a/public/data/EXAMPLES/List/Modify/Action/dyn/Reduce.dyn b/public/data/EXAMPLES/List/Modify/Action/dyn/Reduce.dyn new file mode 100644 index 00000000..e4d23e9e --- /dev/null +++ b/public/data/EXAMPLES/List/Modify/Action/dyn/Reduce.dyn @@ -0,0 +1,271 @@ +{ + "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", + "IsCustomNode": false, + "Description": "", + "Name": "Reduce", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "CoreNodeModels.Watch, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "8b21469ae7bf422a89c5e4455198a69a", + "Inputs": [ + { + "Id": "5c1161dd8deb41e093f0874665019a1b", + "Name": "", + "Description": "Node to evaluate.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "00dfd3b832724ea78b1f679caa3a21d3", + "Name": "", + "Description": "Watch contents.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Visualize the output of node." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "+@var[]..[],var[]..[]", + "Id": "a0e85791fd8d4f56b13051f557dabbad", + "Inputs": [ + { + "Id": "80fac5f4f9d34197979983a96a10413c", + "Name": "x", + "Description": "x value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "3cf062630dd7498ba7c28e05dc292962", + "Name": "y", + "Description": "y value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "6a8651c5bbd943b388cdf83173609cd5", + "Name": "var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Adds x to y.\n\n+ (x: var[]..[], y: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "0..5..1;", + "Id": "90184e0b923947f5822b3118e799a845", + "Inputs": [], + "Outputs": [ + { + "Id": "358835dcfa8641a691d18f41445336da", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + }, + { + "ConcreteType": "CoreNodeModels.HigherOrder.Reduce, CoreNodeModels", + "VariableInputPorts": true, + "NodeType": "ExtensionNode", + "Id": "9644ee77f8a54692b2b6a8be0fa51e79", + "Inputs": [ + { + "Id": "b5d6e0d0fc5c41a9937df419b027cba5", + "Name": "reductor", + "Description": "Reductor Function: accepts one item from each list being reduced, and the current accumulated value, result is the new accumulated value.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "1ab3272f90b64889a67130c21ee10e18", + "Name": "seed", + "Description": "Starting accumulated value, to be passed into the first call to the Reductor function.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "aafacbbc73964815b1673ce85cbffdc5", + "Name": "list1", + "Description": "List #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "79307883e0064752aea8adca63307c19", + "Name": "reduced", + "Description": "Reduced lists", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Reduces a list into a new value by combining each element with an accumulated result." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "10;", + "Id": "ccdc9234de204b1c85ad77e6bb56d470", + "Inputs": [], + "Outputs": [ + { + "Id": "6bd2fb83dd4f433598825fb2c9ab37e4", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + } + ], + "Connectors": [ + { + "Start": "6a8651c5bbd943b388cdf83173609cd5", + "End": "b5d6e0d0fc5c41a9937df419b027cba5", + "Id": "d8ce0898dfcc42ea87ba6df7d852ab41" + }, + { + "Start": "358835dcfa8641a691d18f41445336da", + "End": "aafacbbc73964815b1673ce85cbffdc5", + "Id": "9f790111f23e446caefc9bcfae300e1f" + }, + { + "Start": "79307883e0064752aea8adca63307c19", + "End": "5c1161dd8deb41e093f0874665019a1b", + "Id": "60a16249111c4d0aaee1df734bf9a3f2" + }, + { + "Start": "6bd2fb83dd4f433598825fb2c9ab37e4", + "End": "1ab3272f90b64889a67130c21ee10e18", + "Id": "9094266591564bdf93a231af8905e34e" + } + ], + "Dependencies": [], + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.0.1.5055", + "RunType": "Automatic", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "Background Preview", + "EyeX": -17.0, + "EyeY": 24.0, + "EyeZ": 50.0, + "LookX": 12.0, + "LookY": -13.0, + "LookZ": -58.0, + "UpX": 0.0, + "UpY": 1.0, + "UpZ": 0.0 + }, + "NodeViews": [ + { + "ShowGeometry": true, + "Name": "Watch", + "Id": "8b21469ae7bf422a89c5e4455198a69a", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 721.751111175265, + "Y": 116.51832522011605 + }, + { + "ShowGeometry": true, + "Name": "+", + "Id": "a0e85791fd8d4f56b13051f557dabbad", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 182.751111175265, + "Y": 19.518325220116054 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "90184e0b923947f5822b3118e799a845", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 182.751111175265, + "Y": 262.73165855344939 + }, + { + "ShowGeometry": true, + "Name": "List.Reduce", + "Id": "9644ee77f8a54692b2b6a8be0fa51e79", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 451.751111175265, + "Y": 116.51832522011605 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "ccdc9234de204b1c85ad77e6bb56d470", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 182.751111175265, + "Y": 153.73165855344939 + } + ], + "Annotations": [], + "X": 177.691564990491, + "Y": 36.8868999272115, + "Zoom": 1.26328763388833 + } +} \ No newline at end of file diff --git a/public/data/EXAMPLES/List/Modify/Action/img/Filter.jpg b/public/data/EXAMPLES/List/Modify/Action/img/Filter.jpg new file mode 100644 index 00000000..773ccb68 Binary files /dev/null and b/public/data/EXAMPLES/List/Modify/Action/img/Filter.jpg differ diff --git a/public/data/EXAMPLES/List/Modify/Action/img/Reduce.jpg b/public/data/EXAMPLES/List/Modify/Action/img/Reduce.jpg new file mode 100644 index 00000000..fbf962cd Binary files /dev/null and b/public/data/EXAMPLES/List/Modify/Action/img/Reduce.jpg differ diff --git a/public/data/EXAMPLES/List/Organize/Action/dyn/Reduce.dyn b/public/data/EXAMPLES/List/Organize/Action/dyn/Reduce.dyn index 69ae3673..b1f8343d 100644 --- a/public/data/EXAMPLES/List/Organize/Action/dyn/Reduce.dyn +++ b/public/data/EXAMPLES/List/Organize/Action/dyn/Reduce.dyn @@ -1,7 +1,7 @@ { - "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", + "Uuid": "a7144dee-0c0a-413f-9e6f-983d44b38ffd", "IsCustomNode": false, - "Description": "", + "Description": null, "Name": "Reduce", "ElementResolver": { "ResolutionMap": {} @@ -13,10 +13,10 @@ "ConcreteType": "CoreNodeModels.HigherOrder.Reduce, CoreNodeModels", "VariableInputPorts": true, "NodeType": "ExtensionNode", - "Id": "3c6a19a458f34e97b74d78ce3d66ee1d", + "Id": "ac175d6bf132461584690acaa6ffb00a", "Inputs": [ { - "Id": "c7fa4072388242f3b01033832f36af5c", + "Id": "4f8723fe61c744a291d4ea8dc6dd95a8", "Name": "reductor", "Description": "Reductor Function: accepts one item from each list being reduced, and the current accumulated value, result is the new accumulated value.", "UsingDefaultValue": false, @@ -25,7 +25,7 @@ "KeepListStructure": false }, { - "Id": "31458c12cfc349c9b81d452915c321a0", + "Id": "ed3e3d48603840fa973568d242487e9c", "Name": "seed", "Description": "Starting accumulated value, to be passed into the first call to the Reductor function.", "UsingDefaultValue": false, @@ -34,7 +34,7 @@ "KeepListStructure": false }, { - "Id": "280ca63b08c049f9b89c8facfa5a23ed", + "Id": "663c8a5213204a8cb17ce931923c3f46", "Name": "list1", "Description": "List #1", "UsingDefaultValue": false, @@ -45,7 +45,7 @@ ], "Outputs": [ { - "Id": "e6e0f7dae9c747c6b785e775acca5495", + "Id": "fbf04f211cac4006a86f0487076d0a4e", "Name": "reduced", "Description": "Reduced lists", "UsingDefaultValue": false, @@ -56,9 +56,93 @@ ], "Replication": "Disabled", "Description": "Reduces a list into a new value by combining each element with an accumulated result." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "2;\n1..4;", + "Id": "d284bd6d273a4a2d9ed9e738e544f321", + "Inputs": [], + "Outputs": [ + { + "Id": "3ecec8e5199f4d8f88e277897cfaaedd", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "5c3a8a14a9314b138968df5090f147ec", + "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" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "-@var[]..[],var[]..[]", + "Id": "cbf624563f8f4fd1a83d921459a5ab1b", + "Inputs": [ + { + "Id": "f5b547d3006c44c9b52691175dc0f16a", + "Name": "x", + "Description": "x value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "3c2596d749694ecdaeaafcf6ea2940e1", + "Name": "y", + "Description": "y value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e89d64f5000a4037b79f56098edf838d", + "Name": "var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "x subtract y.\n\n- (x: var[]..[], y: var[]..[]): var[]..[]" + } + ], + "Connectors": [ + { + "Start": "3ecec8e5199f4d8f88e277897cfaaedd", + "End": "ed3e3d48603840fa973568d242487e9c", + "Id": "8d7a9794c88a4a25be273d210bb3b874" + }, + { + "Start": "5c3a8a14a9314b138968df5090f147ec", + "End": "663c8a5213204a8cb17ce931923c3f46", + "Id": "fa2aa87efa1641aebd0497288fd53d3f" + }, + { + "Start": "e89d64f5000a4037b79f56098edf838d", + "End": "4f8723fe61c744a291d4ea8dc6dd95a8", + "Id": "14b646d082d44aaf9f2092151ad8ef01" } ], - "Connectors": [], "Dependencies": [], "Bindings": [], "View": { @@ -86,12 +170,32 @@ { "ShowGeometry": true, "Name": "List.Reduce", - "Id": "3c6a19a458f34e97b74d78ce3d66ee1d", + "Id": "ac175d6bf132461584690acaa6ffb00a", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 380.0, + "Y": 398.0 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "d284bd6d273a4a2d9ed9e738e544f321", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 218.0, + "Y": 460.0 + }, + { + "ShowGeometry": true, + "Name": "-", + "Id": "cbf624563f8f4fd1a83d921459a5ab1b", "IsSetAsInput": false, "IsSetAsOutput": false, "Excluded": false, - "X": 670.0, - "Y": 223.0 + "X": 125.0, + "Y": 338.0 } ], "Annotations": [], diff --git a/public/data/EXAMPLES/List/Organize/Action/img/Reduce.jpg b/public/data/EXAMPLES/List/Organize/Action/img/Reduce.jpg index c9e3794b..2997b8cb 100644 Binary files a/public/data/EXAMPLES/List/Organize/Action/img/Reduce.jpg and b/public/data/EXAMPLES/List/Organize/Action/img/Reduce.jpg differ diff --git a/public/data/EXAMPLES/Revit/Elements/AdaptiveComponent/Create/img/ByParametersOnCurveReference (parameters, curve, familyType).jpg b/public/data/EXAMPLES/Revit/Elements/AdaptiveComponent/Create/img/ByParametersOnCurveReference (parameters, curve, familyType).jpg new file mode 100644 index 00000000..5c400dc5 Binary files /dev/null and b/public/data/EXAMPLES/Revit/Elements/AdaptiveComponent/Create/img/ByParametersOnCurveReference (parameters, curve, familyType).jpg differ diff --git a/public/data/EXAMPLES/Revit/Selection/Action/img/Select Divided Surface Families.gif b/public/data/EXAMPLES/Revit/Selection/Action/img/Select Divided Surface Families.gif new file mode 100644 index 00000000..f78ef050 Binary files /dev/null and b/public/data/EXAMPLES/Revit/Selection/Action/img/Select Divided Surface Families.gif differ