From 5c50c98bcec378048937953602c705c4df030cce Mon Sep 17 00:00:00 2001 From: infeeeee Date: Wed, 24 Apr 2019 22:43:40 +0200 Subject: [PATCH] added renumber-sheets-from-selected --- README.md | 6 + renumber-sheets-from-selected/1.x/empty-dir | 0 .../2.x/renumber-sheets-from-selected.dyn | 2654 +++++++++++++++++ renumber-sheets-from-selected/readme.md | 35 + 4 files changed, 2695 insertions(+) create mode 100644 renumber-sheets-from-selected/1.x/empty-dir create mode 100644 renumber-sheets-from-selected/2.x/renumber-sheets-from-selected.dyn create mode 100644 renumber-sheets-from-selected/readme.md diff --git a/README.md b/README.md index 484505a..99f8958 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,12 @@ List views which has unlimited view range set State: stable +### renumber-sheets-from-selected + +Add +1 to numbers starting from the selected + +State: stable + ## Nodes ### WeekDayNumber diff --git a/renumber-sheets-from-selected/1.x/empty-dir b/renumber-sheets-from-selected/1.x/empty-dir new file mode 100644 index 0000000..e69de29 diff --git a/renumber-sheets-from-selected/2.x/renumber-sheets-from-selected.dyn b/renumber-sheets-from-selected/2.x/renumber-sheets-from-selected.dyn new file mode 100644 index 0000000..e623682 --- /dev/null +++ b/renumber-sheets-from-selected/2.x/renumber-sheets-from-selected.dyn @@ -0,0 +1,2654 @@ +{ + "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", + "IsCustomNode": false, + "Description": "", + "Name": "renumber-sheets-from-selected", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "DSRevitNodesUI.Categories, DSRevitNodesUI", + "SelectedIndex": 447, + "NodeType": "ExtensionNode", + "Id": "565f2e11f9ec43788532ce0921d42298", + "Inputs": [], + "Outputs": [ + { + "Id": "62a1b5bb3fe54a9ba4c217608c0688c4", + "Name": "Category", + "Description": "The selected Category.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "All built-in categories." + }, + { + "ConcreteType": "DSRevitNodesUI.ElementsOfCategory, DSRevitNodesUI", + "NodeType": "ExtensionNode", + "Id": "efbe2d58ec934540a774dfbcc1948fad", + "Inputs": [ + { + "Id": "23a3d8b5ab034b099fd21eb4ef4ca167", + "Name": "Category", + "Description": "The Category", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "4426bf7e43db40539756ce8164a31c2b", + "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": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Revit.Elements.Views.Sheet.SheetNumber", + "Id": "39cad73ae8a24a809702a904dcedd7c8", + "Inputs": [ + { + "Id": "544b4dca9d4544da96c284f23cc3eadc", + "Name": "sheet", + "Description": "Revit.Elements.Views.Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "8888d21bf0714ba9991208928f28a958", + "Name": "string", + "Description": "string", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Get the SheetNumber of the Sheet\n\nSheet.SheetNumber: string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Revit.Elements.Views.Sheet.SheetName", + "Id": "49ce71b5e4174cd48fc86a013c03efc0", + "Inputs": [ + { + "Id": "cc26fa305fa845418efc5f2e59fc2100", + "Name": "sheet", + "Description": "Revit.Elements.Views.Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "573aa41b81214a5c80c9a6d470750699", + "Name": "string", + "Description": "string", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Get the SheetName of the Sheet\n\nSheet.SheetName: string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "List.SortByFunction@var[]..[],Function", + "Id": "bb47e614459e4cf389b5e55984dc08aa", + "Inputs": [ + { + "Id": "10bcefa3d2b446eaa624259cce73cd2d", + "Name": "list", + "Description": "list of values\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "fae1fb20d23442f7b0dbf95fb4924cfb", + "Name": "func", + "Description": "Function", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "7484b14113684b2d8acadf8544e0ed83", + "Name": "var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Use a function to determine how list items should be sorted.\n\nList.SortByFunction (list: var[]..[], func: Function): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Revit.Elements.Views.Sheet.SheetNumber", + "Id": "9f50c56857334721a6dbd802819291d7", + "Inputs": [ + { + "Id": "7e2b09d16fa446fe92a635e6e6610ea6", + "Name": "sheet", + "Description": "Revit.Elements.Views.Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "7a03dc8d641d4a3e97989a3f7fe5ae32", + "Name": "string", + "Description": "string", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Get the SheetNumber of the Sheet\n\nSheet.SheetNumber: string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", + "FunctionSignature": "9fbd05c0-ec1f-4bd3-bf37-969a1552eab8", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "d59c0cffecc348f19fb0dce35e539e06", + "Inputs": [ + { + "Id": "00d8fd3f03a6435aa035588d3f7fbb1a", + "Name": "Description_optional", + "Description": "string\nDefault value : \"\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "d3178c08b15c4669ac3291f9b2fc6147", + "Name": "Logo_optional", + "Description": "var\nDefault value : \"\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "7b94d4c6560c492dbffbd3b2e7d2f714", + "Name": "ButtonText_optional", + "Description": "string\nDefault value : \"Set Values\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "7ef9c60baf6146c6995e15e1ad76e8f5", + "Name": "Inputs", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "b0779599cda145bfa6c4462ca56d2e85", + "Name": "Toggle", + "Description": "bool\nDefault value : false", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "99b6643c3e7e48169dd1c0b6b62d2a4e", + "Name": "LinkToHelp_optional", + "Description": "string\nDefault value : null", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "4fc1e325b1384cc29801ad5540f660de", + "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": "6fbd1f8f24fe4782a0b514f14559ad58", + "Name": "MaxHeight_optional", + "Description": "int\nDefault value : 0", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "28179744ed99434398b465a2d942d671", + "Name": "Width_optional", + "Description": "int\nDefault value : 350", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "b38d6aae30e440f591cd140f89bfd0f1", + "Name": "User Inputs", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "f3efc653332442e981c281a3bac7f9d6", + "Name": "Was Run ", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "432df4d877e940a2989d79e662e31dba", + "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": "CoreNodeModels.Input.BoolSelector, CoreNodeModels", + "NodeType": "BooleanInputNode", + "InputValue": true, + "Id": "ba42d14f4ca74ce594015d5e2e87f895", + "Inputs": [], + "Outputs": [ + { + "Id": "b2999d6dbc9a4ae8b2b7ef7398f9b168", + "Name": "", + "Description": "Boolean", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Selection between a true and false." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "\"Insert before this sheet\";", + "Id": "f232235395884c8cb09692bf1f362846", + "Inputs": [], + "Outputs": [ + { + "Id": "03da0b8ef6f04a588bf62994e7d5bbf5", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "NodeType": "ExtensionNode", + "Id": "0cd544cbd78c4d8bacb53f3e8e800abf", + "Inputs": [ + { + "Id": "d23a540fb32d453fa79ab9e536becdeb", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "94591c24882e4e538a5054aa845cd09d", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "a1a772c831a1408db4c6a4d393beee4a", + "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.Transpose@var[]..[]", + "Id": "7c85edd4c476449199eefd3688a93fc6", + "Inputs": [ + { + "Id": "7764ecc22b404b2787d559f4d79c961f", + "Name": "lists", + "Description": "A list of lists to be transposed.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "0c47f2e95fc341daaaab1d0269d6f893", + "Name": "lists", + "Description": "A list of transposed lists.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Swaps rows and columns in a list of lists. If there are some rows that are shorter than others, null values are inserted as place holders in the resultant array such that it is always rectangular.\n\nList.Transpose (lists: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction, DynamoCore", + "FunctionSignature": "DSCore.String.Join@string,string[]", + "FunctionType": "VariableArgument", + "NodeType": "FunctionNode", + "Id": "cecfb7e3cc4b40ca8f1e881d33409496", + "Inputs": [ + { + "Id": "f521487915524bc5aacc2ef834a5ef93", + "Name": "separator", + "Description": "String to be inserted between joined strings.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "286a2e80705d44fc997aa9aefd3abfd5", + "Name": "string0", + "Description": "Strings to be joined into a single string.\n\nstring[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "11557b69ed5b481b919b4e82d9249e0e", + "Name": "str", + "Description": "A string made from the list of strings including the separator character.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Concatenates multiple strings into a single string, inserting the given separator between each joined string.\n\nString.Join (separator: string, strings: string[]): string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "\" \";", + "Id": "6cc1e7eab93841489b6391efe80ea784", + "Inputs": [], + "Outputs": [ + { + "Id": "5d8a54300ba54e6dbf99f3a5b5485e8c", + "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": "4d58383defd840b38d518a8d72dc5f2e", + "Inputs": [ + { + "Id": "7a82638a0eaa47588cbbdac585d41173", + "Name": "list", + "Description": "List to flatten.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8bb0829bf1dc40a3b5510f1c658c4709", + "Name": "amt", + "Description": "Layers of nesting to remove.\n\nint\nDefault value : -1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "19425711f50b443783be7b2254012bb1", + "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.CustomNodes.Function, DynamoCore", + "FunctionSignature": "4abff87f-8dad-41a9-bcf6-98784ac456eb", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "ac1775501d6b4a148b0f9034d1b50311", + "Inputs": [ + { + "Id": "28c3ed37df4f4414815077c7e9d05712", + "Name": "InputName", + "Description": "string\nDefault value : \"\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "dff8938b874b472c919021b0fc582243", + "Name": "Keys", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "bf61e3086b3a47fb85fa507b1e87fbf0", + "Name": "Values", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "7f3452372a454d6c9c35e9d52ea5f145", + "Name": "DefaultValueIndex", + "Description": "int\nDefault value : null", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "5e080c39e6e241988e511cfcec80f62e", + "Name": "RadioButton input", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Create radio buttons input for UI.MultipleInputForm ++ . " + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "\"Renumber sheets for adding new inbetween\";\n\"OK\";\n500;", + "Id": "2bb54f4ab16342a791fdc6158c62d44b", + "Inputs": [], + "Outputs": [ + { + "Id": "40305e5dd9724ad1b9b77447789a9b44", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "436efe76c1234785b423679d1bb46271", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "1b0945f39038432eba4d163e9ce56a14", + "Name": "", + "Description": "Value of expression at line 3", + "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.FirstIndexOf@var[]..[],var", + "Id": "eb5810eabec74a3caf4cf25d8c10ae2f", + "Inputs": [ + { + "Id": "b1b3dc7d53f74560b4d014435df09ce1", + "Name": "list", + "Description": "List to search in. If this argument is null, -1 is returned.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "65980662e0434712acd9e3b2b1178803", + "Name": "item", + "Description": "Item to look for.\n\nvar", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "9360db37d86e4b3b98306064370a16fe", + "Name": "int", + "Description": "Zero-based index of the item in the list, or -1 if it is not found.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Given an item, returns the zero-based index of its first occurrence in the list. If the item cannot be found in the list, -1 is returned.\n\nList.FirstIndexOf (list: var[]..[], item: var): int" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Revit.Elements.Views.Sheet.SheetNumber", + "Id": "2c7cccbc7e3e4981a7adf388d93df4cf", + "Inputs": [ + { + "Id": "484693a63a024f029c2bb61535296b74", + "Name": "sheet", + "Description": "Revit.Elements.Views.Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "93e9a05fe74f4dc8872c7c5a0508e57f", + "Name": "string", + "Description": "string", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Get the SheetNumber of the Sheet\n\nSheet.SheetNumber: string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", + "FunctionSignature": "928e40a7-91ac-45c3-8d59-4d899fc49b83", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "be845a20bc8249528d3bd2778420c508", + "Inputs": [ + { + "Id": "120c17fd62c042999d09fdba01656ea9", + "Name": "InputName", + "Description": "string\nDefault value : \"\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "544895af75de44fe96895f56e4e11186", + "Name": "DefaultText", + "Description": "string\nDefault value : \"\"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "6e72fc160f974aaa932e30f092e675f5", + "Name": "IsNumberEntry", + "Description": "bool\nDefault value : false", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "337326c3218f45c6958a501fc74bec51", + "Name": "TextBox input", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Create Data for TextBox input in UI.MultipleInputForm ++ . Check out www.data-shapes.net for more informations" + }, + { + "ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels", + "VariableInputPorts": true, + "NodeType": "ExtensionNode", + "Id": "97a6c104714b4251be8d2d2971def8f8", + "Inputs": [ + { + "Id": "4fb9ef4e84c248e19890397f9ebd08ff", + "Name": "item0", + "Description": "Item Index #0", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "b29d2865ab4a40a0bffc63954b2808bc", + "Name": "item1", + "Description": "Item Index #1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "fb7d6cac966d4b60a43c8d2dc2ac924b", + "Name": "list", + "Description": "A list", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Makes a new list out of the given inputs" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "\"Prefix of sheets to renumber\";\n\"A\";", + "Id": "607e757d5d7e4b888764eeb2417b2dc6", + "Inputs": [], + "Outputs": [ + { + "Id": "df25bc603c7a4ba398ea5ec45ff80eac", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "a5a990c4c62e49ef85cdeed09757921f", + "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.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "//selected view:\na[0];\n//prefix:\na[1];", + "Id": "cb584f8b8cbf4a2bae86abc51f80be3d", + "Inputs": [ + { + "Id": "8adf9c657faf448fabae0daac3eb7158", + "Name": "a", + "Description": "a", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "911ce7e7c2564ef7bf3a8ea371ee1104", + "Name": "", + "Description": "Value of expression at line 2", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "515a282d1b9049a490182bb6b4dca2f2", + "Name": "", + "Description": "Value of expression at line 4", + "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.Slice@var[]..[],int,int,int", + "Id": "d6a7621dd86e4de78579500c76e23c7c", + "Inputs": [ + { + "Id": "0ee2736ccbc642e7842beabcc5cc6628", + "Name": "list", + "Description": "List to take a slice of.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "2ec80b4bd7d84e438b9c97013cb9fe1f", + "Name": "start", + "Description": "Index to start the slice from.\n\nint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "e780a72556f04f19b2fd81e71d69e960", + "Name": "end", + "Description": "Index to end the slice at.\n\nint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "da18ae51f6c242bd97f7a6600ec1d28f", + "Name": "step", + "Description": "Amount the indices of the items are separate by in the original list.\n\nint\nDefault value : 1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e4a760f5225d441ab5296552852ac3f7", + "Name": "items", + "Description": "Items in the slice of the given list.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Returns a single sub-list from the given list, based on starting index, ending index, and a step amount.\n\nList.Slice (list: var[]..[], start: int, end: int, step: int = 1): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.List.Count@var[]..[]", + "Id": "a6933bdc6f824450975abb428aa355b7", + "Inputs": [ + { + "Id": "431609d432cf495b9157672f838db382", + "Name": "list", + "Description": "List to get the item count of.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "a99e01b6d93545b69661ba632ff8d8c9", + "Name": "count", + "Description": "List length.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Returns the number of items stored in the given list.\n\nList.Count (list: var[]..[]): int" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.String.StartsWith@string,string,bool", + "Id": "55e7f23d0d2042f98e149136ebe56006", + "Inputs": [ + { + "Id": "568f242dae474f68994c011b1978a4ec", + "Name": "str", + "Description": "String to search the start of.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "936c3bb0ba2d41b4aac7faa7b98b08a2", + "Name": "searchFor", + "Description": "Substring to search the start for.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "0e4e732fff2e42c4a21d9a4e26b587a3", + "Name": "ignoreCase", + "Description": "Whether or not comparison takes case into account.\n\nbool\nDefault value : false", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "c4040d1d90574b0bbc5d32114ce415eb", + "Name": "bool", + "Description": "Whether the string starts with the substring.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Determines if the given string starts with the given substring.\n\nString.StartsWith (str: string, searchFor: string, ignoreCase: bool = false): bool" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.List.FilterByBoolMask@var[]..[],var[]..[]", + "Id": "98997e20e2ae4ce9835e1e7e6bf88038", + "Inputs": [ + { + "Id": "1d15a58f555148b9a931f54e58883374", + "Name": "list", + "Description": "List to filter.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "3f73dc001b8a4bc5bb1bad31f75d4319", + "Name": "mask", + "Description": "List of booleans representing a mask.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "32539260f51e4e3a932961ee34c61ed6", + "Name": "in", + "Description": "Items whose mask index is true.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "8701950170904f1297c4f7968bbba73a", + "Name": "out", + "Description": "Items whose mask index is false.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Filters a sequence by looking up corresponding indices in a separate list of booleans.\n\nList.FilterByBoolMask (list: var[]..[], mask: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Revit.Elements.Views.Sheet.SheetNumber", + "Id": "9be43546bc554b29bfc6d4c7132b2e22", + "Inputs": [ + { + "Id": "c6a05c072c3a4b5aae1ae87ac49e0a17", + "Name": "sheet", + "Description": "Revit.Elements.Views.Sheet", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "9951c7cd7d3841a5935c16566cf0c96e", + "Name": "string", + "Description": "string", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Get the SheetNumber of the Sheet\n\nSheet.SheetNumber: string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction, DynamoCore", + "FunctionSignature": "DSCore.String.Split@string,string[]", + "FunctionType": "VariableArgument", + "NodeType": "FunctionNode", + "Id": "2d2a96a0a4854c5fb9b2ececf24b5211", + "Inputs": [ + { + "Id": "7d4ba0011ae04c35855415e70c30fc14", + "Name": "str", + "Description": "String to split up.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "c7390e6542f447e8bd888a5b9596d467", + "Name": "separater0", + "Description": "Strings that, if present, determine the end and start of a split.\n\nstring[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "d7ff395840f74bedb0debf45d5b8de88", + "Name": "strings", + "Description": "List of strings made from the input string.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Divides a single string into a list of strings, with divisions determined by the given separater strings.\n\nString.Split (str: string, separaters: string[]): string[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.List.Flatten@var[]..[],int", + "Id": "deee2aa1b1c54d94b7ecaef7a22ee663", + "Inputs": [ + { + "Id": "603c4010aaa243c8873d6ddebad510b5", + "Name": "list", + "Description": "List to flatten.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "1203d82f4d9a4fc6a7dcb3a59a739a0f", + "Name": "amt", + "Description": "Layers of nesting to remove.\n\nint\nDefault value : -1", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "0f797b6b662a4cb4882c3be3bbdef50f", + "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.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.String.ToNumber@string", + "Id": "795b8a14d1254677afe917c063d98a33", + "Inputs": [ + { + "Id": "976ee4bd006449269702b7a2ede2998f", + "Name": "str", + "Description": "String to be converted.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "3e28246c89fe4890a6e0c274875df8b2", + "Name": "number", + "Description": "Integer or double-type number.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Converts a string to an integer or a double.\n\nString.ToNumber (str: string): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "+@var[]..[],var[]..[]", + "Id": "abb9e69369ea49d8a9676d12b8751eec", + "Inputs": [ + { + "Id": "d3ff498ed5154a5cbd0b47ce25a0efe7", + "Name": "x", + "Description": "x value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "2f5480fe077f4eb7853c9ec73d39ec02", + "Name": "y", + "Description": "y value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "ce2151b578c34b6d910ff4489b1bc598", + "Name": "var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Adds x to y.\n\n+ (x: var[]..[], y: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "1;", + "Id": "3c809bbc6622420a8c03094b23101fc9", + "Inputs": [], + "Outputs": [ + { + "Id": "68f3c65a4e63448f9e279bf5e55b80a0", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + }, + { + "ConcreteType": "CoreNodeModels.FromObject, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "3b299b6d5834432da528d9dbf1f5f582", + "Inputs": [ + { + "Id": "40f0a70b0f7d4f999ffd162d8f8068ff", + "Name": "obj", + "Description": "Object to be serialized", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "186f071e4d704a999d867f2e5fafe5a3", + "Name": "str", + "Description": "Result of math computation", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Convert an object to a string representation." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "\"0\";", + "Id": "1ff5fbd70d71494792ba7618efb58052", + "Inputs": [], + "Outputs": [ + { + "Id": "b4b813254597420d8a2ce4f3f36ddbde", + "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.String.Length@string", + "Id": "7c084f1ac0d94cf39effd2a86a4b6c08", + "Inputs": [ + { + "Id": "7c33ce766abe46d1b2091766917efb6c", + "Name": "str", + "Description": "String to find the length of.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "b8813bfece304b868a778c36eda399ff", + "Name": "length", + "Description": "Number of characters in the string.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Returns the number of characters contained in the given string.\n\nString.Length (str: string): int" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.String.PadLeft@string,int,string", + "Id": "2949f2172a09408aac64c72417db048d", + "Inputs": [ + { + "Id": "c7f83348ec104fd18c97a8eb5ba75564", + "Name": "str", + "Description": "String to pad.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "abdee1d44d7b4e70b053aa3ad54b9d8a", + "Name": "newWidth", + "Description": "Total length of the string after padding.\n\nint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "09f28227280945d6bfb158affc7439ce", + "Name": "padChars", + "Description": "Character to pad with, defaults to space.\n\nstring\nDefault value : \" \"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e909d8665a9a4fe79c847839922346d7", + "Name": "str", + "Description": "Strings right-aligned by padding with leading whitespaces for a specified total length.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Right-aligns the characters in the given string by padding them with spaces on the left, for a specified total length.\n\nString.PadLeft (str: string, newWidth: int, padChars: string = \" \"): string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction, DynamoCore", + "FunctionSignature": "DSCore.String.Concat@string[]", + "FunctionType": "VariableArgument", + "NodeType": "FunctionNode", + "Id": "bd234919190e42ada5ba3062e8192102", + "Inputs": [ + { + "Id": "d0532ba8ab914443ba8091fb8c33728b", + "Name": "string0", + "Description": "List of strings to concatenate.\n\nstring[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "fdbbec080c25499dabf0d92fa78649ec", + "Name": "string1", + "Description": "string[]", + "UsingDefaultValue": false, + "Level": 1, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "7c8335ae3f2243afa4e547d60f645e13", + "Name": "str", + "Description": "String made from list of strings.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Concatenates multiple strings into a single string.\n\nString.Concat (strings: string[]): string" + }, + { + "ConcreteType": "CoreNodeModels.HigherOrder.Map, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "3f9387544f5442caa602f248e5a0caf2", + "Inputs": [ + { + "Id": "e2eb6fb9d9c64bac98a76062c2db3f4b", + "Name": "list", + "Description": "The list to map over.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "1ef6099f9aad4bd499bb4d901a3ed9d2", + "Name": "f(x)", + "Description": "The procedure used to map element", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "4c1e547691f649579f58d95114c44539", + "Name": "mapped", + "Description": "Mapped list", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Applies a function over all elements of a list, generating a new list from the results." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "\"Sheet Number\";", + "Id": "17b05830b46c4bbf8beeeeaa0e5fa608", + "Inputs": [], + "Outputs": [ + { + "Id": "62861ca0996a4697823c45829992cc38", + "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.Element.SetParameterByName@string,var", + "Id": "50fdb1e320aa40eeb997166f0c63883e", + "Inputs": [ + { + "Id": "5930d2e51bd841008bf3ea600bbfdd78", + "Name": "element", + "Description": "Revit.Elements.Element", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "f229f40e47fa40c085e27bfa6358154d", + "Name": "parameterName", + "Description": "The name of the parameter to set.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "58261c4686a349b7a64dc4090fc6f3b7", + "Name": "value", + "Description": "The value.\n\nvar", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "896a938d41cf4f49a43bb869c4751363", + "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": "\"Sheet Number\";", + "Id": "74d2a8253bce4b299d7f305410a9748c", + "Inputs": [], + "Outputs": [ + { + "Id": "96d74af6783d42b580e7573888a85977", + "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.Element.SetParameterByName@string,var", + "Id": "59dc6eaba22a4edc96fb967596a059bc", + "Inputs": [ + { + "Id": "c36f9e7596014c70a0a0a0a5ad91eb61", + "Name": "element", + "Description": "Revit.Elements.Element", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "ce1da2092ba34c0f8b0301d82908c37c", + "Name": "parameterName", + "Description": "The name of the parameter to set.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "82f91e0668c34d4b9f90c129d7bdbdc5", + "Name": "value", + "Description": "The value.\n\nvar", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "9a982f6e0a8647329f3ffcda66b2e808", + "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.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "DSCore.String.PadLeft@string,int,string", + "Id": "7d92ce6d1ee24df393734edb7b24902e", + "Inputs": [ + { + "Id": "154b9c652beb404ba3d60bc667b441b1", + "Name": "str", + "Description": "String to pad.\n\nstring", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "94c66e17842744339111846b8d5597e3", + "Name": "newWidth", + "Description": "Total length of the string after padding.\n\nint", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "14e611028d124cf6a4a788d96a90c13e", + "Name": "padChars", + "Description": "Character to pad with, defaults to space.\n\nstring\nDefault value : \" \"", + "UsingDefaultValue": true, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "dc68fe5a54c4450e99b3f0d98cfe256b", + "Name": "str", + "Description": "Strings right-aligned by padding with leading whitespaces for a specified total length.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Right-aligns the characters in the given string by padding them with spaces on the left, for a specified total length.\n\nString.PadLeft (str: string, newWidth: int, padChars: string = \" \"): string" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "+@var[]..[],var[]..[]", + "Id": "b730950f8ebd4811ae1fca4e52c21519", + "Inputs": [ + { + "Id": "a70a22b2f4b54b8d9456c99fd79fb0e9", + "Name": "x", + "Description": "x value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "149d7b59575e4a3e8d721c80c6647957", + "Name": "y", + "Description": "y value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "1c4d97f58c1042f0a1a69cea35a8e42e", + "Name": "var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Adds x to y.\n\n+ (x: var[]..[], y: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "\"_\";", + "Id": "4f19b34bea7046db81c3993efa05a825", + "Inputs": [], + "Outputs": [ + { + "Id": "3e6ed303974d4191bef6cebed323d99a", + "Name": "", + "Description": "Value of expression at line 1", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Allows for DesignScript code to be authored directly" + } + ], + "Connectors": [ + { + "Start": "62a1b5bb3fe54a9ba4c217608c0688c4", + "End": "23a3d8b5ab034b099fd21eb4ef4ca167", + "Id": "03a70261badc4bcb851354242486a22d" + }, + { + "Start": "4426bf7e43db40539756ce8164a31c2b", + "End": "10bcefa3d2b446eaa624259cce73cd2d", + "Id": "ccaf5216d0404ef2b34830af69fb3514" + }, + { + "Start": "8888d21bf0714ba9991208928f28a958", + "End": "fae1fb20d23442f7b0dbf95fb4924cfb", + "Id": "98dea1e3e84b4b7bba5696026c37d336" + }, + { + "Start": "573aa41b81214a5c80c9a6d470750699", + "End": "94591c24882e4e538a5054aa845cd09d", + "Id": "d4ce9bfd92bf4e8a8eb1bd02e284cb7f" + }, + { + "Start": "7484b14113684b2d8acadf8544e0ed83", + "End": "7e2b09d16fa446fe92a635e6e6610ea6", + "Id": "d4be6a43a52e4e08bd3e407233c6ec8f" + }, + { + "Start": "7484b14113684b2d8acadf8544e0ed83", + "End": "cc26fa305fa845418efc5f2e59fc2100", + "Id": "2d2eb0c6be36496eada2685c3cfe8c05" + }, + { + "Start": "7484b14113684b2d8acadf8544e0ed83", + "End": "bf61e3086b3a47fb85fa507b1e87fbf0", + "Id": "2958ae9ed7be46ff8601af01972f9a28" + }, + { + "Start": "7484b14113684b2d8acadf8544e0ed83", + "End": "b1b3dc7d53f74560b4d014435df09ce1", + "Id": "f7448ffbb0574e8b951e1d44ec464e4e" + }, + { + "Start": "7484b14113684b2d8acadf8544e0ed83", + "End": "431609d432cf495b9157672f838db382", + "Id": "2fbb0cb619de4338a67fbcac92752204" + }, + { + "Start": "7484b14113684b2d8acadf8544e0ed83", + "End": "0ee2736ccbc642e7842beabcc5cc6628", + "Id": "76266ea48b954ba289ba6343dcd989d6" + }, + { + "Start": "7a03dc8d641d4a3e97989a3f7fe5ae32", + "End": "d23a540fb32d453fa79ab9e536becdeb", + "Id": "e2765cd4191e466dbb7d28489a63e854" + }, + { + "Start": "b38d6aae30e440f591cd140f89bfd0f1", + "End": "8adf9c657faf448fabae0daac3eb7158", + "Id": "5cd0e0f6a88d4a9593478c32a33426ca" + }, + { + "Start": "b2999d6dbc9a4ae8b2b7ef7398f9b168", + "End": "b0779599cda145bfa6c4462ca56d2e85", + "Id": "ad6ebca0517441a39b99be6655767635" + }, + { + "Start": "03da0b8ef6f04a588bf62994e7d5bbf5", + "End": "28c3ed37df4f4414815077c7e9d05712", + "Id": "6bdcf7eeaf5e490bba95beb4db5f9c15" + }, + { + "Start": "a1a772c831a1408db4c6a4d393beee4a", + "End": "7764ecc22b404b2787d559f4d79c961f", + "Id": "fc52e2b77938428b900064e990ce7f6b" + }, + { + "Start": "0c47f2e95fc341daaaab1d0269d6f893", + "End": "286a2e80705d44fc997aa9aefd3abfd5", + "Id": "68726d6efcdc46e3bf2a5d82f17b3e3b" + }, + { + "Start": "11557b69ed5b481b919b4e82d9249e0e", + "End": "7a82638a0eaa47588cbbdac585d41173", + "Id": "8239f4a9010a42c98111341efa028a20" + }, + { + "Start": "5d8a54300ba54e6dbf99f3a5b5485e8c", + "End": "f521487915524bc5aacc2ef834a5ef93", + "Id": "07d57abc76624a00acd7b7bf8f4c4e86" + }, + { + "Start": "19425711f50b443783be7b2254012bb1", + "End": "dff8938b874b472c919021b0fc582243", + "Id": "c17011bdfb3b40eaba3c361ea6b029c1" + }, + { + "Start": "5e080c39e6e241988e511cfcec80f62e", + "End": "4fb9ef4e84c248e19890397f9ebd08ff", + "Id": "c3dfca469e354adc8b09517258c20c66" + }, + { + "Start": "40305e5dd9724ad1b9b77447789a9b44", + "End": "00d8fd3f03a6435aa035588d3f7fbb1a", + "Id": "bc67f383dbc04c66b67cdc3df333c4a5" + }, + { + "Start": "436efe76c1234785b423679d1bb46271", + "End": "7b94d4c6560c492dbffbd3b2e7d2f714", + "Id": "577150237f7343c9ba8822ea2cbd7fad" + }, + { + "Start": "1b0945f39038432eba4d163e9ce56a14", + "End": "28179744ed99434398b465a2d942d671", + "Id": "9a6fa9a1a0e745c7aa48591cbe73e7ae" + }, + { + "Start": "9360db37d86e4b3b98306064370a16fe", + "End": "2ec80b4bd7d84e438b9c97013cb9fe1f", + "Id": "f484a75235274521a1caf30125501ee9" + }, + { + "Start": "93e9a05fe74f4dc8872c7c5a0508e57f", + "End": "568f242dae474f68994c011b1978a4ec", + "Id": "d7d242b110b84b31a4aaf4b0409d4648" + }, + { + "Start": "337326c3218f45c6958a501fc74bec51", + "End": "b29d2865ab4a40a0bffc63954b2808bc", + "Id": "c4dfd722cd414910964f972615ae34bb" + }, + { + "Start": "fb7d6cac966d4b60a43c8d2dc2ac924b", + "End": "7ef9c60baf6146c6995e15e1ad76e8f5", + "Id": "15af6becde954d9fb33862726d543f1f" + }, + { + "Start": "df25bc603c7a4ba398ea5ec45ff80eac", + "End": "120c17fd62c042999d09fdba01656ea9", + "Id": "02df103157b949e3a942a10556c499e1" + }, + { + "Start": "a5a990c4c62e49ef85cdeed09757921f", + "End": "544895af75de44fe96895f56e4e11186", + "Id": "b2174860b3394212a53fc1bf60d53b5d" + }, + { + "Start": "911ce7e7c2564ef7bf3a8ea371ee1104", + "End": "65980662e0434712acd9e3b2b1178803", + "Id": "42a2584ff81d4268be71b11157d0cf35" + }, + { + "Start": "515a282d1b9049a490182bb6b4dca2f2", + "End": "936c3bb0ba2d41b4aac7faa7b98b08a2", + "Id": "57b546e74eeb4c769071294fef0d1d47" + }, + { + "Start": "515a282d1b9049a490182bb6b4dca2f2", + "End": "c7390e6542f447e8bd888a5b9596d467", + "Id": "f3864152a4684f3ba2a2f13b6b7ae4a1" + }, + { + "Start": "515a282d1b9049a490182bb6b4dca2f2", + "End": "d0532ba8ab914443ba8091fb8c33728b", + "Id": "0bed1d6b471c4657bc3b6bce6f1afd2b" + }, + { + "Start": "e4a760f5225d441ab5296552852ac3f7", + "End": "484693a63a024f029c2bb61535296b74", + "Id": "5c80df607a27469abf9e1d6474bd9eb3" + }, + { + "Start": "e4a760f5225d441ab5296552852ac3f7", + "End": "1d15a58f555148b9a931f54e58883374", + "Id": "d7fd50ff6fa54fdcafe6fca623953736" + }, + { + "Start": "a99e01b6d93545b69661ba632ff8d8c9", + "End": "e780a72556f04f19b2fd81e71d69e960", + "Id": "c5a04b18a7f148aea789fcedeaeaa2aa" + }, + { + "Start": "c4040d1d90574b0bbc5d32114ce415eb", + "End": "3f73dc001b8a4bc5bb1bad31f75d4319", + "Id": "6dfa94d11cea49278c38eefe00f0feb7" + }, + { + "Start": "32539260f51e4e3a932961ee34c61ed6", + "End": "c6a05c072c3a4b5aae1ae87ac49e0a17", + "Id": "cc7c1a25313d47f7bb81373059b78746" + }, + { + "Start": "32539260f51e4e3a932961ee34c61ed6", + "End": "5930d2e51bd841008bf3ea600bbfdd78", + "Id": "d4b16737b5614173b7f7da1ed1a45c8f" + }, + { + "Start": "9951c7cd7d3841a5935c16566cf0c96e", + "End": "7d4ba0011ae04c35855415e70c30fc14", + "Id": "9081720e0687443fbf9b8dedca47636e" + }, + { + "Start": "d7ff395840f74bedb0debf45d5b8de88", + "End": "603c4010aaa243c8873d6ddebad510b5", + "Id": "325eea1efa024a16b8e9e33d60f1e2a5" + }, + { + "Start": "0f797b6b662a4cb4882c3be3bbdef50f", + "End": "976ee4bd006449269702b7a2ede2998f", + "Id": "f2bf677981964263bed4625037726264" + }, + { + "Start": "0f797b6b662a4cb4882c3be3bbdef50f", + "End": "7c33ce766abe46d1b2091766917efb6c", + "Id": "cdb1ecda53284300bb73681337bd78e8" + }, + { + "Start": "3e28246c89fe4890a6e0c274875df8b2", + "End": "d3ff498ed5154a5cbd0b47ce25a0efe7", + "Id": "dd05bf03cbc04e7cacd8095efbdb1ec3" + }, + { + "Start": "ce2151b578c34b6d910ff4489b1bc598", + "End": "40f0a70b0f7d4f999ffd162d8f8068ff", + "Id": "8d42a12d98934164a875edb43be97bfd" + }, + { + "Start": "68f3c65a4e63448f9e279bf5e55b80a0", + "End": "2f5480fe077f4eb7853c9ec73d39ec02", + "Id": "e97b6ceb20b343609a65d7a5b0c4fd0c" + }, + { + "Start": "68f3c65a4e63448f9e279bf5e55b80a0", + "End": "149d7b59575e4a3e8d721c80c6647957", + "Id": "7bc04f470a5e4d9cbd106b4e9250e1eb" + }, + { + "Start": "186f071e4d704a999d867f2e5fafe5a3", + "End": "c7f83348ec104fd18c97a8eb5ba75564", + "Id": "78b59bc6c4aa40419088593cffa6eb01" + }, + { + "Start": "186f071e4d704a999d867f2e5fafe5a3", + "End": "154b9c652beb404ba3d60bc667b441b1", + "Id": "1e4ad920e99e43ad89d4f5f86e2b9a27" + }, + { + "Start": "b4b813254597420d8a2ce4f3f36ddbde", + "End": "09f28227280945d6bfb158affc7439ce", + "Id": "3f1e08903e364b6785895dd2ed26a072" + }, + { + "Start": "b8813bfece304b868a778c36eda399ff", + "End": "abdee1d44d7b4e70b053aa3ad54b9d8a", + "Id": "8496fac20eb244fd858b5a2f4d4ea8be" + }, + { + "Start": "b8813bfece304b868a778c36eda399ff", + "End": "a70a22b2f4b54b8d9456c99fd79fb0e9", + "Id": "574b4e0b64294a3489bb192cec85ce02" + }, + { + "Start": "e909d8665a9a4fe79c847839922346d7", + "End": "e2eb6fb9d9c64bac98a76062c2db3f4b", + "Id": "33e4a5adfc164749957887f4ed5c2b6b" + }, + { + "Start": "7c8335ae3f2243afa4e547d60f645e13", + "End": "1ef6099f9aad4bd499bb4d901a3ed9d2", + "Id": "31a5afd50c924c5e941a3b0fea1360ce" + }, + { + "Start": "4c1e547691f649579f58d95114c44539", + "End": "82f91e0668c34d4b9f90c129d7bdbdc5", + "Id": "08762c648a23442b90644931f3df91c0" + }, + { + "Start": "62861ca0996a4697823c45829992cc38", + "End": "f229f40e47fa40c085e27bfa6358154d", + "Id": "de20aa82845141bc92b999ba9b64f4c4" + }, + { + "Start": "896a938d41cf4f49a43bb869c4751363", + "End": "c36f9e7596014c70a0a0a0a5ad91eb61", + "Id": "ec6f1da891cd4741a41592df608056de" + }, + { + "Start": "96d74af6783d42b580e7573888a85977", + "End": "ce1da2092ba34c0f8b0301d82908c37c", + "Id": "549b3b24dab64657978e9a95dd62fd31" + }, + { + "Start": "dc68fe5a54c4450e99b3f0d98cfe256b", + "End": "58261c4686a349b7a64dc4090fc6f3b7", + "Id": "a6120a9d6a8c4b02aed1d7c0cd20c6e9" + }, + { + "Start": "1c4d97f58c1042f0a1a69cea35a8e42e", + "End": "94c66e17842744339111846b8d5597e3", + "Id": "88ce5002d1fc4bfe82132bf2a72d0ad1" + }, + { + "Start": "3e6ed303974d4191bef6cebed323d99a", + "End": "14e611028d124cf6a4a788d96a90c13e", + "Id": "9b6aeb79b4e04ed09f6f6d064a797eef" + } + ], + "Dependencies": [ + "9fbd05c0-ec1f-4bd3-bf37-969a1552eab8", + "4abff87f-8dad-41a9-bcf6-98784ac456eb", + "928e40a7-91ac-45c3-8d59-4d899fc49b83" + ], + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.0.2.6826", + "RunType": "Manual", + "RunPeriod": "1000" + }, + "Camera": { + "Name": "Background Preview", + "EyeX": -17.0, + "EyeY": 24.0, + "EyeZ": 50.0, + "LookX": 12.0, + "LookY": -13.0, + "LookZ": -58.0, + "UpX": 0.0, + "UpY": 1.0, + "UpZ": 0.0 + }, + "NodeViews": [ + { + "ShowGeometry": true, + "Name": "Categories", + "Id": "565f2e11f9ec43788532ce0921d42298", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 513.60229409983447, + "Y": 1558.4120281468815 + }, + { + "ShowGeometry": true, + "Name": "All Elements of Category", + "Id": "efbe2d58ec934540a774dfbcc1948fad", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 779.60229409983447, + "Y": 1558.4120281468815 + }, + { + "ShowGeometry": true, + "Name": "Sheet.SheetNumber", + "Id": "39cad73ae8a24a809702a904dcedd7c8", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 779.60229409983447, + "Y": 1666.4120281468815 + }, + { + "ShowGeometry": true, + "Name": "Sheet.SheetName", + "Id": "49ce71b5e4174cd48fc86a013c03efc0", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1074.9613853941974, + "Y": 380.37220540481565 + }, + { + "ShowGeometry": true, + "Name": "List.SortByFunction", + "Id": "bb47e614459e4cf389b5e55984dc08aa", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1065.6022940998346, + "Y": 1599.4120281468815 + }, + { + "ShowGeometry": true, + "Name": "Sheet.SheetNumber", + "Id": "9f50c56857334721a6dbd802819291d7", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1074.9613853941974, + "Y": 272.37220540481565 + }, + { + "ShowGeometry": true, + "Name": "UI.MultipleInputForm ++", + "Id": "d59c0cffecc348f19fb0dce35e539e06", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3083.744294438462, + "Y": 714.14531901770852 + }, + { + "ShowGeometry": true, + "Name": "Boolean", + "Id": "ba42d14f4ca74ce594015d5e2e87f895", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 2360.2036073120157, + "Y": 640.75607635077142 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "f232235395884c8cb09692bf1f362846", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1926.5829715408813, + "Y": 655.96729670590059 + }, + { + "ShowGeometry": true, + "Name": "List Create", + "Id": "0cd544cbd78c4d8bacb53f3e8e800abf", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1360.9613853941974, + "Y": 313.37220540481565 + }, + { + "ShowGeometry": true, + "Name": "List.Transpose", + "Id": "7c85edd4c476449199eefd3688a93fc6", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1580.9613853941974, + "Y": 313.37220540481565 + }, + { + "ShowGeometry": true, + "Name": "String.Join", + "Id": "cecfb7e3cc4b40ca8f1e881d33409496", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1847.9613853941974, + "Y": 243.37220540481567 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "6cc1e7eab93841489b6391efe80ea784", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1580.9613853941974, + "Y": 203.58553873814898 + }, + { + "ShowGeometry": true, + "Name": "List.Flatten", + "Id": "4d58383defd840b38d518a8d72dc5f2e", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 2145.9613853941974, + "Y": 243.37220540481567 + }, + { + "ShowGeometry": true, + "Name": "UI.RadioButtons Data", + "Id": "ac1775501d6b4a148b0f9034d1b50311", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 2283.4731948709614, + "Y": 757.10886972238075 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "2bb54f4ab16342a791fdc6158c62d44b", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 2554.0789855192352, + "Y": 637.20781633491413 + }, + { + "ShowGeometry": true, + "Name": "List.FirstIndexOf", + "Id": "eb5810eabec74a3caf4cf25d8c10ae2f", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3228.9894711969273, + "Y": 1702.644013571082 + }, + { + "ShowGeometry": true, + "Name": "Sheet.SheetNumber", + "Id": "2c7cccbc7e3e4981a7adf388d93df4cf", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3725.2804899848807, + "Y": 1676.0490023480781 + }, + { + "ShowGeometry": true, + "Name": "UI.TextBox Data", + "Id": "be845a20bc8249528d3bd2778420c508", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 2288.4630138642319, + "Y": 1084.4045384530182 + }, + { + "ShowGeometry": true, + "Name": "List Create", + "Id": "97a6c104714b4251be8d2d2971def8f8", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 2870.5526617034666, + "Y": 1042.2443830218094 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "607e757d5d7e4b888764eeb2417b2dc6", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1891.8509534197237, + "Y": 1066.9867105966696 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "cb584f8b8cbf4a2bae86abc51f80be3d", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3568.2157906586858, + "Y": 742.12023366936251 + }, + { + "ShowGeometry": true, + "Name": "List.Slice", + "Id": "d6a7621dd86e4de78579500c76e23c7c", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3495.7706095118197, + "Y": 1811.4196423880742 + }, + { + "ShowGeometry": true, + "Name": "List.Count", + "Id": "a6933bdc6f824450975abb428aa355b7", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 3246.2749611568333, + "Y": 1892.7197071617613 + }, + { + "ShowGeometry": true, + "Name": "String.StartsWith", + "Id": "55e7f23d0d2042f98e149136ebe56006", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 4111.4810457096892, + "Y": 1657.1195014932159 + }, + { + "ShowGeometry": true, + "Name": "List.FilterByBoolMask", + "Id": "98997e20e2ae4ce9835e1e7e6bf88038", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 4381.4138548781148, + "Y": 1855.6195118012142 + }, + { + "ShowGeometry": true, + "Name": "Sheet.SheetNumber", + "Id": "9be43546bc554b29bfc6d4c7132b2e22", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 4618.0721440862453, + "Y": 1657.594641573281 + }, + { + "ShowGeometry": true, + "Name": "String.Split", + "Id": "2d2a96a0a4854c5fb9b2ececf24b5211", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 4903.0881375479785, + "Y": 1555.2579615934492 + }, + { + "ShowGeometry": true, + "Name": "List.Flatten", + "Id": "deee2aa1b1c54d94b7ecaef7a22ee663", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 5233.0881375479785, + "Y": 1555.2579615934492 + }, + { + "ShowGeometry": true, + "Name": "String.ToNumber", + "Id": "795b8a14d1254677afe917c063d98a33", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 5608.7687211882912, + "Y": 1411.7000832231718 + }, + { + "ShowGeometry": true, + "Name": "+", + "Id": "abb9e69369ea49d8a9676d12b8751eec", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 5894.2985054956116, + "Y": 1501.1829653647471 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "3c809bbc6622420a8c03094b23101fc9", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 5706.6749168568012, + "Y": 1530.6219067077482 + }, + { + "ShowGeometry": true, + "Name": "String from Object", + "Id": "3b299b6d5834432da528d9dbf1f5f582", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 6163.2985054956116, + "Y": 1501.1829653647471 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "1ff5fbd70d71494792ba7618efb58052", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 6131.0037237851984, + "Y": 1679.0534191438967 + }, + { + "ShowGeometry": true, + "Name": "String.Length", + "Id": "7c084f1ac0d94cf39effd2a86a4b6c08", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 5838.9842323436724, + "Y": 1664.2552004282841 + }, + { + "ShowGeometry": true, + "Name": "String.PadLeft", + "Id": "2949f2172a09408aac64c72417db048d", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 6411.8219565784848, + "Y": 1562.295769369581 + }, + { + "ShowGeometry": true, + "Name": "String.Concat", + "Id": "bd234919190e42ada5ba3062e8192102", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 6431.7091525736505, + "Y": 1350.5581826907073 + }, + { + "ShowGeometry": true, + "Name": "List.Map", + "Id": "3f9387544f5442caa602f248e5a0caf2", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 6732.2985054956116, + "Y": 1649.1829653647471 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "17b05830b46c4bbf8beeeeaa0e5fa608", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 6575.7554109054618, + "Y": 2655.9343843027123 + }, + { + "ShowGeometry": true, + "Name": "Element.SetParameterByName", + "Id": "50fdb1e320aa40eeb997166f0c63883e", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 6906.1190542527356, + "Y": 2500.2698665921866 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "74d2a8253bce4b299d7f305410a9748c", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 7404.45786991443, + "Y": 2645.1353744805256 + }, + { + "ShowGeometry": true, + "Name": "Element.SetParameterByName", + "Id": "59dc6eaba22a4edc96fb967596a059bc", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 7734.8215132617006, + "Y": 2489.4708567699954 + }, + { + "ShowGeometry": true, + "Name": "String.PadLeft", + "Id": "7d92ce6d1ee24df393734edb7b24902e", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 6444.6794683077414, + "Y": 2053.6695332951485 + }, + { + "ShowGeometry": true, + "Name": "+", + "Id": "b730950f8ebd4811ae1fca4e52c21519", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 6154.99663056171, + "Y": 2093.9399839875264 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "4f19b34bea7046db81c3993efa05a825", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 6278.12178339931, + "Y": 2198.3131041672495 + } + ], + "Annotations": [ + { + "Id": "f5e80ec61d454c70bcb8ad8bf3c8810c", + "Title": "Get and sort sheets", + "Nodes": [ + "565f2e11f9ec43788532ce0921d42298", + "efbe2d58ec934540a774dfbcc1948fad", + "39cad73ae8a24a809702a904dcedd7c8", + "bb47e614459e4cf389b5e55984dc08aa" + ], + "Left": 503.60229409983447, + "Top": 1505.4120281468815, + "Width": 761.00000000000011, + "Height": 254.0, + "FontSize": 36.0, + "InitialTop": 1558.4120281468815, + "InitialHeight": 253.0, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "5362463ed9df4403baa6eef036e99851", + "Title": "Sheet numbers and names", + "Nodes": [ + "49ce71b5e4174cd48fc86a013c03efc0", + "9f50c56857334721a6dbd802819291d7", + "0cd544cbd78c4d8bacb53f3e8e800abf", + "7c85edd4c476449199eefd3688a93fc6", + "cecfb7e3cc4b40ca8f1e881d33409496", + "6cc1e7eab93841489b6391efe80ea784", + "4d58383defd840b38d518a8d72dc5f2e" + ], + "Left": 1064.9613853941974, + "Top": 150.58553873814898, + "Width": 1277.0, + "Height": 322.78666666666663, + "FontSize": 36.0, + "InitialTop": 203.58553873814898, + "InitialHeight": 321.78666666666663, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "39f80b63d04445308467708d8a600fca", + "Title": "UI", + "Nodes": [ + "d59c0cffecc348f19fb0dce35e539e06", + "ba42d14f4ca74ce594015d5e2e87f895", + "ac1775501d6b4a148b0f9034d1b50311", + "2bb54f4ab16342a791fdc6158c62d44b", + "f232235395884c8cb09692bf1f362846", + "607e757d5d7e4b888764eeb2417b2dc6", + "be845a20bc8249528d3bd2778420c508" + ], + "Left": 1881.8509534197237, + "Top": 584.20781633491413, + "Width": 1581.8933410187383, + "Height": 645.196722118104, + "FontSize": 36.0, + "InitialTop": 637.20781633491413, + "InitialHeight": 588.64846210224675, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "4a875af80ec04224a446225e37e03d63", + "Title": "Get sheets to renumber", + "Nodes": [ + "eb5810eabec74a3caf4cf25d8c10ae2f", + "2c7cccbc7e3e4981a7adf388d93df4cf", + "d6a7621dd86e4de78579500c76e23c7c", + "a6933bdc6f824450975abb428aa355b7", + "55e7f23d0d2042f98e149136ebe56006", + "98997e20e2ae4ce9835e1e7e6bf88038" + ], + "Left": 3218.9894711969273, + "Top": 1604.1195014932159, + "Width": 1343.4243836811875, + "Height": 381.60020566854541, + "FontSize": 36.0, + "InitialTop": 1657.1195014932159, + "InitialHeight": 380.60020566854541, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "4b6888464d7b497c974a80616fb52ca1", + "Title": "Get the number part", + "Nodes": [ + "9be43546bc554b29bfc6d4c7132b2e22", + "2d2a96a0a4854c5fb9b2ececf24b5211", + "deee2aa1b1c54d94b7ecaef7a22ee663" + ], + "Left": 4608.0721440862453, + "Top": 1502.2579615934492, + "Width": 821.01599346173316, + "Height": 248.33667997983184, + "FontSize": 36.0, + "InitialTop": 1555.2579615934492, + "InitialHeight": 247.33667997983184, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "179be56f4c8e4e2293fb7195b300663e", + "Title": "Create new sheet numbers", + "Nodes": [ + "795b8a14d1254677afe917c063d98a33", + "abb9e69369ea49d8a9676d12b8751eec", + "3c809bbc6622420a8c03094b23101fc9", + "3b299b6d5834432da528d9dbf1f5f582", + "1ff5fbd70d71494792ba7618efb58052", + "7c084f1ac0d94cf39effd2a86a4b6c08", + "2949f2172a09408aac64c72417db048d", + "bd234919190e42ada5ba3062e8192102", + "3f9387544f5442caa602f248e5a0caf2" + ], + "Left": 5598.7687211882912, + "Top": 1297.5581826907073, + "Width": 1277.5297843073204, + "Height": 474.49523645318936, + "FontSize": 36.0, + "InitialTop": 1350.5581826907073, + "InitialHeight": 473.49523645318936, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "becc407e3f904efc924bd78ca0ef998d", + "Title": "Write fake numbers", + "Nodes": [ + "17b05830b46c4bbf8beeeeaa0e5fa608", + "50fdb1e320aa40eeb997166f0c63883e" + ], + "Left": 6565.7554109054618, + "Top": 2447.2698665921866, + "Width": 620.36364334727386, + "Height": 301.66451771052562, + "FontSize": 36.0, + "InitialTop": 2500.2698665921866, + "InitialHeight": 300.66451771052562, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "676f378881104b2e80635fb010a1749a", + "Title": "Write parameters", + "Nodes": [ + "74d2a8253bce4b299d7f305410a9748c", + "59dc6eaba22a4edc96fb967596a059bc" + ], + "Left": 7394.45786991443, + "Top": 2436.4708567699954, + "Width": 620.36364334727023, + "Height": 301.66451771053016, + "FontSize": 36.0, + "InitialTop": 2489.4708567699954, + "InitialHeight": 300.66451771053016, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "78d9c307c9f946b2a46debc49920e5aa", + "Title": "Create fake numbers", + "Nodes": [ + "7d92ce6d1ee24df393734edb7b24902e", + "b730950f8ebd4811ae1fca4e52c21519", + "4f19b34bea7046db81c3993efa05a825" + ], + "Left": 6144.99663056171, + "Top": 2000.6695332951485, + "Width": 505.68283774603151, + "Height": 290.643570872101, + "FontSize": 36.0, + "InitialTop": 2053.6695332951485, + "InitialHeight": 289.643570872101, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "d63c63ce5fbb453eb3832b38956ab97c", + "Title": "Script Name: renumber-sheets-from-selected.dyn\n\nPackages used in this script: \nData-Shapes version: 2019.2.27\n\nTimeStamp : 2019/4/24 22:28", + "Nodes": [], + "Left": 413.60229409983447, + "Top": 103.58553873814898, + "Width": 0.0, + "Height": 0.0, + "FontSize": 36.0, + "InitialTop": 0.0, + "InitialHeight": 0.0, + "TextblockHeight": 0.0, + "Background": "#FFC1D676" + } + ], + "X": -573.40416039763431, + "Y": 117.72801288951587, + "Zoom": 0.26832566874705965 + } +} \ No newline at end of file diff --git a/renumber-sheets-from-selected/readme.md b/renumber-sheets-from-selected/readme.md new file mode 100644 index 0000000..b24cc7f --- /dev/null +++ b/renumber-sheets-from-selected/readme.md @@ -0,0 +1,35 @@ +# Renumber sheets from selected + +Add +1 to sheets from the selected, so you can add a new sheet inbetween. + +## Example + +Your sheets numbered like this: + +- A01 + +- A02 + +- A03 + +- ... + +You want to add a new sheet numbered A02. + +Run the script, select the current sheet A02, write "A" to the prefix box (without the quotation marks). + +Your new sheet numbers will look like this: (Note the missing A02) + +- A01 + +- A03 + +- A04 + +- ... + +Now you can add sheet A02. It won't touch those sheets wich don't start with the aforementioned prefix. + +## Requirements + +Data shapes