From 5904a00867044bc8ba6706ab04ceab07dcc42b3d Mon Sep 17 00:00:00 2001 From: infeeeee Date: Mon, 22 Apr 2019 00:27:03 +0200 Subject: [PATCH] Added and finished building-pad-from-elements --- .gitignore | 1 + .../1.x/BuldingPadsFromElements.dyn | 201 ++ .../2.x/BuldingPadsFromElements.dyn | 2619 +++++++++++++++++ building-pad-from-elements/readme.md | 11 + 4 files changed, 2832 insertions(+) create mode 100644 .gitignore create mode 100644 building-pad-from-elements/1.x/BuldingPadsFromElements.dyn create mode 100644 building-pad-from-elements/2.x/BuldingPadsFromElements.dyn create mode 100644 building-pad-from-elements/readme.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ec76ec2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +backup diff --git a/building-pad-from-elements/1.x/BuldingPadsFromElements.dyn b/building-pad-from-elements/1.x/BuldingPadsFromElements.dyn new file mode 100644 index 0000000..6412c41 --- /dev/null +++ b/building-pad-from-elements/1.x/BuldingPadsFromElements.dyn @@ -0,0 +1,201 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + True + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/building-pad-from-elements/2.x/BuldingPadsFromElements.dyn b/building-pad-from-elements/2.x/BuldingPadsFromElements.dyn new file mode 100644 index 0000000..f8dbfbf --- /dev/null +++ b/building-pad-from-elements/2.x/BuldingPadsFromElements.dyn @@ -0,0 +1,2619 @@ +{ + "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", + "IsCustomNode": false, + "Description": "", + "Name": "BuldingPadsFromElements", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [ + { + "Id": "655ee0be2e3a4e499f93e3024b43dc49", + "Name": "Boolean", + "Type": "boolean", + "Value": "true", + "Description": "Selection between a true and false." + } + ], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", + "FunctionSignature": "9fbd05c0-ec1f-4bd3-bf37-969a1552eab8", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "77dc583a535d417ab7741d2b93fd6c61", + "Inputs": [ + { + "Id": "b93d5bb9dbe14092b2d43466c762f281", + "Name": "Description_optional", + "Description": "string\nDefault value : \"\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "184e26373b02472396442288660b9af7", + "Name": "Logo_optional", + "Description": "var\nDefault value : \"\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "5559c09d53ec42ef92b3c2ce5b5d573b", + "Name": "ButtonText_optional", + "Description": "string\nDefault value : \"Set Values\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "56cae99c79c74eed973c629c730d525f", + "Name": "Inputs", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "f15edf557ec44beb92074675e1db1dcf", + "Name": "Toggle", + "Description": "bool\nDefault value : false", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "dddd87c0298b4a3ab894a8e2a68370fe", + "Name": "LinkToHelp_optional", + "Description": "string\nDefault value : null", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "6866b2bf07254fe2a6ea1f89342dbdd1", + "Name": "CancelButtonText_optional", + "Description": " Cancel button will only be displayed if a label text is entered here\n\nstring\nDefault value : null", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "58e69886a5a34518b5175ba805a624c6", + "Name": "MaxHeight_optional", + "Description": "int\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "2787aead36de42c3b639e929013b86ff", + "Name": "Width_optional", + "Description": "int\nDefault value : 350", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "7d27f3b374e448efb81c7ae99fe871af", + "Name": "User Inputs", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "7df6e6cb6ee642f5a6dfe4141c8cfcc3", + "Name": "Was Run ", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9c429c5aa9b64c4692ac34380c280f58", + "Name": "Was Cancelled", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Create a form with multiple inputs. \r\nsee www.data-shapes.net for tutorials and infos!" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Revit.Elements.Element.Faces", + "Id": "7e60408a95a444b99fbedcc18b37d9fe", + "Inputs": [ + { + "Id": "45a5cbc8204e4de5b950cfac8304c2c0", + "Name": "element", + "Description": "Revit.Elements.Element", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "17e2b15bf2eb4fe18fed42e72706dd91", + "Name": "Surface[]", + "Description": "Surface[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "The Faces in this Element\n\nElement.Faces: Surface[]" + }, + { + "ConcreteType": "CoreNodeModels.Input.BoolSelector, CoreNodeModels", + "NodeType": "BooleanInputNode", + "InputValue": true, + "Id": "655ee0be2e3a4e499f93e3024b43dc49", + "Inputs": [], + "Outputs": [ + { + "Id": "d31ae52a8e214950be0a4d95f590122c", + "Name": "", + "Description": "Boolean", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Selection between a true and false." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.NormalAtParameter@double,double", + "Id": "41b2b2f6d1f2424381125e2395d344d6", + "Inputs": [ + { + "Id": "91631e4003914b7d8d47f403e5032203", + "Name": "surface", + "Description": "Autodesk.DesignScript.Geometry.Surface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "9dd7600cd7854d1ca7576db903b043cb", + "Name": "u", + "Description": "double\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "6ec165cc36c34aaf9b14dd1d88030901", + "Name": "v", + "Description": "double\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "90d97c4418234ef891eabe56af1c0d9f", + "Name": "Vector", + "Description": "Vector", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Return the normal Vector at specified U and V parameters.\n\nSurface.NormalAtParameter (u: double = 0, v: double = 0): Vector" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "0.5;", + "Id": "134cc7afcf3f42ab8a9a232adbdf6997", + "Inputs": [], + "Outputs": [ + { + "Id": "1651a5ffdc1d48ebb6a7a6f673cd94cc", + "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": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "a.Z;", + "Id": "1538e28b987e499d92acc9143d1d70c1", + "Inputs": [ + { + "Id": "eac6a3d15c9a4675b0e2dab1cdcb5553", + "Name": "a", + "Description": "a", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d3544c8ebfd8459ab7adc1ef7a1942f8", + "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": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.List.AllIndicesOf@var[]..[],var", + "Id": "639bbf609839479a972f53f7a676814b", + "Inputs": [ + { + "Id": "0a14af41df5d415d8fe5b506c40ecb71", + "Name": "list", + "Description": "List to search in. If this argument is null, an empty list is returned.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": true, + "KeepListStructure": false + }, + { + "Id": "4dbc5b59d9f448df8bdd704dd35b9047", + "Name": "item", + "Description": "Item to look for.\n\nvar", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "4ec01a85e146463aad3bb4c123795fa5", + "Name": "var[]..[]", + "Description": "A list of zero-based indices of all occurrences of the item if found, or an empty list if the item does not exist in the list.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Given an item, returns the zero-based indices of all its occurrences in the list. If the item cannot be found, an empty list is returned.\n\nList.AllIndicesOf (list: var[]..[], item: var): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "-1.000;", + "Id": "d76a855490374b2c89214cba982614e0", + "Inputs": [], + "Outputs": [ + { + "Id": "124dae50cf1148ec8b1024279e6cac28", + "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": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.List.GetItemAtIndex@var[]..[],int", + "Id": "d6f9162925c44020a5ee0eb7c5ec2719", + "Inputs": [ + { + "Id": "b00bb4c263a14d778fd624dd817f584c", + "Name": "list", + "Description": "List to fetch an item from.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": true, + "KeepListStructure": false + }, + { + "Id": "38a22dc7e4ec42d294ca032647086404", + "Name": "index", + "Description": "Index of the item to be fetched.\n\nint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": true, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "7ce5949d827946fd9b48f35299e45c37", + "Name": "item", + "Description": "Item in the list at the given index.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Returns an item from the given list that's located at the specified index.\n\nList.GetItemAtIndex (list: var[]..[], index: int): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.PerimeterCurves", + "Id": "7204d11b8d9a4c42945b2936e131f345", + "Inputs": [ + { + "Id": "65c33d5b580d47e19a51e072fd4534ef", + "Name": "surface", + "Description": "Autodesk.DesignScript.Geometry.Surface", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "a54190437ec0483aa5ad62915fabe9dd", + "Name": "Curve[]", + "Description": "Curve[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Return all the boundary Curves of the Surface.\n\nSurface.PerimeterCurves ( ): Curve[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", + "FunctionSignature": "b409775c-5d88-4d47-96a3-5135c775d26a", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "799e275b606f47379b61b0e557ad68fa", + "Inputs": [ + { + "Id": "d2c7c3ede6024734b10a168589f796c0", + "Name": "InputName", + "Description": "string\nDefault value : \"\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "ad2eacf0885147f68e578fdc57c2740b", + "Name": "Keys : []: var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "f110a5801b584e5aabef57228e10b678", + "Name": "Values : []: var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "39b99a7737224593b1ee3be5a5d599ea", + "Name": "DefaultValueIndex", + "Description": "int\nDefault value : null", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "0b1b94d9e20f43ad8b38fda0c8b853f5", + "Name": "Sorted_optional", + "Description": "bool\nDefault value : true", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "3ccd4b334cec47fc8b2ffa6d1a65fd04", + "Name": "DropDown input", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Create data for DropDown input in UI.MultiInputForm ++ . Check out www.data-shapes.net for more infos." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "\"Select level\";\n0;", + "Id": "cd941c91665a48bea6b6c245a46a2c94", + "Inputs": [], + "Outputs": [ + { + "Id": "461c3d0b267c496297c8d0172dfaaeac", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "b6ed0811033f43e5aec8086e76ee5a55", + "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": "Revit.Elements.Level.Name", + "Id": "8ee013257cd3438aa074efc7f4ff3b95", + "Inputs": [ + { + "Id": "e125fe6fcfb64eb3bb18b7e4b422eaac", + "Name": "level", + "Description": "Revit.Elements.Level", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "10bd4c5c44f34f49ba0dff3c6b86f31e", + "Name": "string", + "Description": "string", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "The name of the level\n\nLevel.Name: string" + }, + { + "ConcreteType": "DSRevitNodesUI.ElementsOfCategory, DSRevitNodesUI", + "NodeType": "ExtensionNode", + "Id": "828ac4c718d64c6db09ceb03bc559c6e", + "Inputs": [ + { + "Id": "d890932b0ab24944b8d664d72670e5e8", + "Name": "Category", + "Description": "The Category", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "1f78234d90a34730b6ada080a04253f2", + "Name": "Elements", + "Description": "An element type.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Get all elements of the specified category from the model." + }, + { + "ConcreteType": "DSRevitNodesUI.Categories, DSRevitNodesUI", + "SelectedIndex": 248, + "NodeType": "ExtensionNode", + "Id": "1600f9179b3b46abba245ee656593771", + "Inputs": [], + "Outputs": [ + { + "Id": "d21d93f7d5be49e1a376b6480532b81b", + "Name": "Category", + "Description": "The selected Category.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All built-in categories." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "//Level:\na[0];\n//Linked:\na[1];\n//Model:\na[2];\n//Pad type:\na[3];", + "Id": "895c3fc166664a1f914d9e28f15ffe0a", + "Inputs": [ + { + "Id": "192f1e165b5a416cb1946664ad17c74d", + "Name": "a", + "Description": "a", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ea352088b44c40879c4511ef5aeff464", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "a09140d16b9c4f6ea159fc4bc66deffc", + "Name": "", + "Description": "Value of expression at line 4", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "e870d5439bec436fb325413b17ce33ea", + "Name": "", + "Description": "Value of expression at line 6", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "51e224ef559e4830b40e011185da7599", + "Name": "", + "Description": "Value of expression at line 8", + "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": "cab8413ceaab4f6a91b5b201ebcdaf38", + "Inputs": [ + { + "Id": "35c32423733b46129f8273e71d67e54f", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "143390b2257b4b778c3a0fcdfeaac2a2", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "6745450ca7ea4ef28d749f00c09cff06", + "Name": "item2", + "Description": "Item Index #2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "a8bc1caf119e42c087f30631741b85fa", + "Name": "item3", + "Description": "Item Index #3", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "49f30db2ac154b4b8d8e1bd3b9251304", + "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.CustomNodes.Function, DynamoCore", + "FunctionSignature": "74c13cd2-5b9a-494f-beac-ea71fec14b56", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "7e8ce2413b244eaeb26816cfe263f262", + "Inputs": [ + { + "Id": "1d2ea70c91d94f5da63b74148c478ef0", + "Name": "InputName", + "Description": "string\nDefault value : \"\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "54184d66be16457e8a8c344882fa35a9", + "Name": "ButtonText", + "Description": "string\nDefault value : \"Select Linked Element(s)\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "e1c6661a4a1c4e4f9aa4dacf309a7879", + "Name": "SelectSingleElement", + "Description": "bool\nDefault value : false", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "a2faa3ca7f9e4b04bf5ed9a03df5238a", + "Name": "SelectLinkedElements input", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Create a button input for UI.MultipleInputForm++ that allows to select elements in à linked document. See www.data-shapes.net for more infos!" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "\"Create pads!\";\n\"Cancel\";", + "Id": "defb5871b14b4a2695a08cd3ff1598fe", + "Inputs": [], + "Outputs": [ + { + "Id": "8590291888f6430f86a03a14df2bc2e0", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "96d3b8eec8ee4fba8b546b84546329dc", + "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.CustomNodes.Function, DynamoCore", + "FunctionSignature": "7804e3b4-a95a-4ca5-a391-fd9d10566b40", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "0e060934a8364df8a3689f3cc9eaaac6", + "Inputs": [ + { + "Id": "123a817777b54f58944c85af39ff3313", + "Name": "InputName", + "Description": "string\nDefault value : \"\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "7b1cccb2e7aa4d75876e18c03c8aab78", + "Name": "ButtonText", + "Description": "string\nDefault value : \"Select Model Element(s)\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "47b36124b04149eebe472ba5ad70fe02", + "Name": "CategoryFilter", + "Description": "var[]\nDefault value : \"\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "52966e289c9c4c3bb1b858168aee6303", + "Name": "SelectSingleElement", + "Description": "bool\nDefault value : false", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "303c29b0cf77419ab0f9f90b848acbde", + "Name": "SelectModelElements input", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Creates a Revit element selection input for UI.MultipleInputForm++ . Check out www.data-shapes.net for more infos!" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "NodeType": "ExtensionNode", + "Id": "9e8c2b7375d143feb6c7ba036649b563", + "Inputs": [ + { + "Id": "dc820b29f294467c85eb74ee1d8eaf9a", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "f7293432eb2f4134a95dd89976827314", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "689462451ba6403cbb4f570913dbc333", + "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.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.List.Flatten@var[]..[],int", + "Id": "caad7a98155a45338a059f0fdba2477c", + "Inputs": [ + { + "Id": "129a9941df6241d9b022f324435a8f3c", + "Name": "list", + "Description": "List to flatten.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "0a48d7a8e34b46c79119c47b43593050", + "Name": "amt", + "Description": "Layers of nesting to remove.\n\nint\nDefault value : -1 (disabled)", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d42a38968f8147a092b976667383b842", + "Name": "var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Flattens a nested list of lists by a certain amount.\n\nList.Flatten (list: var[]..[], amt: int = -1): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "1;", + "Id": "434554c747464026aeefc926957ea844", + "Inputs": [], + "Outputs": [ + { + "Id": "06f30bb053a54061bf9232eda1cec06e", + "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": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.List.Clean@var[]..[],bool", + "Id": "f80a35be018a466c8b329a0d7ffc4ddc", + "Inputs": [ + { + "Id": "d8d405edaa704efda48c82a7ee4c83df", + "Name": "list", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "835168f93b4449a0968d8ae804e42cb0", + "Name": "preserveIndices", + "Description": "Provide an option to preserve the indices of the data such that non-trailing nulls may not be filtered out\n\nbool\nDefault value : true", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "76d750ccbfc54912a46f94a5bbb940fe", + "Name": "var[]..[]", + "Description": "A list cleaned of nulls and empty lists", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Cleans data of nulls and empty lists from a given list of arbitrary dimension\n\nList.Clean (list: var[]..[], preserveIndices: bool = true): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.List.Clean@var[]..[],bool", + "Id": "360d13276d954277a788932c3c9f351f", + "Inputs": [ + { + "Id": "3a0c1fe86021447d8e1c048934fe5c35", + "Name": "list", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "6494952772f649dbbacedf539b725e14", + "Name": "preserveIndices", + "Description": "Provide an option to preserve the indices of the data such that non-trailing nulls may not be filtered out\n\nbool\nDefault value : true", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "1ab68902e7814aa4b41bbfc8e76fb30f", + "Name": "var[]..[]", + "Description": "A list cleaned of nulls and empty lists", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Cleans data of nulls and empty lists from a given list of arbitrary dimension\n\nList.Clean (list: var[]..[], preserveIndices: bool = true): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "false;", + "Id": "c67cf168c7c840fe89c139477885689c", + "Inputs": [], + "Outputs": [ + { + "Id": "66144bd12b6341d3a3468b93a75b1737", + "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": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "false;", + "Id": "61399cad08c242569cd6b0532de93a96", + "Inputs": [], + "Outputs": [ + { + "Id": "a52d68ba87e34d8686ca379a95b74a4e", + "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": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.List.Flatten@var[]..[],int", + "Id": "13d669245075482784a3e87d2e185f6e", + "Inputs": [ + { + "Id": "8f85fcbab49c47fa81f6f4e2551bdad7", + "Name": "list", + "Description": "List to flatten.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "263311ed9ac04da583f7b84a00dfc274", + "Name": "amt", + "Description": "Layers of nesting to remove.\n\nint\nDefault value : -1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "2cb12ca93087458eb23cf780256abc2a", + "Name": "var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Flattens a nested list of lists by a certain amount.\n\nList.Flatten (list: var[]..[], amt: int = -1): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "1;", + "Id": "a07abdf2dfb24234927579978de0f545", + "Inputs": [], + "Outputs": [ + { + "Id": "e4bd2d3c9add4015aa9fde8e1a703148", + "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": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Autodesk.DesignScript.Geometry.Curve.Join@Autodesk.DesignScript.Geometry.Curve[]", + "Id": "ba9519f7ff9542c8ad0764a53b1dbd49", + "Inputs": [ + { + "Id": "5d6f9ed02f4f4ff7afabaab61366e7c1", + "Name": "curve", + "Description": "Autodesk.DesignScript.Geometry.Curve", + "UsingDefaultValue": false, + "Level": 1, + "UseLevels": true, + "KeepListStructure": false + }, + { + "Id": "79d4d3dde94c43dbbb8ba11cc8a24f4f", + "Name": "curves", + "Description": "Curve[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": true, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5330fc18e998474fad69803a2531465e", + "Name": "PolyCurve", + "Description": "A PolyCurve made up of the two curves", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Join this curve and the input curve into a new PolyCurve, maintaining the original curves exactly.\n\nCurve.Join (curves: Curve[]): PolyCurve" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.List.FirstItem@var[]..[]", + "Id": "646a54f6d6bb401db3b44e2afe1838e7", + "Inputs": [ + { + "Id": "a0a37347c1864d9ba61745e394b25992", + "Name": "list", + "Description": "List to get the first item from.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": true, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d13665756a114d90b07260224cc1015d", + "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.RestOfItems@var[]..[]", + "Id": "8d3dee4ae4fd4361ac7f88812e694c37", + "Inputs": [ + { + "Id": "fbd3e95057224a30b96a673ec14215c0", + "Name": "list", + "Description": "List to get the rest of.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": true, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "f309eeb7a09b4ec08b23930cb53f811a", + "Name": "rest", + "Description": "Rest of the list.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Removes the first item from the given list.\n\nList.RestOfItems (list: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels", + "NodeType": "PythonScriptNode", + "Code": "import clr\r\n#Import Revit Services\r\nclr.AddReference (\"RevitServices\")\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\nfrom RevitServices.Transactions import TransactionManager\r\n#Import Revit API\r\nclr.AddReference('RevitAPI')\r\nfrom Autodesk.Revit.DB import *\r\nfrom Autodesk.Revit.DB.Architecture import *\r\nclr.AddReference('RevitAPIUI')\r\nfrom Autodesk.Revit.UI import *\r\n#Import Revit Node\r\nclr.AddReference('RevitNodes')\r\nimport Revit\r\nclr.ImportExtensions(Revit.GeometryConversion)\r\nclr.ImportExtensions(Revit.Elements)\r\n#Import Proto Geometry\r\nclr.AddReference('ProtoGeometry')\r\nfrom Autodesk.DesignScript.Geometry import *\r\n\r\nimport System\r\nfrom System.Collections.Generic import *\r\n\r\n#inputs\r\nlevel = UnwrapElement(IN[0])\r\npadType = UnwrapElement(IN[1])\r\ncurves = IN[2]\r\n\r\n#necessary ID's\r\nlevelId = level.Id\r\ntypeId = padType.Id\r\n\r\n#creating CurveLoop\r\nloop = []\r\nfor c in curves:\r\n\tloop.append(c.ToRevitType())\r\n\r\n#get the document\r\ndoc = DocumentManager.Instance.CurrentDBDocument\r\n\r\n#use safe transaction with Revit\r\nTransactionManager.Instance.EnsureInTransaction(doc)\r\n\r\n#creating pad\r\npad = []\r\nfor i in loop:\r\n\ttry:\r\n\t\tpad.append(BuildingPad.Create(doc,typeId,levelId,[i]))\r\n\texcept Exception, e:\r\n\t\tpad.append([Exception,e])\r\n\r\n#Finish transaction with task done\r\nTransactionManager.Instance.TransactionTaskDone()\r\n\r\nOUT = pad", + "VariableInputPorts": true, + "Id": "2a7a24d9686341dab59604382e072755", + "Inputs": [ + { + "Id": "079f144b21854b02a3b86a85cb505284", + "Name": "IN[0]", + "Description": "Input #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "156a85bcbf3049cfa9d03eab3a8b7e23", + "Name": "IN[1]", + "Description": "Input #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "ee989e91122e40f6af048c4639a79c42", + "Name": "IN[2]", + "Description": "Input #2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "39af7c9476c24f99bd4cc25954646229", + "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": "DSRevitNodesUI.ElementsOfType, DSRevitNodesUI", + "NodeType": "ExtensionNode", + "Id": "753a82ee3daf4f5886570c1d7cfb9e8b", + "Inputs": [ + { + "Id": "343e074e41b342d2a65034e420792751", + "Name": "element type", + "Description": "An element type.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "bcfdd83032534f1097efa3e87eb0c031", + "Name": "elements", + "Description": "All elements in the active document of a given type.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All elements in the active document of a given type." + }, + { + "ConcreteType": "DSRevitNodesUI.ElementTypes, DSRevitNodesUI", + "SelectedIndex": 33, + "NodeType": "ExtensionNode", + "Id": "2dabf406bddd4ee783f6dfbffa3c10af", + "Inputs": [], + "Outputs": [ + { + "Id": "dfc0d69b967e4dd88d550db93da50f23", + "Name": "Types", + "Description": "The selected Types", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All element subtypes." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Revit.Elements.Level.Name", + "Id": "2586a8fe19744de7bec26d254a43ddf9", + "Inputs": [ + { + "Id": "ca3da3e1deb847c4b4ba206dbf24693b", + "Name": "level", + "Description": "Revit.Elements.Level", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "6fdd44f589d84c94b0ea906e8f55ed3a", + "Name": "string", + "Description": "string", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "The name of the level\n\nLevel.Name: string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "\"Building pad type\";\n0;", + "Id": "560af09557814f1b917d0ee33d67e4d5", + "Inputs": [], + "Outputs": [ + { + "Id": "c1b195d295c1401e910d2c622f488f45", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "53f0972e39c84356b883176566c6d98a", + "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.CustomNodes.Function, DynamoCore", + "FunctionSignature": "b409775c-5d88-4d47-96a3-5135c775d26a", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "082d27f5f3e742b99a9f617409438aba", + "Inputs": [ + { + "Id": "8d9c436ce1e54e2c96aad762ae386e2f", + "Name": "InputName", + "Description": "string\nDefault value : \"\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "5ff77e8c28304a76bdd311ddde25954e", + "Name": "Keys : []: var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "d2ac590e4e41493d86e91f860ffee6cd", + "Name": "Values : []: var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "21f05a02ef3343ea945c989ae3f7cf2f", + "Name": "DefaultValueIndex", + "Description": "int\nDefault value : null", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "ac37af6cb1fc4fb2a6272f9971fbeb6b", + "Name": "Sorted_optional", + "Description": "bool\nDefault value : true", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5beba72fb1094f3a88ab5ee8fa6b6f0e", + "Name": "DropDown input", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Create data for DropDown input in UI.MultiInputForm ++ . Check out www.data-shapes.net for more infos." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Revit.Elements.Element.SetParameterByName@string,var", + "Id": "5e471f35bd47447b8316dbbdd62abc07", + "Inputs": [ + { + "Id": "8fbbaac6b9f1401f88b663d4ddabac29", + "Name": "element", + "Description": "Revit.Elements.Element", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "3cc371d6887f4e2b947916bd007cd67c", + "Name": "parameterName", + "Description": "The name of the parameter to set.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "fedefbccfb86479a99a0d543fee83982", + "Name": "value", + "Description": "The value.\n\nvar", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "3a38ac0baae74bbcaad7daa694820350", + "Name": "Element", + "Description": "Element", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Set one of the element's parameters.\n\nElement.SetParameterByName (parameterName: string, value: var): Element" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "\"Height Offset From Level\";", + "Id": "533b21cae6264cb699022ae5babecaf1", + "Inputs": [], + "Outputs": [ + { + "Id": "4f370ede11d64de886171854cba9afad", + "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": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Revit.Elements.Level.Elevation", + "Id": "0df69de6828848c5abe93dd9df38982b", + "Inputs": [ + { + "Id": "633e1c35fb9546dd93376052d9fa2c77", + "Name": "level", + "Description": "Revit.Elements.Level", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "33810f3289f64e04b9c99def58780de0", + "Name": "double", + "Description": "double", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "The elevation of the level above ground level\n\nLevel.Elevation: double" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "a.Z;", + "Id": "88e9511a5c784f988be50b64d320f0f0", + "Inputs": [ + { + "Id": "6ff2a89f747e48c886401ec3c7941efc", + "Name": "a", + "Description": "a", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "c718ec39205a4fd19e33b48d65cf247e", + "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": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "-@var[]..[],var[]..[]", + "Id": "fd12e4be38fc44d1ac41b4f8bbdef9a7", + "Inputs": [ + { + "Id": "8ce2109af6ae4db4908d3e4ac2bcc534", + "Name": "x", + "Description": "x value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8324a16f84114b5185f9ed9db3d0c096", + "Name": "y", + "Description": "y value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "b536947cf36f446c86a5fa6b34bdbdf6", + "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[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Autodesk.DesignScript.Geometry.Curve.EndPoint", + "Id": "5df7829c2578442798748dcba936bc3c", + "Inputs": [ + { + "Id": "1884caa712d8417490799c0b905a0366", + "Name": "curve", + "Description": "Autodesk.DesignScript.Geometry.Curve", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "aab47d009c644694a3181e7c08294ceb", + "Name": "Point", + "Description": "Point", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Get the end Point along the Curve\n\nCurve.EndPoint: Point" + } + ], + "Connectors": [ + { + "Start": "7d27f3b374e448efb81c7ae99fe871af", + "End": "192f1e165b5a416cb1946664ad17c74d", + "Id": "a6af2db14da046dab7c7d208552adf73" + }, + { + "Start": "17e2b15bf2eb4fe18fed42e72706dd91", + "End": "91631e4003914b7d8d47f403e5032203", + "Id": "01da1c7e32ec4f6aa3579109c871c7ae" + }, + { + "Start": "17e2b15bf2eb4fe18fed42e72706dd91", + "End": "b00bb4c263a14d778fd624dd817f584c", + "Id": "8bf31189094f41abab39ea69bfbf93ce" + }, + { + "Start": "d31ae52a8e214950be0a4d95f590122c", + "End": "f15edf557ec44beb92074675e1db1dcf", + "Id": "7f009cfe1b4e4049941fab59f8b6850b" + }, + { + "Start": "90d97c4418234ef891eabe56af1c0d9f", + "End": "eac6a3d15c9a4675b0e2dab1cdcb5553", + "Id": "1bc6c1246225412e935dea371dec53e8" + }, + { + "Start": "1651a5ffdc1d48ebb6a7a6f673cd94cc", + "End": "9dd7600cd7854d1ca7576db903b043cb", + "Id": "400c749a870242b09bd1aaa9ac222349" + }, + { + "Start": "1651a5ffdc1d48ebb6a7a6f673cd94cc", + "End": "6ec165cc36c34aaf9b14dd1d88030901", + "Id": "ee075ade04ae47a98a0fffd4798bb1aa" + }, + { + "Start": "d3544c8ebfd8459ab7adc1ef7a1942f8", + "End": "0a14af41df5d415d8fe5b506c40ecb71", + "Id": "36c57c2f27f145f4b15852456556103a" + }, + { + "Start": "4ec01a85e146463aad3bb4c123795fa5", + "End": "38a22dc7e4ec42d294ca032647086404", + "Id": "9b48398f37c64f7da95fde03ba55194d" + }, + { + "Start": "124dae50cf1148ec8b1024279e6cac28", + "End": "4dbc5b59d9f448df8bdd704dd35b9047", + "Id": "62edbf5d6aef4fe2914ff44fdd352566" + }, + { + "Start": "7ce5949d827946fd9b48f35299e45c37", + "End": "3a0c1fe86021447d8e1c048934fe5c35", + "Id": "8525fcc131704858872c451553081a2c" + }, + { + "Start": "a54190437ec0483aa5ad62915fabe9dd", + "End": "8f85fcbab49c47fa81f6f4e2551bdad7", + "Id": "58b8f8745207472aae2c90cb3910f3c2" + }, + { + "Start": "3ccd4b334cec47fc8b2ffa6d1a65fd04", + "End": "35c32423733b46129f8273e71d67e54f", + "Id": "2e878e641304472c99e3eefe50846414" + }, + { + "Start": "461c3d0b267c496297c8d0172dfaaeac", + "End": "d2c7c3ede6024734b10a168589f796c0", + "Id": "4045ecb0918a48ebb408ca3cfaa8053f" + }, + { + "Start": "b6ed0811033f43e5aec8086e76ee5a55", + "End": "39b99a7737224593b1ee3be5a5d599ea", + "Id": "9650659bfff341cbb18d21cbbd528793" + }, + { + "Start": "10bd4c5c44f34f49ba0dff3c6b86f31e", + "End": "ad2eacf0885147f68e578fdc57c2740b", + "Id": "7011499e4b4442b698b65ae4dddf59be" + }, + { + "Start": "1f78234d90a34730b6ada080a04253f2", + "End": "e125fe6fcfb64eb3bb18b7e4b422eaac", + "Id": "3cccddbd917a418d93b30ed81ada3e94" + }, + { + "Start": "1f78234d90a34730b6ada080a04253f2", + "End": "f110a5801b584e5aabef57228e10b678", + "Id": "4dce815dd4144778bd05b31578d836d5" + }, + { + "Start": "d21d93f7d5be49e1a376b6480532b81b", + "End": "d890932b0ab24944b8d664d72670e5e8", + "Id": "590f2be0cd1745c28e8579bcca657cc4" + }, + { + "Start": "ea352088b44c40879c4511ef5aeff464", + "End": "633e1c35fb9546dd93376052d9fa2c77", + "Id": "14d7eb91ef4d4e8688315daa2deb7db9" + }, + { + "Start": "ea352088b44c40879c4511ef5aeff464", + "End": "079f144b21854b02a3b86a85cb505284", + "Id": "0c9e67817ed14a749efb4a1aebebaf74" + }, + { + "Start": "a09140d16b9c4f6ea159fc4bc66deffc", + "End": "dc820b29f294467c85eb74ee1d8eaf9a", + "Id": "f5e1a4af921942428b35b198f219e946" + }, + { + "Start": "e870d5439bec436fb325413b17ce33ea", + "End": "f7293432eb2f4134a95dd89976827314", + "Id": "f4477bb49d9e4868b4dc1a65019b318b" + }, + { + "Start": "51e224ef559e4830b40e011185da7599", + "End": "156a85bcbf3049cfa9d03eab3a8b7e23", + "Id": "6b1d8f5ac0294abcbdcbcb31c0c7d5f9" + }, + { + "Start": "49f30db2ac154b4b8d8e1bd3b9251304", + "End": "56cae99c79c74eed973c629c730d525f", + "Id": "e81285a013534a1b90cd5ded8dae639a" + }, + { + "Start": "a2faa3ca7f9e4b04bf5ed9a03df5238a", + "End": "143390b2257b4b778c3a0fcdfeaac2a2", + "Id": "27fdd4e862204df094edcf6c96ebea8b" + }, + { + "Start": "8590291888f6430f86a03a14df2bc2e0", + "End": "5559c09d53ec42ef92b3c2ce5b5d573b", + "Id": "773f914d26c44525b8dfb39824b64460" + }, + { + "Start": "96d3b8eec8ee4fba8b546b84546329dc", + "End": "6866b2bf07254fe2a6ea1f89342dbdd1", + "Id": "b515a270e8b94b9394a52eb35fdc00df" + }, + { + "Start": "303c29b0cf77419ab0f9f90b848acbde", + "End": "6745450ca7ea4ef28d749f00c09cff06", + "Id": "b97cda3a0f7245898fd8c0fef5c41ecc" + }, + { + "Start": "689462451ba6403cbb4f570913dbc333", + "End": "d8d405edaa704efda48c82a7ee4c83df", + "Id": "ca4cbb64b2694d5f838737c126b19d62" + }, + { + "Start": "d42a38968f8147a092b976667383b842", + "End": "45a5cbc8204e4de5b950cfac8304c2c0", + "Id": "9f7f09589ddd4fa681ac72c9beab22bf" + }, + { + "Start": "06f30bb053a54061bf9232eda1cec06e", + "End": "0a48d7a8e34b46c79119c47b43593050", + "Id": "65b1c9d41e2b42868b8af01725a3549d" + }, + { + "Start": "76d750ccbfc54912a46f94a5bbb940fe", + "End": "129a9941df6241d9b022f324435a8f3c", + "Id": "bfa68694520c4fd2a895c51eb4d6c729" + }, + { + "Start": "1ab68902e7814aa4b41bbfc8e76fb30f", + "End": "65c33d5b580d47e19a51e072fd4534ef", + "Id": "736b120332354c6395e99772b444de51" + }, + { + "Start": "66144bd12b6341d3a3468b93a75b1737", + "End": "6494952772f649dbbacedf539b725e14", + "Id": "2a15393ef4194ab89254e610d006af01" + }, + { + "Start": "a52d68ba87e34d8686ca379a95b74a4e", + "End": "835168f93b4449a0968d8ae804e42cb0", + "Id": "a6b6dc1122b843ccab16b2ad09934db9" + }, + { + "Start": "2cb12ca93087458eb23cf780256abc2a", + "End": "a0a37347c1864d9ba61745e394b25992", + "Id": "9a85186a94b843e79df4ba46b9b83771" + }, + { + "Start": "2cb12ca93087458eb23cf780256abc2a", + "End": "fbd3e95057224a30b96a673ec14215c0", + "Id": "b75d81cfb1ef4e8ebc18908e0087373c" + }, + { + "Start": "e4bd2d3c9add4015aa9fde8e1a703148", + "End": "263311ed9ac04da583f7b84a00dfc274", + "Id": "fb7e47338e684fdabb24475f85a22ddc" + }, + { + "Start": "5330fc18e998474fad69803a2531465e", + "End": "ee989e91122e40f6af048c4639a79c42", + "Id": "45e9f5272521497c92cd03c4ad1244c3" + }, + { + "Start": "d13665756a114d90b07260224cc1015d", + "End": "5d6f9ed02f4f4ff7afabaab61366e7c1", + "Id": "035431ed0b9047d58e45a873c7afaef8" + }, + { + "Start": "d13665756a114d90b07260224cc1015d", + "End": "1884caa712d8417490799c0b905a0366", + "Id": "18f798a2a28144d9a9b2c551b47ae609" + }, + { + "Start": "f309eeb7a09b4ec08b23930cb53f811a", + "End": "79d4d3dde94c43dbbb8ba11cc8a24f4f", + "Id": "1e7506a7fd05462bba404be476d64f0d" + }, + { + "Start": "39af7c9476c24f99bd4cc25954646229", + "End": "8fbbaac6b9f1401f88b663d4ddabac29", + "Id": "9edac4b9cc0a4eb7a2e0c9a9cb50f11f" + }, + { + "Start": "bcfdd83032534f1097efa3e87eb0c031", + "End": "ca3da3e1deb847c4b4ba206dbf24693b", + "Id": "4ea42e0e55bc4466ae9013f9d269f631" + }, + { + "Start": "bcfdd83032534f1097efa3e87eb0c031", + "End": "d2ac590e4e41493d86e91f860ffee6cd", + "Id": "bafd280721404c7eb60a6880effbae99" + }, + { + "Start": "dfc0d69b967e4dd88d550db93da50f23", + "End": "343e074e41b342d2a65034e420792751", + "Id": "b5729c2bcd27419284613fbbee639a3d" + }, + { + "Start": "6fdd44f589d84c94b0ea906e8f55ed3a", + "End": "5ff77e8c28304a76bdd311ddde25954e", + "Id": "661f603e341840a380b707c6643f845f" + }, + { + "Start": "c1b195d295c1401e910d2c622f488f45", + "End": "8d9c436ce1e54e2c96aad762ae386e2f", + "Id": "f406ff12d9634d1fa90073fd3d80fd16" + }, + { + "Start": "53f0972e39c84356b883176566c6d98a", + "End": "21f05a02ef3343ea945c989ae3f7cf2f", + "Id": "451a07b22224432eba59727c116acb7c" + }, + { + "Start": "5beba72fb1094f3a88ab5ee8fa6b6f0e", + "End": "a8bc1caf119e42c087f30631741b85fa", + "Id": "d4c5fd2baa5943aa8d6b1d066752bc2d" + }, + { + "Start": "4f370ede11d64de886171854cba9afad", + "End": "3cc371d6887f4e2b947916bd007cd67c", + "Id": "e15733dd6d5547a2a5dd71a6f684607a" + }, + { + "Start": "33810f3289f64e04b9c99def58780de0", + "End": "8324a16f84114b5185f9ed9db3d0c096", + "Id": "17ea484e9a2d414d9cbb1475a13df00b" + }, + { + "Start": "c718ec39205a4fd19e33b48d65cf247e", + "End": "8ce2109af6ae4db4908d3e4ac2bcc534", + "Id": "7cb7ad2950e5443c8476156c03268418" + }, + { + "Start": "b536947cf36f446c86a5fa6b34bdbdf6", + "End": "fedefbccfb86479a99a0d543fee83982", + "Id": "481574dfec71445b832264b8c66136e7" + }, + { + "Start": "aab47d009c644694a3181e7c08294ceb", + "End": "6ff2a89f747e48c886401ec3c7941efc", + "Id": "7ee820f1e8e94f959f8ce0d66b3b5147" + } + ], + "Dependencies": [ + "9fbd05c0-ec1f-4bd3-bf37-969a1552eab8", + "b409775c-5d88-4d47-96a3-5135c775d26a", + "74c13cd2-5b9a-494f-beac-ea71fec14b56", + "7804e3b4-a95a-4ca5-a391-fd9d10566b40" + ], + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.0.2.6826", + "RunType": "Manual", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "Background Preview", + "EyeX": 33.994504512730487, + "EyeY": 1033.5477205137654, + "EyeZ": 1601.1615594664731, + "LookX": 900.8514369316714, + "LookY": -1501.2483996598833, + "LookZ": -99.624186093240269, + "UpX": 0.720979026597479, + "UpY": 0.68835456887901136, + "UpZ": -0.079732177785277872 + }, + "NodeViews": [ + { + "ShowGeometry": true, + "Name": "UI.MultipleInputForm ++", + "Id": "77dc583a535d417ab7741d2b93fd6c61", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -203.683234842355, + "Y": 280.213900565983 + }, + { + "ShowGeometry": false, + "Name": "Element.Faces", + "Id": "7e60408a95a444b99fbedcc18b37d9fe", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1399.7129681797153, + "Y": -143.518557278961 + }, + { + "ShowGeometry": true, + "Name": "Boolean", + "Id": "655ee0be2e3a4e499f93e3024b43dc49", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "X": -444.10084929304543, + "Y": 974.71010754362419 + }, + { + "ShowGeometry": true, + "Name": "Surface.NormalAtParameter", + "Id": "41b2b2f6d1f2424381125e2395d344d6", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1163.9927609636297, + "Y": 673.33806945263291 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "134cc7afcf3f42ab8a9a232adbdf6997", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1007.127700961742, + "Y": 735.4939375184149 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "1538e28b987e499d92acc9143d1d70c1", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1431.772476566174, + "Y": 634.63583478628937 + }, + { + "ShowGeometry": true, + "Name": "List.AllIndicesOf", + "Id": "639bbf609839479a972f53f7a676814b", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1625.3449288886777, + "Y": 676.80025017406956 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "d76a855490374b2c89214cba982614e0", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1462.7217598921977, + "Y": 752.9792427647576 + }, + { + "ShowGeometry": true, + "Name": "List.GetItemAtIndex", + "Id": "d6f9162925c44020a5ee0eb7c5ec2719", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1914.0982465292836, + "Y": 670.90109767539184 + }, + { + "ShowGeometry": true, + "Name": "Surface.PerimeterCurves", + "Id": "7204d11b8d9a4c42945b2936e131f345", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 2539.0252609955887, + "Y": 439.97422280379283 + }, + { + "ShowGeometry": true, + "Name": "UI.DropDown Data", + "Id": "799e275b606f47379b61b0e557ad68fa", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -1167.6441445833793, + "Y": 722.80850761397619 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "cd941c91665a48bea6b6c245a46a2c94", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -1562.9679816727003, + "Y": 568.07845502536611 + }, + { + "ShowGeometry": true, + "Name": "Level.Name", + "Id": "8ee013257cd3438aa074efc7f4ff3b95", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -1532.0656072752004, + "Y": 669.70602908164119 + }, + { + "ShowGeometry": true, + "Name": "All Elements of Category", + "Id": "828ac4c718d64c6db09ceb03bc559c6e", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -1752.7349095479904, + "Y": 750.2766470402812 + }, + { + "ShowGeometry": true, + "Name": "Categories", + "Id": "1600f9179b3b46abba245ee656593771", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "X": -1979.9230746686403, + "Y": 753.84512772105813 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "895c3fc166664a1f914d9e28f15ffe0a", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 307.179347114638, + "Y": 295.423485468759 + }, + { + "ShowGeometry": true, + "Name": "List.Create", + "Id": "cab8413ceaab4f6a91b5b201ebcdaf38", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -487.09783557153469, + "Y": 345.18023304075479 + }, + { + "ShowGeometry": true, + "Name": "UI.SelectLinkedElement(s) Data", + "Id": "7e8ce2413b244eaeb26816cfe263f262", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -1276.4377472751357, + "Y": 30.660194068477594 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "defb5871b14b4a2695a08cd3ff1598fe", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -496.114563724304, + "Y": 210.774821312945 + }, + { + "ShowGeometry": true, + "Name": "UI.SelectModelElements Data", + "Id": "0e060934a8364df8a3689f3cc9eaaac6", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -1273.9465613491598, + "Y": 239.6217129014272 + }, + { + "ShowGeometry": true, + "Name": "List.Create", + "Id": "9e8c2b7375d143feb6c7ba036649b563", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 535.71296817971529, + "Y": -247.518557278961 + }, + { + "ShowGeometry": true, + "Name": "List.Flatten", + "Id": "caad7a98155a45338a059f0fdba2477c", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1113.7129681797153, + "Y": -143.518557278961 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "434554c747464026aeefc926957ea844", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 755.71296817971529, + "Y": -61.305223945627858 + }, + { + "ShowGeometry": true, + "Name": "List.Clean", + "Id": "f80a35be018a466c8b329a0d7ffc4ddc", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 755.71296817971529, + "Y": -195.518557278961 + }, + { + "ShowGeometry": true, + "Name": "List.Clean", + "Id": "360d13276d954277a788932c3c9f351f", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 2181.0252609955887, + "Y": 439.97422280379283 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "c67cf168c7c840fe89c139477885689c", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 2002.0252609955887, + "Y": 470.18755613712642 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "61399cad08c242569cd6b0532de93a96", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 535.71296817971529, + "Y": -113.30522394562786 + }, + { + "ShowGeometry": true, + "Name": "List.Flatten", + "Id": "13d669245075482784a3e87d2e185f6e", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 2980.3794354669344, + "Y": 551.89099044166937 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "a07abdf2dfb24234927579978de0f545", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 2801.3794354669344, + "Y": 582.10432377500274 + }, + { + "ShowGeometry": true, + "Name": "Curve.Join", + "Id": "ba9519f7ff9542c8ad0764a53b1dbd49", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3529.3794354669344, + "Y": 538.89099044166937 + }, + { + "ShowGeometry": true, + "Name": "List.FirstItem", + "Id": "646a54f6d6bb401db3b44e2afe1838e7", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3266.3794354669344, + "Y": 497.89099044166937 + }, + { + "ShowGeometry": true, + "Name": "List.RestOfItems", + "Id": "8d3dee4ae4fd4361ac7f88812e694c37", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3266.3794354669344, + "Y": 605.89099044166937 + }, + { + "ShowGeometry": true, + "Name": "Python Script", + "Id": "2a7a24d9686341dab59604382e072755", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3958.7122414916048, + "Y": 143.64228966133589 + }, + { + "ShowGeometry": true, + "Name": "All Elements of Type", + "Id": "753a82ee3daf4f5886570c1d7cfb9e8b", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -1709.64465034301, + "Y": 1084.2691331996423 + }, + { + "ShowGeometry": true, + "Name": "Element Types", + "Id": "2dabf406bddd4ee783f6dfbffa3c10af", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -1978.64465034301, + "Y": 1084.2691331996423 + }, + { + "ShowGeometry": true, + "Name": "Level.Name", + "Id": "2586a8fe19744de7bec26d254a43ddf9", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -1409.64465034301, + "Y": 1046.2691331996423 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "560af09557814f1b917d0ee33d67e4d5", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -1409.64465034301, + "Y": 1154.695799866309 + }, + { + "ShowGeometry": true, + "Name": "UI.DropDown Data", + "Id": "082d27f5f3e742b99a9f617409438aba", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": -1128.64465034301, + "Y": 1070.2691331996423 + }, + { + "ShowGeometry": true, + "Name": "Element.SetParameterByName", + "Id": "5e471f35bd47447b8316dbbdd62abc07", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 4323.2092473862776, + "Y": -401.1136557128969 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "533b21cae6264cb699022ae5babecaf1", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3988.765324192369, + "Y": -492.20072042528068 + }, + { + "ShowGeometry": true, + "Name": "Level.Elevation", + "Id": "0df69de6828848c5abe93dd9df38982b", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3423.0782216045122, + "Y": -297.8942712468733 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "88e9511a5c784f988be50b64d320f0f0", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3423.0782216045122, + "Y": -407.68093791354 + }, + { + "ShowGeometry": true, + "Name": "-", + "Id": "fd12e4be38fc44d1ac41b4f8bbdef9a7", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3712.0782216045127, + "Y": -367.8942712468733 + }, + { + "ShowGeometry": true, + "Name": "Curve.EndPoint", + "Id": "5df7829c2578442798748dcba936bc3c", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3139.0782216045122, + "Y": -411.89427124687336 + } + ], + "Annotations": [ + { + "Id": "0dbf4c09299e439483d0a4248a08dc2a", + "Title": "Level dropdown", + "Nodes": [ + "799e275b606f47379b61b0e557ad68fa", + "cd941c91665a48bea6b6c245a46a2c94", + "8ee013257cd3438aa074efc7f4ff3b95", + "828ac4c718d64c6db09ceb03bc559c6e", + "1600f9179b3b46abba245ee656593771" + ], + "Left": -1989.9230746686403, + "Top": 515.07845502536611, + "Width": 1163.278930085261, + "Height": 404.73005258861008, + "FontSize": 36.0, + "InitialTop": 568.07845502536611, + "InitialHeight": 330.766672695692, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "9b7b177b309542e1a7f9471ba8cc5997", + "Title": "Element faces", + "Nodes": [ + "7e60408a95a444b99fbedcc18b37d9fe", + "9e8c2b7375d143feb6c7ba036649b563", + "caad7a98155a45338a059f0fdba2477c", + "434554c747464026aeefc926957ea844", + "f80a35be018a466c8b329a0d7ffc4ddc", + "61399cad08c242569cd6b0532de93a96" + ], + "Left": 525.71296817971529, + "Top": -300.518557278961, + "Width": 1107.0, + "Height": 332.21333333333314, + "FontSize": 36.0, + "InitialTop": -247.518557278961, + "InitialHeight": 331.21333333333325, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "3f376d6048da4d5aafe82db6e8e1821e", + "Title": "Bottom planes", + "Nodes": [ + "41b2b2f6d1f2424381125e2395d344d6", + "134cc7afcf3f42ab8a9a232adbdf6997", + "1538e28b987e499d92acc9143d1d70c1", + "639bbf609839479a972f53f7a676814b", + "d76a855490374b2c89214cba982614e0", + "d6f9162925c44020a5ee0eb7c5ec2719" + ], + "Left": 997.127700961742, + "Top": 581.63583478628937, + "Width": 1105.9705455675416, + "Height": 264.34340797846824, + "FontSize": 36.0, + "InitialTop": 634.63583478628937, + "InitialHeight": 263.34340797846812, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "eb92305561db48d59f48b8efa82ebb66", + "Title": "Building pad types dropdown", + "Nodes": [ + "082d27f5f3e742b99a9f617409438aba", + "560af09557814f1b917d0ee33d67e4d5", + "2586a8fe19744de7bec26d254a43ddf9", + "753a82ee3daf4f5886570c1d7cfb9e8b", + "2dabf406bddd4ee783f6dfbffa3c10af" + ], + "Left": -1988.64465034301, + "Top": 993.26913319964228, + "Width": 1201.0, + "Height": 264.42666666666673, + "FontSize": 36.0, + "InitialTop": 1046.2691331996423, + "InitialHeight": 253.42666666666673, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "5ba1396b393f40a1bbf1fc4787f03555", + "Title": "Create pads", + "Nodes": [ + "2a7a24d9686341dab59604382e072755" + ], + "Left": 3948.7122414916048, + "Top": 47.642289661335894, + "Width": 144.0, + "Height": 241.0, + "FontSize": 36.0, + "InitialTop": 143.64228966133589, + "InitialHeight": 145.0, + "TextblockHeight": 86.0, + "Background": "#FFC1D676" + }, + { + "Id": "40d43271f7a4487498f9257d7a907c08", + "Title": "Join curves", + "Nodes": [ + "13d669245075482784a3e87d2e185f6e", + "a07abdf2dfb24234927579978de0f545", + "ba9519f7ff9542c8ad0764a53b1dbd49", + "646a54f6d6bb401db3b44e2afe1838e7", + "8d3dee4ae4fd4361ac7f88812e694c37" + ], + "Left": 2791.3794354669344, + "Top": 444.89099044166937, + "Width": 967.0, + "Height": 254.0, + "FontSize": 36.0, + "InitialTop": 497.89099044166937, + "InitialHeight": 253.0, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "f1af002293034ac893ec6e678d14701b", + "Title": "Perimeter curves", + "Nodes": [ + "7204d11b8d9a4c42945b2936e131f345", + "360d13276d954277a788932c3c9f351f", + "c67cf168c7c840fe89c139477885689c" + ], + "Left": 1992.0252609955887, + "Top": 386.97422280379283, + "Width": 765.0, + "Height": 176.21333333333359, + "FontSize": 36.0, + "InitialTop": 439.97422280379283, + "InitialHeight": 175.21333333333337, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "30b305dd1bef4afea190d6fe9d311e57", + "Title": "Selectors", + "Nodes": [ + "7e8ce2413b244eaeb26816cfe263f262", + "0e060934a8364df8a3689f3cc9eaaac6" + ], + "Left": -1286.4377472751357, + "Top": -22.339805931522406, + "Width": 428.49118592597597, + "Height": 432.96151883294959, + "FontSize": 36.0, + "InitialTop": 30.660194068477594, + "InitialHeight": 353.96151883294959, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "4f4c4db3e0e74db1b6ce710a6ff5143a", + "Title": "Get heights", + "Nodes": [ + "0df69de6828848c5abe93dd9df38982b", + "88e9511a5c784f988be50b64d320f0f0", + "fd12e4be38fc44d1ac41b4f8bbdef9a7", + "5df7829c2578442798748dcba936bc3c" + ], + "Left": 3129.0782216045122, + "Top": -464.89427124687336, + "Width": 762.00000000000045, + "Height": 260.00000000000006, + "FontSize": 36.0, + "InitialTop": -411.89427124687336, + "InitialHeight": 319.69386429700114, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "ca4707418be3432090d111c4e377eeae", + "Title": "Set heights", + "Nodes": [ + "5e471f35bd47447b8316dbbdd62abc07", + "533b21cae6264cb699022ae5babecaf1" + ], + "Left": 3978.765324192369, + "Top": -545.20072042528068, + "Width": 624.44392319390863, + "Height": 289.08706471238378, + "FontSize": 36.0, + "InitialTop": -492.20072042528068, + "InitialHeight": 266.08706471238378, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "2c488316620a4872beb804303269b0fc", + "Title": "Reset UI", + "Nodes": [ + "655ee0be2e3a4e499f93e3024b43dc49" + ], + "Left": -454.10084929304543, + "Top": 921.71010754362419, + "Width": 155.0, + "Height": 121.0, + "FontSize": 36.0, + "InitialTop": 974.71010754362419, + "InitialHeight": 98.0, + "TextblockHeight": 43.0, + "Background": "#FFFFB8D8" + }, + { + "Id": "fdb0c435028346669572746b2a040b54", + "Title": "UI", + "Nodes": [ + "77dc583a535d417ab7741d2b93fd6c61", + "cab8413ceaab4f6a91b5b201ebcdaf38", + "defb5871b14b4a2695a08cd3ff1598fe" + ], + "Left": -506.114563724304, + "Top": 157.774821312945, + "Width": 682.431328881949, + "Height": 423.43907925303813, + "FontSize": 36.0, + "InitialTop": 210.774821312945, + "InitialHeight": 400.43907925303813, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + } + ], + "X": -1748.0287170623692, + "Y": 558.55268880083327, + "Zoom": 0.64075329155713978 + } +} \ No newline at end of file diff --git a/building-pad-from-elements/readme.md b/building-pad-from-elements/readme.md new file mode 100644 index 0000000..59969c5 --- /dev/null +++ b/building-pad-from-elements/readme.md @@ -0,0 +1,11 @@ +## requirements + +### 2.x + +- data-shapes + +## acknowledgements + +The python script is written by [BIMadmin](https://forum.dynamobim.com/u/BIMadmin) and [kennyb6](https://forum.dynamobim.com/u/kennyb6). Source: [forum.dynamobim.com](https://forum.dynamobim.com/t/multiple-building-pads/19917). + +