diff --git a/NodeList.xlsx b/NodeList.xlsx index 9dbb0cbf..d678af17 100644 Binary files a/NodeList.xlsx and b/NodeList.xlsx differ diff --git a/nodes/2.x/Element.ResetSlabShape.dyf b/nodes/2.x/Element.ResetSlabShape.dyf new file mode 100644 index 00000000..b82e06a5 --- /dev/null +++ b/nodes/2.x/Element.ResetSlabShape.dyf @@ -0,0 +1,300 @@ +{ + "Uuid": "1897bf8b-8893-4f0e-8548-2f7adad9609c", + "IsCustomNode": true, + "Category": "Clockwork.Revit.Elements.Actions", + "Description": "Resets the slabshape of a roof, floor slab or toposolid", + "Name": "Element.ResetSlabShape", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "6f21d07906584fbb8ad00e5e3cea879d", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "d79124100d5543099fd2e8764bc3ec7b", + "Name": "list", + "Description": "Liste, deren letztes Element abgerufen werden soll\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "2331f203eba34629bb56910dc0eb9b37", + "Name": "item", + "Description": "Das letzte Element in der Liste", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "DSCore.List.LastItem@var[]..[]", + "Replication": "Auto", + "Description": "Ruft das letzte Element in einer Liste ab.\n\nList.LastItem (list: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "Id": "b80fb701295a42a0b3da4ee20af77cee", + "NodeType": "FunctionNode", + "Inputs": [ + { + "Id": "40df5631adcd4c61a7ee4ddc8c09cc4b", + "Name": "list", + "Description": "Liste, deren erstes Element abgerufen werden soll\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "c64b2fe213e94b34986186e42fc50323", + "Name": "item", + "Description": "Das erste Element in der Liste", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "FunctionSignature": "DSCore.List.FirstItem@var[]..[]", + "Replication": "Auto", + "Description": "Gibt das erste Element in einer Liste zurück.\n\nList.FirstItem (list: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels", + "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.GeometryConversion)\r\n\r\nclr.AddReference(\"RevitServices\")\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\nfrom RevitServices.Transactions import TransactionManager\r\n\r\ndoc = DocumentManager.Instance.CurrentDBDocument\r\nslabs = UnwrapElement(IN[0])\r\nsuccess = []\r\n\r\ndef SlabShapeReset(slab):\r\n\tif hasattr(slab, \"SlapShapeEditor\"):\r\n\t\ttry:\r\n\t\t\tslab.SlabShapeEditor.ResetSlabShape()\r\n\t\t\treturn slab, True\r\n\t\texcept: return slab, False\r\n\tif hasattr(slab, \"GetSlapShapeEditor\"):\r\n\t\ttry:\r\n\t\t\tslab.GetSlabShapeEditor().ResetSlabShape()\r\n\t\t\treturn slab, True\r\n\t\texcept: return slab, False\r\n\telse: return slab, False\r\n\r\nTransactionManager.Instance.EnsureInTransaction(doc)\r\nif isinstance(IN[0], list): \r\n\tresults = [SlabShapeReset(x) for x in slabs]\r\n\tOUT = list(zip(*results))\r\nelse: OUT = SlabShapeReset(slabs)\r\nTransactionManager.Instance.TransactionTaskDone()", + "Engine": "IronPython2", + "EngineName": "IronPython2", + "VariableInputPorts": true, + "Id": "3f6b22e9c8c54dd9a237675ede814374", + "NodeType": "PythonScriptNode", + "Inputs": [ + { + "Id": "7f7b28a903614b848aeb7939016e0a3b", + "Name": "IN[0]", + "Description": "Input #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8508bbf887c640b78e11210051bd658b", + "Name": "OUT", + "Description": "Result of the python script", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Führt ein eingebettetes Python-Skript aus." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", + "Parameter": { + "Name": "element", + "TypeName": "var", + "TypeRank": -1, + "DefaultValue": null, + "Description": "" + }, + "Id": "70f60e859fc74566901fba24a86313c9", + "NodeType": "InputNode", + "Inputs": [], + "Outputs": [ + { + "Id": "88cea336fa9e4549abb11602524c8521", + "Name": "", + "Description": "Symbol", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "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" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", + "ElementResolver": null, + "Symbol": "element", + "Id": "3e764157e5724b5a8cc7a08497954383", + "NodeType": "OutputNode", + "Inputs": [ + { + "Id": "fce0d3fbeaa04a7080c0e4e6dccb3bc1", + "Name": "", + "Description": "", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [], + "Replication": "Disabled", + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", + "ElementResolver": null, + "Symbol": "success", + "Id": "177f02dcbe0f4ad5af2b9c801ee971bb", + "NodeType": "OutputNode", + "Inputs": [ + { + "Id": "8c44b5d56ddc472d84fa0ce021ddfc09", + "Name": "", + "Description": "", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [], + "Replication": "Disabled", + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" + } + ], + "Connectors": [ + { + "Start": "2331f203eba34629bb56910dc0eb9b37", + "End": "8c44b5d56ddc472d84fa0ce021ddfc09", + "Id": "ada4d8788b2d4bacb746fae03ebd81da", + "IsHidden": "False" + }, + { + "Start": "c64b2fe213e94b34986186e42fc50323", + "End": "fce0d3fbeaa04a7080c0e4e6dccb3bc1", + "Id": "7ca80edf822b438699c90839cab9b705", + "IsHidden": "False" + }, + { + "Start": "8508bbf887c640b78e11210051bd658b", + "End": "40df5631adcd4c61a7ee4ddc8c09cc4b", + "Id": "32c47d96dac7417c8c12cc0ba5a7f36d", + "IsHidden": "False" + }, + { + "Start": "8508bbf887c640b78e11210051bd658b", + "End": "d79124100d5543099fd2e8764bc3ec7b", + "Id": "48b9c5f1442b4903b7eee3884163ccb4", + "IsHidden": "False" + }, + { + "Start": "88cea336fa9e4549abb11602524c8521", + "End": "7f7b28a903614b848aeb7939016e0a3b", + "Id": "81871803172f4ce4a3999fc2c2c2e1e9", + "IsHidden": "False" + } + ], + "Dependencies": [], + "NodeLibraryDependencies": [], + "Author": "None provided", + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": false, + "IsVisibleInDynamoLibrary": true, + "Version": "2.19.3.6394", + "RunType": "Manual", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "_Hintergrundvorschau", + "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 + }, + "ConnectorPins": [], + "NodeViews": [ + { + "Id": "6f21d07906584fbb8ad00e5e3cea879d", + "Name": "List.LastItem", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 831.42225519287911, + "Y": 466.66478050573608 + }, + { + "Id": "b80fb701295a42a0b3da4ee20af77cee", + "Name": "List.FirstItem", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 831.42225519287911, + "Y": 318.664780505736 + }, + { + "Id": "3f6b22e9c8c54dd9a237675ede814374", + "Name": "Python Script", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 557.02225519287913, + "Y": 392.664780505736 + }, + { + "Id": "70f60e859fc74566901fba24a86313c9", + "Name": "Input", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 222.62225519287915, + "Y": 392.664780505736 + }, + { + "Id": "3e764157e5724b5a8cc7a08497954383", + "Name": "Output", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1107.4222551928792, + "Y": 318.664780505736 + }, + { + "Id": "177f02dcbe0f4ad5af2b9c801ee971bb", + "Name": "Output", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "ShowGeometry": true, + "X": 1107.4222551928792, + "Y": 466.664780505736 + } + ], + "Annotations": [], + "X": 218.7050000000001, + "Y": -43.214999999999918, + "Zoom": 0.8425 + } +} \ No newline at end of file diff --git a/nodes/2.x/Floor.ResetSlabShape.dyf b/nodes/2.x/Floor.ResetSlabShape.dyf deleted file mode 100644 index 5b9dedf9..00000000 --- a/nodes/2.x/Floor.ResetSlabShape.dyf +++ /dev/null @@ -1,216 +0,0 @@ -{ - "Uuid": "9397b95e-5c86-43b3-b852-eb5176829d2e", - "IsCustomNode": true, - "Category": "Clockwork.Revit.Elements.Actions", - "Description": "Resets the slabshape of a floor", - "Name": "Floor.ResetSlabShape", - "ElementResolver": { - "ResolutionMap": { - "Floor": { - "Key": "Revit.Elements.Floor", - "Value": "RevitNodes.dll" - } - } - }, - "Inputs": [], - "Outputs": [], - "Nodes": [ - { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", - "FunctionSignature": "1897bf8b-8893-4f0e-8548-2f7adad9609c", - "FunctionType": "Graph", - "NodeType": "FunctionNode", - "Id": "871b302eab5e4f31836a106d17da696a", - "Inputs": [ - { - "Id": "f9082d18e9794f3b81b047ddbf7027c6", - "Name": "roof", - "Description": "Input #1", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "436984985185491dbfa8286a46c75213", - "Name": "roof", - "Description": "Output #1", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "6912338c6d20456eb211194b54ae225d", - "Name": "success", - "Description": "Output #2", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Replication": "Auto", - "Description": "Resets the slabshape of a roof" - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", - "NodeType": "InputNode", - "Parameter": { - "Name": "floor", - "TypeName": "Revit.Elements.Floor", - "TypeRank": -1, - "DefaultValue": null, - "Description": "" - }, - "Id": "3f136315881948e692ef567344460e49", - "Inputs": [], - "Outputs": [ - { - "Id": "93c99a4b7d754f36a96f89ee34e2c40f", - "Name": "", - "Description": "Symbol", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "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" - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", - "NodeType": "OutputNode", - "ElementResolver": null, - "Symbol": "floor", - "Id": "974e3604375647219400c88c40c99b04", - "Inputs": [ - { - "Id": "a3757cbbea014dc79fc94ee061007097", - "Name": "", - "Description": "", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [], - "Replication": "Disabled", - "Description": "A function output, use with custom nodes" - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", - "NodeType": "OutputNode", - "ElementResolver": null, - "Symbol": "success", - "Id": "84efbda32538438c817a28f0faeb5d56", - "Inputs": [ - { - "Id": "d651211e07bc4398bde0891d5c35ceac", - "Name": "", - "Description": "", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [], - "Replication": "Disabled", - "Description": "A function output, use with custom nodes" - } - ], - "Connectors": [ - { - "Start": "436984985185491dbfa8286a46c75213", - "End": "a3757cbbea014dc79fc94ee061007097", - "Id": "6488c4656c8849fabbe863b69ce04c74" - }, - { - "Start": "6912338c6d20456eb211194b54ae225d", - "End": "d651211e07bc4398bde0891d5c35ceac", - "Id": "857c73d78fa54ab285a22887e67fb614" - }, - { - "Start": "93c99a4b7d754f36a96f89ee34e2c40f", - "End": "f9082d18e9794f3b81b047ddbf7027c6", - "Id": "43caf0adaab64a1ba81ee64e6e43b575" - } - ], - "Dependencies": [ - "1897bf8b-8893-4f0e-8548-2f7adad9609c" - ], - "Bindings": [], - "View": { - "Dynamo": { - "ScaleFactor": 1.0, - "HasRunWithoutCrash": false, - "IsVisibleInDynamoLibrary": true, - "Version": "2.0.1.5055", - "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": [ - { - "Id": "871b302eab5e4f31836a106d17da696a", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "Roof.ResetSlabShape", - "ShowGeometry": true, - "Excluded": false, - "X": 256.0, - "Y": 62.0 - }, - { - "Id": "3f136315881948e692ef567344460e49", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, - "Excluded": false, - "X": -31.0, - "Y": 62.0 - }, - { - "Id": "974e3604375647219400c88c40c99b04", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, - "Excluded": false, - "X": 546.0, - "Y": 33.0 - }, - { - "Id": "84efbda32538438c817a28f0faeb5d56", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, - "Excluded": false, - "X": 546.0, - "Y": 117.0 - } - ], - "Annotations": [], - "X": 233.0, - "Y": 209.0, - "Zoom": 1.0 - } -} \ No newline at end of file diff --git a/nodes/2.x/Roof.ResetSlabShape.dyf b/nodes/2.x/Roof.ResetSlabShape.dyf deleted file mode 100644 index 5b300beb..00000000 --- a/nodes/2.x/Roof.ResetSlabShape.dyf +++ /dev/null @@ -1,459 +0,0 @@ -{ - "Uuid": "1897bf8b-8893-4f0e-8548-2f7adad9609c", - "IsCustomNode": true, - "Category": "Clockwork.Revit.Elements.Actions", - "Description": "Resets the slabshape of a roof", - "Name": "Roof.ResetSlabShape", - "ElementResolver": { - "ResolutionMap": {} - }, - "Inputs": [], - "Outputs": [], - "Nodes": [ - { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", - "FunctionSignature": "44ac4888-4aa4-49a9-9344-23b729c11df9", - "FunctionType": "Graph", - "NodeType": "FunctionNode", - "Id": "affd73f45ff2447a8938f4ee67470058", - "Inputs": [ - { - "Id": "9fa5dabe084c446690abd831d16fd94a", - "Name": "unknownItem", - "Description": "var[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "6e7fea54d89d4017ac5c2b408df2aaa2", - "Name": "seq", - "Description": "var[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "5ecb9779f0cb472580cd7964a872f770", - "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.ZeroTouch.DSFunction, DynamoCore", - "NodeType": "FunctionNode", - "FunctionSignature": "DSCore.List.LastItem@var[]..[]", - "Id": "6f21d07906584fbb8ad00e5e3cea879d", - "Inputs": [ - { - "Id": "d79124100d5543099fd2e8764bc3ec7b", - "Name": "list", - "Description": "List to get the last item of.\n\nvar[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "2331f203eba34629bb56910dc0eb9b37", - "Name": "last", - "Description": "Last item in the list.", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Replication": "Auto", - "Description": "Retrieves the last item in a list.\n\nList.LastItem (list: var[]..[]): var[]..[]" - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", - "FunctionSignature": "44ac4888-4aa4-49a9-9344-23b729c11df9", - "FunctionType": "Graph", - "NodeType": "FunctionNode", - "Id": "758d2607977f46f18b7f0d8372733586", - "Inputs": [ - { - "Id": "c34425b2cb2f4678ab3ead1ac130f89f", - "Name": "unknownItem", - "Description": "var[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - }, - { - "Id": "ca2064fb236d4a52b6b617f991672ff3", - "Name": "seq", - "Description": "var[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "0d383379ed7e492a83f9b23e19d44296", - "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.ZeroTouch.DSFunction, DynamoCore", - "NodeType": "FunctionNode", - "FunctionSignature": "DSCore.List.FirstItem@var[]..[]", - "Id": "b80fb701295a42a0b3da4ee20af77cee", - "Inputs": [ - { - "Id": "40df5631adcd4c61a7ee4ddc8c09cc4b", - "Name": "list", - "Description": "List to get the first item from.\n\nvar[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "c64b2fe213e94b34986186e42fc50323", - "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": "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.GeometryConversion)\r\n\r\nclr.AddReference(\"RevitServices\")\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\nfrom RevitServices.Transactions import TransactionManager\r\n\r\ndoc = DocumentManager.Instance.CurrentDBDocument\r\nslabs = UnwrapElement(IN[0])\r\nsuccess = []\r\n\r\nTransactionManager.Instance.EnsureInTransaction(doc)\r\nfor slab in slabs:\r\n\tobjtype = slab.GetType().ToString()\r\n\tif objtype == \"Autodesk.Revit.DB.FootPrintRoof\" or objtype == \"Autodesk.Revit.DB.Floor\":\r\n\t\ttry:\r\n\t\t\tslab.SlabShapeEditor.ResetSlabShape()\r\n\t\t\tsuccess.append(True)\r\n\t\texcept: success.append(False)\r\n\telse: success.append(False)\r\nTransactionManager.Instance.TransactionTaskDone()\r\n\r\nOUT = (slabs, success)", - "VariableInputPorts": true, - "Id": "3f6b22e9c8c54dd9a237675ede814374", - "Inputs": [ - { - "Id": "7f7b28a903614b848aeb7939016e0a3b", - "Name": "IN[0]", - "Description": "Input #0", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "8508bbf887c640b78e11210051bd658b", - "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": "9898e48cc94345958637d37a3eb5a9e7", - "Inputs": [ - { - "Id": "77eef9bbe9fa4f7fbdd88038e6778852", - "Name": "unknownItem", - "Description": "var[]..[]", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [ - { - "Id": "42e9e17bdba34fb4bd0cf88eb1e22fba", - "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": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", - "NodeType": "InputNode", - "Parameter": { - "Name": "roof", - "TypeName": "var", - "TypeRank": -1, - "DefaultValue": null, - "Description": "" - }, - "Id": "70f60e859fc74566901fba24a86313c9", - "Inputs": [], - "Outputs": [ - { - "Id": "88cea336fa9e4549abb11602524c8521", - "Name": "", - "Description": "Symbol", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "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" - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", - "NodeType": "OutputNode", - "ElementResolver": null, - "Symbol": "roof", - "Id": "3e764157e5724b5a8cc7a08497954383", - "Inputs": [ - { - "Id": "fce0d3fbeaa04a7080c0e4e6dccb3bc1", - "Name": "", - "Description": "", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [], - "Replication": "Disabled", - "Description": "A function output, use with custom nodes" - }, - { - "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", - "NodeType": "OutputNode", - "ElementResolver": null, - "Symbol": "success", - "Id": "177f02dcbe0f4ad5af2b9c801ee971bb", - "Inputs": [ - { - "Id": "8c44b5d56ddc472d84fa0ce021ddfc09", - "Name": "", - "Description": "", - "UsingDefaultValue": false, - "Level": 2, - "UseLevels": false, - "KeepListStructure": false - } - ], - "Outputs": [], - "Replication": "Disabled", - "Description": "A function output, use with custom nodes" - } - ], - "Connectors": [ - { - "Start": "5ecb9779f0cb472580cd7964a872f770", - "End": "8c44b5d56ddc472d84fa0ce021ddfc09", - "Id": "2e5bc23a319448eda6fec22c1696b6bf" - }, - { - "Start": "2331f203eba34629bb56910dc0eb9b37", - "End": "6e7fea54d89d4017ac5c2b408df2aaa2", - "Id": "27d4ed445bed4393b06d7731cdf1c8ce" - }, - { - "Start": "0d383379ed7e492a83f9b23e19d44296", - "End": "fce0d3fbeaa04a7080c0e4e6dccb3bc1", - "Id": "e8e7b727aca24f49b191485411d24f03" - }, - { - "Start": "c64b2fe213e94b34986186e42fc50323", - "End": "ca2064fb236d4a52b6b617f991672ff3", - "Id": "2f7e331842b74637acbc1b7a503ece4b" - }, - { - "Start": "8508bbf887c640b78e11210051bd658b", - "End": "40df5631adcd4c61a7ee4ddc8c09cc4b", - "Id": "32c47d96dac7417c8c12cc0ba5a7f36d" - }, - { - "Start": "8508bbf887c640b78e11210051bd658b", - "End": "d79124100d5543099fd2e8764bc3ec7b", - "Id": "48b9c5f1442b4903b7eee3884163ccb4" - }, - { - "Start": "42e9e17bdba34fb4bd0cf88eb1e22fba", - "End": "7f7b28a903614b848aeb7939016e0a3b", - "Id": "beece869740f484694bd4b113a2849b7" - }, - { - "Start": "88cea336fa9e4549abb11602524c8521", - "End": "9fa5dabe084c446690abd831d16fd94a", - "Id": "2bd8e6567cfa4a17821407019ea1e1c3" - }, - { - "Start": "88cea336fa9e4549abb11602524c8521", - "End": "c34425b2cb2f4678ab3ead1ac130f89f", - "Id": "9ec9da2839dc4bddb38f8ecd3622dbe2" - }, - { - "Start": "88cea336fa9e4549abb11602524c8521", - "End": "77eef9bbe9fa4f7fbdd88038e6778852", - "Id": "9782761523674ba5b77302f7d5d5c938" - } - ], - "Dependencies": [ - "44ac4888-4aa4-49a9-9344-23b729c11df9", - "cd09ad33-8c34-4850-ac26-24448d92c38f" - ], - "Bindings": [], - "View": { - "Dynamo": { - "ScaleFactor": 1.0, - "HasRunWithoutCrash": false, - "IsVisibleInDynamoLibrary": true, - "Version": "2.0.1.5055", - "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": [ - { - "Id": "affd73f45ff2447a8938f4ee67470058", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "ReturnListOrSingleValue", - "ShowGeometry": true, - "Excluded": false, - "X": 1046.52225519288, - "Y": 434.164780505736 - }, - { - "Id": "6f21d07906584fbb8ad00e5e3cea879d", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "List.LastItem", - "ShowGeometry": true, - "Excluded": false, - "X": 783.522255192878, - "Y": 460.164780505736 - }, - { - "Id": "758d2607977f46f18b7f0d8372733586", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "ReturnListOrSingleValue", - "ShowGeometry": true, - "Excluded": false, - "X": 1046.52225519288, - "Y": 300.164780505736 - }, - { - "Id": "b80fb701295a42a0b3da4ee20af77cee", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "List.FirstItem", - "ShowGeometry": true, - "Excluded": false, - "X": 783.522255192878, - "Y": 326.164780505736 - }, - { - "Id": "3f6b22e9c8c54dd9a237675ede814374", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "Python Script", - "ShowGeometry": true, - "Excluded": false, - "X": 559.522255192878, - "Y": 393.164780505736 - }, - { - "Id": "9898e48cc94345958637d37a3eb5a9e7", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "TurnIntoList", - "ShowGeometry": true, - "Excluded": false, - "X": 235.522255192878, - "Y": 393.164780505736 - }, - { - "Id": "70f60e859fc74566901fba24a86313c9", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, - "Excluded": false, - "X": -26.4777448071217, - "Y": 393.164780505736 - }, - { - "Id": "3e764157e5724b5a8cc7a08497954383", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, - "Excluded": false, - "X": 1356.52225519288, - "Y": 325.164780505736 - }, - { - "Id": "177f02dcbe0f4ad5af2b9c801ee971bb", - "IsSetAsInput": false, - "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, - "Excluded": false, - "X": 1356.52225519288, - "Y": 409.164780505736 - } - ], - "Annotations": [], - "X": 118.705, - "Y": 62.385, - "Zoom": 0.8425 - } -} \ No newline at end of file