From ab71f15002428619f8a57a43c6eb37f50f974854 Mon Sep 17 00:00:00 2001 From: Andreas Dieckmann Date: Tue, 22 Oct 2024 00:23:26 +0200 Subject: [PATCH] Level.Views #416 #417 #407 #415 - 4 issues with 1 node :-) --- nodes/3.x/Level.Views.dyf | 723 +++++++++----------------------------- 1 file changed, 159 insertions(+), 564 deletions(-) diff --git a/nodes/3.x/Level.Views.dyf b/nodes/3.x/Level.Views.dyf index a365acc8..6e458c50 100644 --- a/nodes/3.x/Level.Views.dyf +++ b/nodes/3.x/Level.Views.dyf @@ -13,129 +13,16 @@ "Level": { "Key": "Revit.Elements.Level", "Value": "RevitNodes.dll" + }, + "Revit.Elements.Level": { + "Key": "Revit.Elements.Level", + "Value": "RevitNodes.dll" } } }, "Inputs": [], "Outputs": [], "Nodes": [ - { - "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", - "NodeType": "FunctionNode", - "FunctionSignature": "DSCore.List.FirstItem@var[]..[]", - "Id": "21f0d2fd8a3945c7acc64db00f73c7bf", - "Inputs": [ - { - "Id": "d587ac7cfa2149f68c463f2cb0e5535f", - "Name": "list", - "Description": "List to get the first item from.\n\nvar[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "c9461c9ef48047a78c6be5bc4ad57244", - "Name": "item", - "Description": "First item in the list.", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Replication": "Auto", - "Description": "Returns the first item in a list.\n\nList.FirstItem (list: var[]..[]): var[]..[]" - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", - "NodeType": "FunctionNode", - "FunctionSignature": "DSCore.List.FilterByBoolMask@var[]..[],var[]..[]", - "Id": "a22b7837daa1419383598b605cdfc50e", - "Inputs": [ - { - "Id": "dd859335a16142cea68fe0bb1d2ff5f0", - "Name": "list", - "Description": "List to filter.\n\nvar[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "b104383d24564a2b86242a89486add9f", - "Name": "mask", - "Description": "List of booleans representing a mask.\n\nvar[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "5d5ca8ae1e5146af8438944c7d9a4121", - "Name": "in", - "Description": "Items whose mask index is true.", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "875d1a8958b94babab3dce0fd174fd9b", - "Name": "out", - "Description": "Items whose mask index is false.", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Replication": "Auto", - "Description": "Filters a sequence by looking up corresponding indices in a separate list of booleans.\n\nList.FilterByBoolMask (list: var[]..[], mask: var[]..[]): var[]..[]" - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", - "NodeType": "FunctionNode", - "FunctionSignature": "==@var[]..[],var[]..[]", - "Id": "8205a662bfd9454d8ef38a72a8342fe6", - "Inputs": [ - { - "Id": "7ee313f5522a4e52932f5cc5e0d755f1", - "Name": "x", - "Description": "x value.\n\nvar[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "08d9cf64de8c4ad5906af3f667ed1507", - "Name": "y", - "Description": "y value.\n\nvar[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "002e929e5e8a4d22a574cb147ec30951", - "Name": "var[]..[]", - "Description": "var[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Replication": "Auto", - "Description": "Equal x to y?\n\n== (x: var[]..[], y: var[]..[]): var[]..[]" - }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", "NodeType": "FunctionNode", @@ -145,7 +32,7 @@ { "Id": "f709acb75d384cecb802122baab3ecdd", "Name": "list", - "Description": "List to filter.\n\nvar[]..[]", + "Description": "Zu filternde Liste\n\nvar[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -154,7 +41,7 @@ { "Id": "5e7f66ad87494456ae078ae2a476d540", "Name": "mask", - "Description": "List of booleans representing a mask.\n\nvar[]..[]", + "Description": "Liste der booleschen Ausdrücke, die eine Maske darstellen\n\nvar[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -165,7 +52,7 @@ { "Id": "e196d332f46a46da9476fece23d9fe3b", "Name": "in", - "Description": "Items whose mask index is true.", + "Description": "Elemente mit Maskenindex true", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -174,7 +61,7 @@ { "Id": "b9f043430a6b4c10a2c240689038a097", "Name": "out", - "Description": "Items whose mask index is false.", + "Description": "Elemente mit Maskenindex false", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -182,7 +69,7 @@ } ], "Replication": "Auto", - "Description": "Filters a sequence by looking up corresponding indices in a separate list of booleans.\n\nList.FilterByBoolMask (list: var[]..[], mask: var[]..[]): var[]..[]" + "Description": "Filtert eine Sequenz durch Abrufen entsprechender Indizes in einer separaten Liste boolescher Werte.\n\nList.FilterByBoolMask (list: var[]..[], mask: var[]..[]): var[]..[]" }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", @@ -193,7 +80,7 @@ { "Id": "b7936753658f4988874eb8d79145df05", "Name": "list", - "Description": "List to filter.\n\nvar[]..[]", + "Description": "Zu filternde Liste\n\nvar[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -202,7 +89,7 @@ { "Id": "b14723c1081e4a78b1e6c67b84583a3e", "Name": "mask", - "Description": "List of booleans representing a mask.\n\nvar[]..[]", + "Description": "Liste der booleschen Ausdrücke, die eine Maske darstellen\n\nvar[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -213,7 +100,7 @@ { "Id": "3892366865ac4b979b3818635756d9f8", "Name": "in", - "Description": "Items whose mask index is true.", + "Description": "Elemente mit Maskenindex true", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -222,7 +109,7 @@ { "Id": "543780374317484ea81da238d2626d23", "Name": "out", - "Description": "Items whose mask index is false.", + "Description": "Elemente mit Maskenindex false", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -230,7 +117,7 @@ } ], "Replication": "Auto", - "Description": "Filters a sequence by looking up corresponding indices in a separate list of booleans.\n\nList.FilterByBoolMask (list: var[]..[], mask: var[]..[]): var[]..[]" + "Description": "Filtert eine Sequenz durch Abrufen entsprechender Indizes in einer separaten Liste boolescher Werte.\n\nList.FilterByBoolMask (list: var[]..[], mask: var[]..[]): var[]..[]" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", @@ -242,7 +129,7 @@ { "Id": "4f8bbdc9f52441808ce44acf218bd9d3", "Name": "element", - "Description": "Input #1", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -253,7 +140,7 @@ { "Id": "686d0268bc9c45c7a1c582ad6b0aa613", "Name": "level", - "Description": "Output #1", + "Description": "Rückgabewert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -273,7 +160,7 @@ { "Id": "29cc97336d7d4373ada29ef5e12bcbb9", "Name": "toggle", - "Description": "Input #1", + "Description": "bool\nVorgabewert : true", "UsingDefaultValue": true, "Level": 2, "UseLevels": false, @@ -282,7 +169,7 @@ { "Id": "2de8a902981e43bcadbae23dc3877b41", "Name": "docOrRevitLinkInstance", - "Description": "Input #2", + "Description": " Use only if you want to query a linked model\n\nvar\nVorgabewert : null", "UsingDefaultValue": true, "Level": 2, "UseLevels": false, @@ -293,7 +180,7 @@ { "Id": "9f1308ac0b9f4488ac7087c793262365", "Name": "Views", - "Description": "Output #1", + "Description": "Rückgabewert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -309,7 +196,7 @@ "Parameter": { "Name": "level", "TypeName": "Revit.Elements.Level", - "TypeRank": 0, + "TypeRank": -1, "DefaultValue": null, "Description": "" }, @@ -327,7 +214,7 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -348,7 +235,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -369,7 +256,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", @@ -395,18 +282,18 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", "NodeType": "FunctionNode", - "FunctionSignature": "Revit.Elements.Element.Id", - "Id": "eb0e2527ac60451893ef153ea0659059", + "FunctionSignature": "DSCore.Object.IsNull@var", + "Id": "f1ab31c0de3949f08c3b550fc13c1033", "Inputs": [ { - "Id": "8cd61fc8f7e64363a24eaf7f36ded734", - "Name": "element", - "Description": "Revit.Elements.Element", + "Id": "01ec07ebae0449b8a19d40975e74dafd", + "Name": "object", + "Description": "Zu testendes Objekt.\n\nvar", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -415,9 +302,9 @@ ], "Outputs": [ { - "Id": "510461f096e94070b65a4b2b50bb2115", - "Name": "int", - "Description": "int", + "Id": "b7ce998c3874483e96db78264ba813b4", + "Name": "bool", + "Description": "Angabe, ob das Objekt Null ist", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -425,59 +312,47 @@ } ], "Replication": "Auto", - "Description": "Get the Element Id for this element\n\nElement.Id: int" + "Description": "Bestimmt, ob das angegebene Objekt Null ist.\n\nObject.IsNull (object: var): bool" }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", "NodeType": "FunctionNode", - "FunctionSignature": "Revit.Elements.Element.Id", - "Id": "639e2f92166848a4bb2c58fa74c4307c", + "FunctionSignature": "DSCore.List.GroupByKey@var[]..[],var[]..[]", + "Id": "4226053c35a84286a6a58ac3a1a0570d", "Inputs": [ { - "Id": "ce73826c86dd4abb80e871cfb123e7cd", - "Name": "element", - "Description": "Revit.Elements.Element", + "Id": "0fa5be31b1214ad195ac3a3a2e8b2c5f", + "Name": "list", + "Description": "Liste der in Unterlisten zu gruppierenden Elemente\n\nvar[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false - } - ], - "Outputs": [ + }, { - "Id": "093089dc94e545c0beb1af355445e541", - "Name": "int", - "Description": "int", + "Id": "01494307155442cfb373b475161a7218", + "Name": "keys", + "Description": "Schlüsselwerte zur Gruppierung der Einträge, je ein Wert pro Eintrag in der eingegebenen Liste\n\nvar[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false } ], - "Replication": "Auto", - "Description": "Get the Element Id for this element\n\nElement.Id: int" - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", - "NodeType": "FunctionNode", - "FunctionSignature": "DSCore.Object.IsNull@var", - "Id": "f1ab31c0de3949f08c3b550fc13c1033", - "Inputs": [ + "Outputs": [ { - "Id": "01ec07ebae0449b8a19d40975e74dafd", - "Name": "obj", - "Description": "Object to test.\n\nvar", + "Id": "90142891bb974527a0720e1a4eebc52d", + "Name": "groups", + "Description": "Liste der Unterlisten, Einträge nach übereinstimmenden Schlüsselwerten gruppiert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false - } - ], - "Outputs": [ + }, { - "Id": "b7ce998c3874483e96db78264ba813b4", - "Name": "bool", - "Description": "Whether object is null.", + "Id": "31620bd252cb4c5785521b1d9a55561a", + "Name": "uniqueKeys", + "Description": "der jeweiligen Gruppe entsprechender Schlüsselwert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -485,17 +360,18 @@ } ], "Replication": "Auto", - "Description": "Determines the if the given object is null.\n\nObject.IsNull (obj: var): bool" + "Description": "Gruppiert Elemente anhand übereinstimmender Schlüsselwerte in Unterlisten\n\nList.GroupByKey (list: var[]..[], keys: var[]..[]): var[]..[]" }, { "ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels", "NodeType": "PythonScriptNode", - "Code": "import clr\r\nclr.AddReference('RevitAPI')\r\nfrom Autodesk.Revit.DB import *\r\n\r\nclr.AddReference(\"RevitNodes\")\r\nimport Revit\r\nclr.ImportExtensions(Revit.Elements)\r\n\r\nlevels = UnwrapElement(IN[0])\r\nversion = IN[1]\r\nelementlist = list()\r\nfor lvl in levels:\r\n\tif version > 2017:\r\n\t\ttry:\r\n\t\t\tif lvl.Document.GetElement(lvl.FindAssociatedPlanViewId()) == None:\r\n\t\t\t\telementlist.append(None)\r\n\t\t\telse:\r\n\t\t\t\telementlist.append(lvl.Document.GetElement(lvl.FindAssociatedPlanViewId()))\r\n\t\texcept:\r\n\t\t\telementlist.append(None)\r\n\telse:\r\n\t\telementlist.append(None)\r\nOUT = elementlist", + "Code": "import clr\r\nclr.AddReference('RevitAPI')\r\nfrom Autodesk.Revit.DB import *\r\n\r\nclr.AddReference(\"RevitNodes\")\r\nimport Revit\r\nclr.ImportExtensions(Revit.Elements)\r\n\r\nimport System\r\nfrom System.Collections.Generic import *\r\n\r\ndef GetFirstAndAllViews(lvl):\r\n\tfirstView = None\r\n\ttry:\r\n\t\tif lvl.Document.GetElement(lvl.FindAssociatedPlanViewId()): firstView = lvl.Document.GetElement(lvl.FindAssociatedPlanViewId())\r\n\texcept: pass\r\n\tif viewlevels.Contains(lvl.Id): allViews = views[viewlevels.IndexOf(lvl.Id)]\r\n\telse: allViews = []\r\n\treturn firstView, allViews\r\n\r\nlevels = UnwrapElement(IN[0])\r\nviews = UnwrapElement(IN[1])\r\nviewlevels = List[ElementId]([x.Id for x in UnwrapElement(IN[2])])\r\n\r\nif isinstance(IN[0], list): OUT = list(zip(*[GetFirstAndAllViews(x) for x in levels]))\r\nelse: OUT = GetFirstAndAllViews(levels)", + "Engine": "CPython3", "VariableInputPorts": true, - "Id": "f864fdf5a38e4dd1ab8c700a9c4dc8a0", + "Id": "f22c427209d9443499600db3ba8fe9ce", "Inputs": [ { - "Id": "8b0e3f98172b4010913d87b1f33e4e64", + "Id": "e6a75f431b264cd28f630783adde1e56", "Name": "IN[0]", "Description": "Input #0", "UsingDefaultValue": false, @@ -504,40 +380,18 @@ "KeepListStructure": false }, { - "Id": "7d08f271317f458cb4a81603560be0f3", + "Id": "c59bd1a771eb4e21a67779595670baec", "Name": "IN[1]", "Description": "Input #1", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "b2a53c2d89ea47828bc7e98d01930acc", - "Name": "OUT", - "Description": "Result of the python script", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Replication": "Disabled", - "Description": "Runs an embedded IronPython script." - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", - "FunctionSignature": "cd09ad33-8c34-4850-ac26-24448d92c38f", - "FunctionType": "Graph", - "NodeType": "FunctionNode", - "Id": "e2bbab9273e8459292aa36a541af7e13", - "Inputs": [ + }, { - "Id": "bc0387cc1b424015b3e2dcd74b903556", - "Name": "unknownItem", - "Description": "var[]..[]", + "Id": "6df48a6ca61b44c9862620a83a862376", + "Name": "IN[2]", + "Description": "Input #2", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -546,38 +400,28 @@ ], "Outputs": [ { - "Id": "4f8a19edc658483d9347c77a1bec4bee", - "Name": "seq", - "Description": "return value", + "Id": "d19ababebbf24e9ea3c74ebe98ca7e81", + "Name": "OUT", + "Description": "Ergebnis des Python-Skripts", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false } ], - "Replication": "Auto", - "Description": "Turns an element (or a nested list) into a flat list" + "Replication": "Disabled", + "Description": "Führt ein eingebettetes Python-Skript aus." }, { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", - "FunctionSignature": "44ac4888-4aa4-49a9-9344-23b729c11df9", - "FunctionType": "Graph", - "NodeType": "FunctionNode", - "Id": "862acb9bffd6414c84c6eb843c0157b9", + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "seq[0];\nseq[1];", + "Id": "1aacfaecbcc04aa6904c381c84ee78c5", "Inputs": [ { - "Id": "60b07aa77b3e4b51baac0d5a54495a2d", - "Name": "unknownItem", - "Description": "var[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "8a748a73750146aabb39d8bdd59339f4", + "Id": "98f525d8b14748ad9e8e6ce524dfdb75", "Name": "seq", - "Description": "var[]..[]", + "Description": "seq", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -586,145 +430,18 @@ ], "Outputs": [ { - "Id": "4cac3cec5a5f4346aa9ddb63d2798016", + "Id": "74210a7ddd3b46339df7f131225dd91e", "Name": "", - "Description": "return value", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Replication": "Auto", - "Description": "If the unknown item is not a list but rather a single item, only the first item of the list (input \"seq\") will be returned." - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", - "FunctionSignature": "3df0961d-9d46-464f-9175-0a74eeb61bc1", - "FunctionType": "Graph", - "NodeType": "FunctionNode", - "Id": "fc078d9e3f1c4dc483fceb39bba2c660", - "Inputs": [], - "Outputs": [ - { - "Id": "7791ae1abf514b308d9c5d736bfed239", - "Name": "Name", - "Description": "Output #1", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "459091ad3cba44e2a2d68ff900d457ab", - "Name": "Version", - "Description": "Output #2", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "2dc475eb7f7d42e8b04ea8b72297815c", - "Name": "Build", - "Description": "Output #3", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "d7f1f8fa477348bf8fcd29821a8efd80", - "Name": "Language", - "Description": "Output #4", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "eef25375ac6646aea64fa6a56076fe9f", - "Name": "fullVersion", - "Description": "Output #5", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Replication": "Auto", - "Description": "Retrieves the name, version and build of the current Revit application." - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", - "FunctionSignature": "7debf647-afa8-476e-81ad-a74417bda812", - "FunctionType": "Graph", - "NodeType": "FunctionNode", - "Id": "61087c48aeb74cd8b4d03e2bb1e9603d", - "Inputs": [ - { - "Id": "320d9a45bb9949e78e5c20b0b5e2f486", - "Name": "test", - "Description": "var[]..[]", + "Description": "Wert des Ausdrucks in Zeile 1", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false }, { - "Id": "ea40a50de1f548f99cc28ca2585ddcc7", - "Name": "true", - "Description": "var[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "65f561c20b4e4f70a47e929f141411d2", - "Name": "false", - "Description": "var[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "624baaab2993454485ed33c8b41d973f", - "Name": "result", - "Description": "return value", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Replication": "Auto", - "Description": "A (hopefully) more robust implementation of ScopeIf. Tests a single boolean and returns a value accordingly." - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", - "NodeType": "CodeBlockNode", - "Code": "v > 2017;", - "Id": "6e24051b48f04d0fad04c7c291de12a5", - "Inputs": [ - { - "Id": "8dcfb0dafd5c4834816426a47ce5d86f", - "Name": "v", - "Description": "v", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "2bcf8336a7f345989e6c40205db42128", + "Id": "b7a9fa2341834fc7a0294f0e4043b965", "Name": "", - "Description": "Value of expression at line 1", + "Description": "Wert des Ausdrucks in Zeile 2", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -732,39 +449,19 @@ } ], "Replication": "Disabled", - "Description": "Allows for DesignScript code to be authored directly" + "Description": "Ermöglicht die direkte Erstellung von DesignScript-Code." } ], "Connectors": [ - { - "Start": "c9461c9ef48047a78c6be5bc4ad57244", - "End": "65f561c20b4e4f70a47e929f141411d2", - "Id": "7928c727bf984d56ab58a4d92a8a152f" - }, - { - "Start": "5d5ca8ae1e5146af8438944c7d9a4121", - "End": "d587ac7cfa2149f68c463f2cb0e5535f", - "Id": "15feb10d81c14a2c884b738d5ed99af4" - }, - { - "Start": "5d5ca8ae1e5146af8438944c7d9a4121", - "End": "4e813bf1d14d4f67a8d1cd038a2a4a27", - "Id": "9ebc201c596841efbc38fdb79e5586c5" - }, - { - "Start": "002e929e5e8a4d22a574cb147ec30951", - "End": "b104383d24564a2b86242a89486add9f", - "Id": "21bf3351fb414002af58c74a696d1547" - }, { "Start": "b9f043430a6b4c10a2c240689038a097", - "End": "8cd61fc8f7e64363a24eaf7f36ded734", - "Id": "dd224783f13c457ea49f811f33dd8152" + "End": "01494307155442cfb373b475161a7218", + "Id": "5ccfd6001cb04a7ab2c6a045b1f2c9cd" }, { "Start": "543780374317484ea81da238d2626d23", - "End": "dd859335a16142cea68fe0bb1d2ff5f0", - "Id": "c285ad0b8dff4d19bcd57da8c46f7ae6" + "End": "0fa5be31b1214ad195ac3a3a2e8b2c5f", + "Id": "dafda7011a0643f6a608e888fe80691f" }, { "Start": "686d0268bc9c45c7a1c582ad6b0aa613", @@ -788,34 +485,14 @@ }, { "Start": "f17d28e1d4a14860b5dd0bb24bb53be5", - "End": "ce73826c86dd4abb80e871cfb123e7cd", - "Id": "7209e86aa23046feac69b1995c714fea" - }, - { - "Start": "f17d28e1d4a14860b5dd0bb24bb53be5", - "End": "bc0387cc1b424015b3e2dcd74b903556", - "Id": "b2e8d943038f45d4bfca9a395b89417e" - }, - { - "Start": "f17d28e1d4a14860b5dd0bb24bb53be5", - "End": "60b07aa77b3e4b51baac0d5a54495a2d", - "Id": "82a45f44ca5a4ac681cc10337fa00855" + "End": "e6a75f431b264cd28f630783adde1e56", + "Id": "0448ae4b103d40fc9499eb8c24c2200d" }, { "Start": "134da9ed2bc14b71875fe4fdd947e24d", "End": "29cc97336d7d4373ada29ef5e12bcbb9", "Id": "042c7964889f421c8e2f08ab8c4f198a" }, - { - "Start": "510461f096e94070b65a4b2b50bb2115", - "End": "7ee313f5522a4e52932f5cc5e0d755f1", - "Id": "1171f22f4c934777b6ae2570c37e0b39" - }, - { - "Start": "093089dc94e545c0beb1af355445e541", - "End": "08d9cf64de8c4ad5906af3f667ed1507", - "Id": "3d3de70f3c9c4aac9d3fad217c99276e" - }, { "Start": "b7ce998c3874483e96db78264ba813b4", "End": "5e7f66ad87494456ae078ae2a476d540", @@ -827,61 +504,59 @@ "Id": "d8691c80c52048fa87c41a1acd14c0ce" }, { - "Start": "b2a53c2d89ea47828bc7e98d01930acc", - "End": "8a748a73750146aabb39d8bdd59339f4", - "Id": "9a268b71286c48cf94533fdbcc82de8e" + "Start": "90142891bb974527a0720e1a4eebc52d", + "End": "c59bd1a771eb4e21a67779595670baec", + "Id": "306f48ded65447fba481af0d00367a0b" }, { - "Start": "4f8a19edc658483d9347c77a1bec4bee", - "End": "8b0e3f98172b4010913d87b1f33e4e64", - "Id": "713c2923edc14dee92553c7612366bd2" + "Start": "31620bd252cb4c5785521b1d9a55561a", + "End": "6df48a6ca61b44c9862620a83a862376", + "Id": "fc572a08878f444a849aacc028056ca2" }, { - "Start": "4cac3cec5a5f4346aa9ddb63d2798016", - "End": "ea40a50de1f548f99cc28ca2585ddcc7", - "Id": "8bd61aef99934ef7854b701803e1a586" + "Start": "d19ababebbf24e9ea3c74ebe98ca7e81", + "End": "98f525d8b14748ad9e8e6ce524dfdb75", + "Id": "431e4a9ea3d34539a4391f47b9e1ab97" }, { - "Start": "459091ad3cba44e2a2d68ff900d457ab", - "End": "7d08f271317f458cb4a81603560be0f3", - "Id": "3e52e82e066a4cb9b0849b147a412c58" - }, - { - "Start": "459091ad3cba44e2a2d68ff900d457ab", - "End": "8dcfb0dafd5c4834816426a47ce5d86f", - "Id": "679f5cea80e041c5b7dc6594e75aae2d" - }, - { - "Start": "624baaab2993454485ed33c8b41d973f", + "Start": "74210a7ddd3b46339df7f131225dd91e", "End": "24c6f5e51cc74f1cb3bc9715350889dd", - "Id": "5be300cd704a4c839893f1c06551b1fe" + "Id": "04a4d4e28c0e46a68ecd7eb3aa431fc4" }, { - "Start": "2bcf8336a7f345989e6c40205db42128", - "End": "320d9a45bb9949e78e5c20b0b5e2f486", - "Id": "e50b38f714fe411bbd57075e210889b2" + "Start": "b7a9fa2341834fc7a0294f0e4043b965", + "End": "4e813bf1d14d4f67a8d1cd038a2a4a27", + "Id": "38bc2fc7cee84caa87c5a0cc9c993368" } ], "Dependencies": [ "23a94b80-4bd0-436f-a1b1-f77654b4428c", - "de43b934-e84a-4c0a-b298-06207ba545cd", - "cd09ad33-8c34-4850-ac26-24448d92c38f", - "44ac4888-4aa4-49a9-9344-23b729c11df9", - "3df0961d-9d46-464f-9175-0a74eeb61bc1", - "7debf647-afa8-476e-81ad-a74417bda812" + "de43b934-e84a-4c0a-b298-06207ba545cd" + ], + "NodeLibraryDependencies": [ + { + "Name": "Clockwork for Dynamo 2.x", + "Version": "2.12.1", + "ReferenceType": "Package", + "Nodes": [ + "035053448719436b93844ced57d43e6b", + "e9a93ad442864cfdad0eece8f634f76e" + ] + } ], + "Author": "None provided", "Bindings": [], "View": { "Dynamo": { "ScaleFactor": 1.0, "HasRunWithoutCrash": false, "IsVisibleInDynamoLibrary": true, - "Version": "2.0.1.5055", + "Version": "2.12.1.8246", "RunType": "Manual", "RunPeriod": "1000" }, "Camera": { - "Name": "Background Preview", + "Name": "Hintergrundvorschau", "EyeX": -17.0, "EyeY": 24.0, "EyeZ": 50.0, @@ -894,209 +569,129 @@ }, "NodeViews": [ { - "Id": "21f0d2fd8a3945c7acc64db00f73c7bf", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "List.FirstItem", "ShowGeometry": true, - "Excluded": false, - "X": 1623.47641263969, - "Y": 312.030134218901 - }, - { - "Id": "a22b7837daa1419383598b605cdfc50e", - "IsSetAsInput": false, - "IsSetAsOutput": false, "Name": "List.FilterByBoolMask", - "ShowGeometry": true, - "Excluded": false, - "X": 1429.04222455649, - "Y": 25.7316516963896 - }, - { - "Id": "8205a662bfd9454d8ef38a72a8342fe6", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "==", - "ShowGeometry": true, - "Excluded": false, - "X": 1243.44832629463, - "Y": 186.263730806936 - }, - { "Id": "427aa6fea6d740a5b1acdeea35a38416", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "List.FilterByBoolMask", - "ShowGeometry": true, "Excluded": false, - "X": 817.026015496163, - "Y": 124.480844745614 + "X": 897.02705367042574, + "Y": 98.87415850752987 }, { + "ShowGeometry": true, + "Name": "List.FilterByBoolMask", "Id": "218f8d5a66a543fb891fbef22b93337a", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "List.FilterByBoolMask", - "ShowGeometry": true, "Excluded": false, - "X": 817.027276204349, - "Y": 0.245997066383552 + "X": 897.02705367042574, + "Y": -35.125841492470158 }, { + "ShowGeometry": true, + "Name": "Element.Level", "Id": "035053448719436b93844ced57d43e6b", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Element.Level", - "ShowGeometry": true, "Excluded": false, - "X": 351.319720663012, - "Y": 122.976727778758 + "X": 318.62705367042565, + "Y": 78.374158507529842 }, { + "ShowGeometry": true, + "Name": "Document.Views", "Id": "e9a93ad442864cfdad0eece8f634f76e", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Document.Views", - "ShowGeometry": true, "Excluded": false, - "X": -13.0715853050968, - "Y": 6.03325105400262 + "X": -67.772946329574268, + "Y": 21.624158507529842 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "ffa470e3dc9f4ac5a3e5bc9114b6d945", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, - "X": 812.10669824288, - "Y": 434.815473933744 + "X": 1168.2270536704259, + "Y": -39.125841492470158 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "618b47a2477749f68b069f792019f4fa", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, - "X": 2101.34989104803, - "Y": 405.884798116586 + "X": 2012.2270536704259, + "Y": -43.3391748258035 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "518df82b8d3d42eba40db66e26148948", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, - "X": 1852.40272369659, - "Y": 26.7881914393049 + "X": 2012.2270536704259, + "Y": 40.6608251741965 }, { - "Id": "183b5dc052aa4224ac42f20849f2ddc0", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "Input", "ShowGeometry": true, - "Excluded": false, - "X": -341.896501088177, - "Y": 6.19112571181444 - }, - { - "Id": "eb0e2527ac60451893ef153ea0659059", + "Name": "Input", + "Id": "183b5dc052aa4224ac42f20849f2ddc0", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Element.Id", - "ShowGeometry": true, "Excluded": false, - "X": 1043.11456687362, - "Y": 119.762148656017 + "X": -450.97294632957426, + "Y": 21.624158507529856 }, { - "Id": "639e2f92166848a4bb2c58fa74c4307c", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "Element.Id", "ShowGeometry": true, - "Excluded": false, - "X": 1029.68242977202, - "Y": 373.039188279089 - }, - { + "Name": "Object.IsNull", "Id": "f1ab31c0de3949f08c3b550fc13c1033", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Object.IsNull", - "ShowGeometry": true, "Excluded": false, - "X": 617.54042446099, - "Y": 202.101407749219 + "X": 614.62705367042565, + "Y": 57.874158507529842 }, { - "Id": "f864fdf5a38e4dd1ab8c700a9c4dc8a0", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "Python Script", "ShowGeometry": true, - "Excluded": false, - "X": 1321.73865136774, - "Y": 559.432839048995 - }, - { - "Id": "e2bbab9273e8459292aa36a541af7e13", + "Name": "List.GroupByKey", + "Id": "4226053c35a84286a6a58ac3a1a0570d", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "TurnIntoList", - "ShowGeometry": true, "Excluded": false, - "X": 1017.63793218621, - "Y": 518.046797382898 + "X": 1168.2270536704259, + "Y": 44.874158507529842 }, { - "Id": "862acb9bffd6414c84c6eb843c0157b9", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "ReturnListOrSingleValue", "ShowGeometry": true, - "Excluded": false, - "X": 1491.00719186179, - "Y": 433.81316972133 - }, - { - "Id": "fc078d9e3f1c4dc483fceb39bba2c660", + "Name": "Python Script", + "Id": "f22c427209d9443499600db3ba8fe9ce", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Application.Version", - "ShowGeometry": true, "Excluded": false, - "X": 1111.36267282373, - "Y": 626.008207484344 + "X": 1543.4270536704257, + "Y": -10.125841492470158 }, { - "Id": "61087c48aeb74cd8b4d03e2bb1e9603d", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "ScopeIf+", "ShowGeometry": true, - "Excluded": false, - "X": 1868.27893265585, - "Y": 406.52621991547 - }, - { - "Id": "6e24051b48f04d0fad04c7c291de12a5", + "Name": "Code Block", + "Id": "1aacfaecbcc04aa6904c381c84ee78c5", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Code Block", - "ShowGeometry": true, "Excluded": false, - "X": 1658.48198756887, - "Y": 565.751640092694 + "X": 1768.2270536704259, + "Y": -5.91250815913682 } ], "Annotations": [], - "X": -554.760673391807, - "Y": 263.341581797177, - "Zoom": 0.842893770232268 + "X": 171.40795196926717, + "Y": 305.51337528005058, + "Zoom": 0.31356194006796412 } } \ No newline at end of file