diff --git a/nodes/3.x/Room.AtPointInPhase.dyf b/nodes/3.x/Room.AtPointInPhase.dyf index 20e5c364..57ed8f85 100644 --- a/nodes/3.x/Room.AtPointInPhase.dyf +++ b/nodes/3.x/Room.AtPointInPhase.dyf @@ -15,81 +15,11 @@ "Inputs": [], "Outputs": [], "Nodes": [ - { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", - "FunctionSignature": "44ac4888-4aa4-49a9-9344-23b729c11df9", - "FunctionType": "Graph", - "NodeType": "FunctionNode", - "Id": "57d934c176794f7cbc194269af0d16c5", - "Inputs": [ - { - "Id": "f08fc4bb40574a18ad4b72ae6e2f86e9", - "Name": "unknownItem", - "Description": "var[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "592ce865d5684d65b4a0ff25606221e8", - "Name": "seq", - "Description": "var[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "23f5f7743aed495a98f59609d2ccf424", - "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": "cd09ad33-8c34-4850-ac26-24448d92c38f", - "FunctionType": "Graph", - "NodeType": "FunctionNode", - "Id": "1231a75edb7a4474a31a286d70f6bbdf", - "Inputs": [ - { - "Id": "61ac45bf2a20487d956ab9016e87c5d9", - "Name": "unknownItem", - "Description": "var[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "5baa817160174e77bab76a17268f6ff2", - "Name": "seq", - "Description": "return value", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Replication": "Auto", - "Description": "Turns an element (or a nested list) into a flat list" - }, { "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\nclr.ImportExtensions(Revit.GeometryConversion)\r\n\r\nclr.AddReference(\"RevitServices\")\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\n\r\ndoc = DocumentManager.Instance.CurrentDBDocument\r\npoints = IN[0]\r\nphase = UnwrapElement(IN[1])\r\nroomlist = list()\r\nfor pt in points:\r\n roomlist.append(doc.GetRoomAtPoint(pt.ToXyz(),phase))\r\nOUT = roomlist", + "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\nclr.ImportExtensions(Revit.GeometryConversion)\r\n\r\nclr.AddReference(\"RevitServices\")\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\n\r\npoints = IN[0]\r\nphase = UnwrapElement(IN[1])\r\ninputdoc = UnwrapElement(IN[2])\r\nif inputdoc == None:\r\n\tdoc = DocumentManager.Instance.CurrentDBDocument\r\nelif inputdoc.GetType().ToString() == \"Autodesk.Revit.DB.RevitLinkInstance\":\r\n\tdoc = inputdoc.GetLinkDocument()\r\nelif inputdoc.GetType().ToString() == \"Autodesk.Revit.DB.Document\":\r\n\tdoc = inputdoc\r\nelse: doc = None\r\n\r\nif isinstance(IN[0], list): OUT = [doc.GetRoomAtPoint(x.ToXyz(),phase) for x in points]\r\nelse: OUT = doc.GetRoomAtPoint(points.ToXyz(),phase)", + "Engine": "CPython3", "VariableInputPorts": true, "Id": "8b77751e29ff4a23923461f06dedf79b", "Inputs": [ @@ -110,6 +40,15 @@ "Level": 2, "UseLevels": false, "KeepListStructure": false + }, + { + "Id": "41b0bb1345ff4f749bd87c27ccf5f58f", + "Name": "IN[2]", + "Description": "Input #2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false } ], "Outputs": [ @@ -124,7 +63,7 @@ } ], "Replication": "Disabled", - "Description": "Runs an embedded IronPython script." + "Description": "Führt ein eingebettetes Python-Skript aus." }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", @@ -150,7 +89,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.Symbol, DynamoCore", @@ -176,7 +115,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", @@ -197,7 +136,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.ZeroTouch.DSFunction, DynamoCore", @@ -207,8 +146,8 @@ "Inputs": [ { "Id": "d443e7506e4c4861b4f0920f3a6c6aa8", - "Name": "obj", - "Description": "Object to test.\n\nvar", + "Name": "object", + "Description": "Zu testendes Objekt.\n\nvar", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -219,7 +158,7 @@ { "Id": "1f73124d386c4dc6b2f9fd335cbcdbbc", "Name": "bool", - "Description": "Whether object is null.", + "Description": "Angabe, ob das Objekt Null ist", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -227,37 +166,58 @@ } ], "Replication": "Auto", - "Description": "Determines the if the given object is null.\n\nObject.IsNull (obj: var): bool" + "Description": "Bestimmt, ob das angegebene Objekt Null ist.\n\nObject.IsNull (object: var): bool" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", - "FunctionSignature": "7debf647-afa8-476e-81ad-a74417bda812", + "FunctionSignature": "4131ba2c-da9b-40bd-9ce1-b74a9ad5b5da", "FunctionType": "Graph", "NodeType": "FunctionNode", - "Id": "906b8d45d78f4d598dc5ad1bffa59b46", + "Id": "128aebd9a0de44a5a3888126bf5bba8a", "Inputs": [ { - "Id": "eae9538e2c1947dcac417bfb93444374", - "Name": "test", - "Description": "var[]..[]", - "UsingDefaultValue": false, + "Id": "4473f6bc9aa84ee9b7bd4a5391ffe99b", + "Name": "toggle", + "Description": "bool\nVorgabewert : true", + "UsingDefaultValue": true, "Level": 2, "UseLevels": false, "KeepListStructure": false }, { - "Id": "c36ab211448d45db8eaaf8f2caed179b", - "Name": "true", - "Description": "var[]..[]", + "Id": "ac1ec68f6dbb4dea8b04099735c32193", + "Name": "docOrRevitLinkInstance", + "Description": " Use only if you want to query a linked model\n\nvar\nVorgabewert : null", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "947c13092c4849cfb0c3c9f9c4d78146", + "Name": "Phases", + "Description": "Rückgabewert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false - }, + } + ], + "Replication": "Auto", + "Description": "Retrieves all phases in the active document in *chronological* order" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.List.LastItem@var[]..[]", + "Id": "ef66845976a34625bdf45e8b102b6d01", + "Inputs": [ { - "Id": "d3e4bee953264978b4debe54668ae175", - "Name": "false", - "Description": "var[]..[]", + "Id": "80b797cd2f6e47a39dcedb5fcabc3249", + "Name": "list", + "Description": "Liste, deren letztes Element abgerufen werden soll\n\nvar[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -266,9 +226,9 @@ ], "Outputs": [ { - "Id": "e8b6fed178c54b28bd299fc55d059b95", - "Name": "result", - "Description": "return value", + "Id": "16466a555c5e4ebdbe2c3bec34540c1b", + "Name": "item", + "Description": "Das letzte Element in der Liste", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -276,104 +236,92 @@ } ], "Replication": "Auto", - "Description": "A (hopefully) more robust implementation of ScopeIf. Tests a single boolean and returns a value accordingly." + "Description": "Ruft das letzte Element in einer Liste ab.\n\nList.LastItem (list: var[]..[]): var[]..[]" }, { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", - "FunctionSignature": "4131ba2c-da9b-40bd-9ce1-b74a9ad5b5da", - "FunctionType": "Graph", - "NodeType": "FunctionNode", - "Id": "128aebd9a0de44a5a3888126bf5bba8a", + "ConcreteType": "CoreNodeModels.Logic.ScopedIf, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "e222fcaa0c7d4f6bafbb11cd9756787c", "Inputs": [ { - "Id": "4473f6bc9aa84ee9b7bd4a5391ffe99b", - "Name": "toggle", - "Description": "Input #1", - "UsingDefaultValue": true, + "Id": "99aa1b8de4e042ff8114f805e5fda271", + "Name": "test", + "Description": "Boolescher Test", + "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false }, { - "Id": "ac1ec68f6dbb4dea8b04099735c32193", - "Name": "docOrRevitLinkInstance", - "Description": "Input #2", - "UsingDefaultValue": true, + "Id": "e4441576a6804a8eac3b64cdbd5c6893", + "Name": "true", + "Description": "Wird zurückgegeben, wenn Test true ist", + "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false - } - ], - "Outputs": [ + }, { - "Id": "947c13092c4849cfb0c3c9f9c4d78146", - "Name": "Phases", - "Description": "Output #1", + "Id": "78dedaf86f1a41d0a4acaa412c67263b", + "Name": "false", + "Description": "Wird zurückgegeben, wenn Test false ist", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false } ], - "Replication": "Auto", - "Description": "Retrieves all phases in the active document in *chronological* order" - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", - "NodeType": "FunctionNode", - "FunctionSignature": "DSCore.List.LastItem@var[]..[]", - "Id": "ef66845976a34625bdf45e8b102b6d01", - "Inputs": [ + "Outputs": [ { - "Id": "80b797cd2f6e47a39dcedb5fcabc3249", - "Name": "list", - "Description": "List to get the last item of.\n\nvar[]..[]", + "Id": "69003ddfd57f4c849d122e7bd0d6cb0a", + "Name": "result", + "Description": "Ergebnisblock erstellt", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false } ], + "Replication": "Disabled", + "Description": "Gibt abhängig von der Auswahl des booleschen Werts in der Testeingabe das Ergebnis für die True- oder False-Eingabe zurück." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", + "NodeType": "InputNode", + "Parameter": { + "Name": "docOrRevitLinkInstance", + "TypeName": "var", + "TypeRank": 0, + "DefaultValue": "null", + "Description": " Use only if you want to query a linked model" + }, + "Id": "f090d3763f5a447a880b9d8dbdd6d22a", + "Inputs": [], "Outputs": [ { - "Id": "16466a555c5e4ebdbe2c3bec34540c1b", - "Name": "last", - "Description": "Last item in the list.", + "Id": "72a328277e074fad801e8e3f8ff26d6b", + "Name": "", + "Description": "Symbol", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, "KeepListStructure": false } ], - "Replication": "Auto", - "Description": "Retrieves the last item in a list.\n\nList.LastItem (list: var[]..[]): var[]..[]" + "Replication": "Disabled", + "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" } ], "Connectors": [ - { - "Start": "23f5f7743aed495a98f59609d2ccf424", - "End": "80c48050a44b441d9621dfc2ca656201", - "Id": "217684a30e3642e4a91d8d2548bffd6c" - }, - { - "Start": "5baa817160174e77bab76a17268f6ff2", - "End": "ca4172ec22c845ab8dcc8b5b5c9b5628", - "Id": "14129f927cac43c898de5cce45f77d0b" - }, { "Start": "30d6f127244b499297f77b5a7b2d9354", - "End": "592ce865d5684d65b4a0ff25606221e8", - "Id": "284c71c4e5b64954bb6be7a129168b8a" - }, - { - "Start": "e9e83fd4abf04034af8e02e29d8e3f3a", - "End": "f08fc4bb40574a18ad4b72ae6e2f86e9", - "Id": "e601ac939e8e48e0b83a7db889d69960" + "End": "80c48050a44b441d9621dfc2ca656201", + "Id": "87e132feeab24f089a47ced201c6a878" }, { "Start": "e9e83fd4abf04034af8e02e29d8e3f3a", - "End": "61ac45bf2a20487d956ab9016e87c5d9", - "Id": "3521d01c640143fc895475c76faf00dd" + "End": "ca4172ec22c845ab8dcc8b5b5c9b5628", + "Id": "ce88547fcd954e8eb27e3ef820dd6cbc" }, { "Start": "f91dea1c34f5495f9c296cdb854d35c8", @@ -382,18 +330,13 @@ }, { "Start": "f91dea1c34f5495f9c296cdb854d35c8", - "End": "d3e4bee953264978b4debe54668ae175", - "Id": "e2f764bd67f048b594e3c61d515c0a2d" + "End": "78dedaf86f1a41d0a4acaa412c67263b", + "Id": "2db6bc97ec1147d4b28bb67a5dbcf06f" }, { "Start": "1f73124d386c4dc6b2f9fd335cbcdbbc", - "End": "eae9538e2c1947dcac417bfb93444374", - "Id": "bd9f1251119142129d5145435ea13faa" - }, - { - "Start": "e8b6fed178c54b28bd299fc55d059b95", - "End": "59a9d66124d24800910c8e61159620ec", - "Id": "741da5c2c9f34386bd206f6ecb452069" + "End": "99aa1b8de4e042ff8114f805e5fda271", + "Id": "a92ef9215757476cbb5a307a3c32cdf3" }, { "Start": "947c13092c4849cfb0c3c9f9c4d78146", @@ -402,28 +345,46 @@ }, { "Start": "16466a555c5e4ebdbe2c3bec34540c1b", - "End": "c36ab211448d45db8eaaf8f2caed179b", - "Id": "7c7f3c58b7a149d099515874dc81e7f6" + "End": "e4441576a6804a8eac3b64cdbd5c6893", + "Id": "dd856e9a81084485992eb277bf5254e2" + }, + { + "Start": "69003ddfd57f4c849d122e7bd0d6cb0a", + "End": "59a9d66124d24800910c8e61159620ec", + "Id": "24f92cb12726415794799c3515fc9dbb" + }, + { + "Start": "72a328277e074fad801e8e3f8ff26d6b", + "End": "41b0bb1345ff4f749bd87c27ccf5f58f", + "Id": "5c3b1ed937c345edb8bc7027ce1f6618" } ], "Dependencies": [ - "44ac4888-4aa4-49a9-9344-23b729c11df9", - "cd09ad33-8c34-4850-ac26-24448d92c38f", - "7debf647-afa8-476e-81ad-a74417bda812", "4131ba2c-da9b-40bd-9ce1-b74a9ad5b5da" ], + "NodeLibraryDependencies": [ + { + "Name": "Clockwork for Dynamo 2.x", + "Version": "2.12.1", + "ReferenceType": "Package", + "Nodes": [ + "128aebd9a0de44a5a3888126bf5bba8a" + ] + } + ], + "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, @@ -436,109 +397,99 @@ }, "NodeViews": [ { - "Id": "57d934c176794f7cbc194269af0d16c5", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "ReturnListOrSingleValue", - "ShowGeometry": true, - "Excluded": false, - "X": 808.0, - "Y": 9.0 - }, - { - "Id": "1231a75edb7a4474a31a286d70f6bbdf", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "TurnIntoList", "ShowGeometry": true, - "Excluded": false, - "X": 315.0, - "Y": 35.0 - }, - { + "Name": "Python Script", "Id": "8b77751e29ff4a23923461f06dedf79b", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Python Script", - "ShowGeometry": true, "Excluded": false, - "X": 584.0, - "Y": 35.0 + "X": 928.51162605800369, + "Y": 83.765547206397144 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "63ce34a6543541028ef05f6c8e587b56", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, - "X": 0.0, - "Y": 0.0 + "X": 422.11162605800359, + "Y": 54.765547206397144 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "d49a6b89d6d04a069fa1005cfa431eae", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, - "X": -564.081381598298, - "Y": 347.087945698433 + "X": -656.2883739419965, + "Y": 128.26554720639717 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "e65c787814204b81943fd882d3890cdb", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, - "X": 1071.0, - "Y": 9.0 + "X": 1153.3116260580036, + "Y": 83.765547206397144 }, { + "ShowGeometry": true, + "Name": "Object.IsNull", "Id": "f6ef3b8a2f764d80960fed0b9e9d5d38", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Object.IsNull", - "ShowGeometry": true, "Excluded": false, - "X": 146.990099009901, - "Y": 277.178217821783 + "X": 139.7116260580035, + "Y": 97.765547206397173 }, { - "Id": "906b8d45d78f4d598dc5ad1bffa59b46", + "ShowGeometry": true, + "Name": "Document.Phases", + "Id": "128aebd9a0de44a5a3888126bf5bba8a", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "ScopeIf+", - "ShowGeometry": true, "Excluded": false, - "X": 359.212490479818, - "Y": 172.806549885758 + "X": -656.2883739419965, + "Y": 221.76554720639714 }, { - "Id": "128aebd9a0de44a5a3888126bf5bba8a", + "ShowGeometry": true, + "Name": "List.LastItem", + "Id": "ef66845976a34625bdf45e8b102b6d01", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Document.Phases", - "ShowGeometry": true, "Excluded": false, - "X": -205.264280274182, - "Y": 164.10891089109 + "X": 139.7116260580035, + "Y": 205.76554720639714 }, { - "Id": "ef66845976a34625bdf45e8b102b6d01", + "ShowGeometry": true, + "Name": "ScopeIf", + "Id": "e222fcaa0c7d4f6bafbb11cd9756787c", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "List.LastItem", + "Excluded": false, + "X": 422.11162605800359, + "Y": 138.76554720639714 + }, + { "ShowGeometry": true, + "Name": "Input", + "Id": "f090d3763f5a447a880b9d8dbdd6d22a", + "IsSetAsInput": false, + "IsSetAsOutput": false, "Excluded": false, - "X": 147.859862909368, - "Y": 163.239146991623 + "X": 188.9502120361708, + "Y": 333.0669090795945 } ], "Annotations": [], - "X": 479.033920411272, - "Y": 106.426496444353, - "Zoom": 0.970151050788089 + "X": 410.57674919635053, + "Y": 237.10401123718742, + "Zoom": 0.56128313097493387 } } \ No newline at end of file