Files
dynamo-scripts/WIP/ReplaceInFamilyNames.dyn
2020-01-17 15:48:11 +01:00

1480 lines
45 KiB
Plaintext

{
"Uuid": "79213ae8-ca44-43c9-af3b-1dfc45ef106f",
"IsCustomNode": false,
"Description": null,
"Name": "ReplaceInFamilyNames",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "DSRevitNodesUI.ElementsOfCategory, DSRevitNodesUI",
"NodeType": "ExtensionNode",
"Id": "d05cccee33a1447e89a34460b7431db9",
"Inputs": [
{
"Id": "a6246b14e1414a7bbbe7fa9b9d1a83fd",
"Name": "Category",
"Description": "The Category",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "dccb10d763dc4658b2017d5b5cec65c8",
"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": "3ab45b47b16741f0a64e8a5384d4dc8d",
"Inputs": [],
"Outputs": [
{
"Id": "94c249f0c69f4f59970922bfffdd58e5",
"Name": "Category",
"Description": "The selected Category.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "All built-in categories."
},
{
"ConcreteType": "DSRevitNodesUI.ElementsAtLevel, DSRevitNodesUI",
"NodeType": "ExtensionNode",
"Id": "33b58b69d7dd44d08ff11e8925f49666",
"Inputs": [
{
"Id": "6c4cf3143ae34391b20365236d9045dd",
"Name": "Level",
"Description": "A Level",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "11503d9542f94276882569e1d17170b6",
"Name": "Elements",
"Description": "Elements at the given level.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Get all the elements at the specified Level from the model."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.FamilyInstance.GetFamily",
"Id": "5a2ef68853424000b0d3516169e85ebb",
"Inputs": [
{
"Id": "068f05341a3b46adac4d8b66ad4ead30",
"Name": "familyInstance",
"Description": "Revit.Elements.FamilyInstance",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "63e63cb8279849ae8a84037e505e5c93",
"Name": "Family",
"Description": "Family",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Gets the family of this family instance\n\nFamilyInstance.GetFamily: Family"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.UniqueItems@var[]..[]",
"Id": "4746ca2bf39b41fab9e460af8b7e4f91",
"Inputs": [
{
"Id": "8a2b88711feb4ecf840bc600596fbf17",
"Name": "list",
"Description": "List to filter duplicates out of.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "00b5677cd392484aba6360729bdb2d26",
"Name": "list",
"Description": "Filtered list.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Creates a new list containing all unique items in the given list.\n\nList.UniqueItems (list: var[]..[]): var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.Flatten@var[]..[],int",
"Id": "e59b544239d54ac2b334644988c4b3dd",
"Inputs": [
{
"Id": "07342be0eb70491ab2a86ec967d8dde5",
"Name": "list",
"Description": "List to flatten.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "143cd3b3de884ff49398fc4c529b9fc2",
"Name": "amt",
"Description": "Layers of nesting to remove.\n\nint\nDefault value : -1",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "a85cc42f3e4d4361a79c2d10f5ca76aa",
"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": "Revit.Elements.Family.Name",
"Id": "f92a056d0d1b41f79208a32bd2d5b71c",
"Inputs": [
{
"Id": "3f28e78afa004f6fb5ada7120fc6da3f",
"Name": "family",
"Description": "Revit.Elements.Family",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "76a73a2f35de49d0a03f1d96a38243fe",
"Name": "string",
"Description": "string",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "The name of this family\n\nFamily.Name: string"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "2f56d88b-a263-45de-b9e5-e074dbe52635",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "2d9497f6586341c4a112ff9e1c835b82",
"Inputs": [
{
"Id": "2f02e00c1e4346a9b381b645bfc008ca",
"Name": "element",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "5de15a22425841c28b8860bb52ddac23",
"Name": "name",
"Description": "string[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "1df53a18ea7f49d0a660e025d940e3ac",
"Name": "element",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "78cfdac6e14344cd99f052dae849e431",
"Name": "success",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Gets the name of a given Revit element"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.String.Replace@string,string,string",
"Id": "79f26e62a6dd455f975b28235be5e64a",
"Inputs": [
{
"Id": "0fdaf5c3da064a808d5c36070f1ec67c",
"Name": "str",
"Description": "String to replace substrings in.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "1a3745990665423dba5c43b3a53b06a9",
"Name": "searchFor",
"Description": "Text to be replaced.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "f1934760b73f4458a9dfc49047ae4933",
"Name": "replaceWith",
"Description": "Text to replace with.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "cf91e0ccebd043edb3b1b00737bacf4b",
"Name": "str",
"Description": "String with replacements made.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Replaces all occurrances of text in a string with other text.\n\nString.Replace (str: string, searchFor: string, replaceWith: string): string"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "\"BIMeXpert\";\n\"\";",
"Id": "557518471e8e4a55acd6de5a5108064f",
"Inputs": [],
"Outputs": [
{
"Id": "197d3831108d4e6caf9ffa4413c4eaa9",
"Name": "",
"Description": "Value of expression at line 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "a9e5848b9cad4283b7e5ab44a72bc8ff",
"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": "DSCore.String.AllIndicesOf@string,string,bool",
"Id": "c1faef5fa79a4150bd8764e1f77805a1",
"Inputs": [
{
"Id": "45b1c3fab6394455abf8538a6d636837",
"Name": "str",
"Description": "string",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "e3ce90511e404f5bbef89e627f6c16ca",
"Name": "searchFor",
"Description": "string",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "3e06bed4e8aa41f681deb14debc662e4",
"Name": "ignoreCase",
"Description": "bool\nDefault value : false",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "b1c910a33a9b4fa9bea7a0e96635cb24",
"Name": "int[]",
"Description": "int[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "String.AllIndicesOf (str: string, searchFor: string, ignoreCase: bool = false): int[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Orchid.RevitProject.Elements.FamilyType.All",
"Id": "5bcfa252bdfd43df90a8df909267734d",
"Inputs": [],
"Outputs": [
{
"Id": "8017a05a842a43b2ac7b8956a2232a2c",
"Name": "FamilyType",
"Description": "FamilyType as Dynamo type",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "6f345786ea0944768e207ade93862bce",
"Name": "Category",
"Description": "Category as Dynamo type",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Get all family types in current document\n\nFamilyType.All ( ): var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.FamilyType.Family",
"Id": "886ce9b58b314091bf5842780a3a094e",
"Inputs": [
{
"Id": "a391d3c591834972b6d75204f7b91cf1",
"Name": "familyType",
"Description": "Revit.Elements.FamilyType",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "378f1a465567479b9db770cdf9f5d966",
"Name": "Family",
"Description": "Family",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Get the parent family of this FamilyType\n\nFamilyType.Family: Family"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.Flatten@var[]..[],int",
"Id": "a44568eaf6d44445b8d0cd9140a739e5",
"Inputs": [
{
"Id": "8adb16e7d5a146b79aaefb0b4707b7e8",
"Name": "list",
"Description": "List to flatten.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "fac1542d3b7e40c798c07786d676940e",
"Name": "amt",
"Description": "Layers of nesting to remove.\n\nint\nDefault value : -1",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "a7d91c1087c7423aa47a93b92aeb65a3",
"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.List.UniqueItems@var[]..[]",
"Id": "7a8be7e072a042359e569a6ba12c4f93",
"Inputs": [
{
"Id": "e6610d1a9d6341b2a3bc7efc9175a800",
"Name": "list",
"Description": "List to filter duplicates out of.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "8fe761f887e04142a0834c922eddf483",
"Name": "list",
"Description": "Filtered list.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Creates a new list containing all unique items in the given list.\n\nList.UniqueItems (list: var[]..[]): var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.Sort@var[]",
"Id": "c5ee79c588b24835aeebae52b2ba6813",
"Inputs": [
{
"Id": "74b3e53c1fde4914a01e864c37e0f6c2",
"Name": "list",
"Description": "The list of items to be sorted.\n\nvar[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "66725dc5bf754a3bb3053f348fc47f33",
"Name": "newList",
"Description": "The indices of the items in the sorted list.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Sorts a list by the items and return their indices.\n\nList.Sort (list: var[]): var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.Clean@var[]..[],bool",
"Id": "b9b397c4ac2c4495a6845da72fd50e7d",
"Inputs": [
{
"Id": "b45af5bfa6a54f5cbbc58ece17b4bd37",
"Name": "list",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "b41c382014d5444d9e673388ccf8f73b",
"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": "f8f8e1afa1bc45c7a7c89b6a08c291dc",
"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": "be9adfd9a23948b4ae91ce1f623f483f",
"Inputs": [],
"Outputs": [
{
"Id": "1b05b4be5a9f41f3b7664f8a307b0c91",
"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.Logic.If, CoreNodeModels",
"NodeType": "ExtensionNode",
"Id": "9449ec275f154994b1f887bd2eaca3ee",
"Inputs": [
{
"Id": "6b332d66544543ecbeff43c4848379ef",
"Name": "test",
"Description": "Test block",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "6d8c8ec06eed4c50a50727966a64ae67",
"Name": "true",
"Description": "True block",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "416a04f216bf476c9af44b5f48b8e8fd",
"Name": "false",
"Description": "False block",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "a6eb381e02d243db9332ba58ec7d5c1f",
"Name": "result",
"Description": "result",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Conditional statement"
},
{
"ConcreteType": "CoreNodeModels.Input.BoolSelector, CoreNodeModels",
"NodeType": "BooleanInputNode",
"InputValue": true,
"Id": "79eeacd8ea4f4e42a1042668d67c2b63",
"Inputs": [],
"Outputs": [
{
"Id": "f7881e0f11964842a8f19f8721df0b6e",
"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": "\"\";",
"Id": "857a72401e484575b153951f40393131",
"Inputs": [],
"Outputs": [
{
"Id": "f94bb0f988c548c0b11a3d66a465b54c",
"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.Parameters",
"Id": "1bc7516e662e46d7a234bba4e4a30e58",
"Inputs": [
{
"Id": "67395cccb05f4a639f55813bea9e0df2",
"Name": "element",
"Description": "Revit.Elements.Element",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "c0ced454f31043b5b66413077d3d8d85",
"Name": "Parameter[]",
"Description": "Parameter[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Obtain all of the Parameters from an Element, sorted by Name.\n\nElement.Parameters: Parameter[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.Flatten@var[]..[],int",
"Id": "6cd7e09c71664ec3af44f1462d71e1c5",
"Inputs": [
{
"Id": "b1970348f04648399afbc6d8624bb55d",
"Name": "list",
"Description": "List to flatten.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "b76b8663cddc460c818f6a8a1993e50d",
"Name": "amt",
"Description": "Layers of nesting to remove.\n\nint\nDefault value : -1",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "e7b85d47857441bda711c8bb44e1f53e",
"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": "CoreNodeModels.FromObject, CoreNodeModels",
"NodeType": "ExtensionNode",
"Id": "1104aa96312044a48781978d19bed3fc",
"Inputs": [
{
"Id": "4a13542cc40c40199b16cb829728cbee",
"Name": "obj",
"Description": "Object to be serialized",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "365f425dc77a4472bcaaae4a7530ce64",
"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.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Parameter.Value",
"Id": "7312e907bcb14f639c1db61b91b1fc95",
"Inputs": [
{
"Id": "0dc85ebad07e4dfeb61039972d601036",
"Name": "parameter",
"Description": "Revit.Elements.Parameter",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "5a89189bdf734dabaeeabe14ab48ecc1",
"Name": "var[]..[]",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Get the value of the parameter\n\nParameter.Value: var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Orchid.RevitFamily.Parameter.Delete@var,string[]",
"Id": "dfce063aa25a4f8ab6d5343ca30e020d",
"Inputs": [
{
"Id": "d59df48cf5ce4a2886cbd4caff4a9abe",
"Name": "familyDocument",
"Description": "Family document as Revit document (rfa)\n\nvar\nDefault value : null",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "c6cdc9b3cbe046f9aa1c90ebc635a60a",
"Name": "parameterName",
"Description": "The name of the parameter to delete\n\nstring[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "c95ffd34a3f045bbbcebfc43a4b89ae0",
"Name": "watch",
"Description": "Add a watch node to verify the output",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Delete family parameter by parameter name\n\nParameter.Delete (familyDocument: var = null, parameterName: string[]): string"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Element.GetParameterValueByName@string",
"Id": "cf24f60e4bdf4e189f27ab69e8e1feb7",
"Inputs": [
{
"Id": "12056368f75941fd86b832272d5ee155",
"Name": "element",
"Description": "Revit.Elements.Element",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "6147cf5e5cc64a44b99840855099bd74",
"Name": "parameterName",
"Description": "The name of the parameter whose value you want to obtain.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "f63b9866aaed4ba9aa71d0d5849155a0",
"Name": "var[]..[]",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Get the value of one of the element's parameters.\n\nElement.GetParameterValueByName (parameterName: string): var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "\"Family Created By\";\n\"Company Website\";\n\"Company Email\";",
"Id": "648c05e8b38d44adb5eaff84bf30b404",
"Inputs": [],
"Outputs": [
{
"Id": "27002738a5c44257944766e3c72b06d6",
"Name": "",
"Description": "Value of expression at line 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "30ece0d99dd048eda5ab23157f9d472f",
"Name": "",
"Description": "Value of expression at line 2",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "9bfcb5c1a7754acb90f6c177349c72fe",
"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": "Orchid.RevitProject.Parameters.Parameter.Delete@string[]",
"Id": "b320f633dfa94a8fabd20e99defbe011",
"Inputs": [
{
"Id": "d6a1bb3767cd47aea7e9887c37a57281",
"Name": "parameterName",
"Description": "The name of the parameter to delete\n\nstring[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "0c6a1b97f46a4277b074d5a5944cd244",
"Name": "void",
"Description": "void",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Delete parameter by name in the project\n\nParameter.Delete (parameterName: string[]): void"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Orchid.RevitFamily.Parameter.Delete@var,string[]",
"Id": "d2fdfabf299a41b1a47914b511d5ce86",
"Inputs": [
{
"Id": "f4a8b657dd2646889cf0206794b740e3",
"Name": "familyDocument",
"Description": "Family document as Revit document (rfa)\n\nvar\nDefault value : null",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "6490f50066ff4887b7217a8c3b48c333",
"Name": "parameterName",
"Description": "The name of the parameter to delete\n\nstring[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "30c21787d709491795a7b939122aab42",
"Name": "watch",
"Description": "Add a watch node to verify the output",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Delete family parameter by parameter name\n\nParameter.Delete (familyDocument: var = null, parameterName: string[]): string"
}
],
"Connectors": [
{
"Start": "dccb10d763dc4658b2017d5b5cec65c8",
"End": "6c4cf3143ae34391b20365236d9045dd",
"Id": "5d7315c6355a434eb2091195bcdabe19"
},
{
"Start": "94c249f0c69f4f59970922bfffdd58e5",
"End": "a6246b14e1414a7bbbe7fa9b9d1a83fd",
"Id": "54981e7eac674465866cf98a02f109ab"
},
{
"Start": "11503d9542f94276882569e1d17170b6",
"End": "068f05341a3b46adac4d8b66ad4ead30",
"Id": "9814a30b66ab42558a22ab9c56cdff93"
},
{
"Start": "63e63cb8279849ae8a84037e505e5c93",
"End": "07342be0eb70491ab2a86ec967d8dde5",
"Id": "69576d7f1cff4a4f80bfaf5eccc97a86"
},
{
"Start": "a85cc42f3e4d4361a79c2d10f5ca76aa",
"End": "8a2b88711feb4ecf840bc600596fbf17",
"Id": "1b777707e07f4f6fbba29d6cb030cc22"
},
{
"Start": "76a73a2f35de49d0a03f1d96a38243fe",
"End": "0fdaf5c3da064a808d5c36070f1ec67c",
"Id": "086dfd675d7a450c9216424ad128b739"
},
{
"Start": "197d3831108d4e6caf9ffa4413c4eaa9",
"End": "1a3745990665423dba5c43b3a53b06a9",
"Id": "7cd6df8804a0484c9588bc98fcadf374"
},
{
"Start": "197d3831108d4e6caf9ffa4413c4eaa9",
"End": "e3ce90511e404f5bbef89e627f6c16ca",
"Id": "804fd077ae4642b698eeef1fd691e915"
},
{
"Start": "a9e5848b9cad4283b7e5ab44a72bc8ff",
"End": "f1934760b73f4458a9dfc49047ae4933",
"Id": "9dfd0dd663be41c7ab6fd10458548772"
},
{
"Start": "b1c910a33a9b4fa9bea7a0e96635cb24",
"End": "b45af5bfa6a54f5cbbc58ece17b4bd37",
"Id": "743195ed62c74b36916d6f977503da22"
},
{
"Start": "8017a05a842a43b2ac7b8956a2232a2c",
"End": "6d8c8ec06eed4c50a50727966a64ae67",
"Id": "b99b897653c0496a95b23da23e3b7d4a"
},
{
"Start": "378f1a465567479b9db770cdf9f5d966",
"End": "3f28e78afa004f6fb5ada7120fc6da3f",
"Id": "9b41d2e6acc640bcb2e1aa758c839128"
},
{
"Start": "a7d91c1087c7423aa47a93b92aeb65a3",
"End": "e6610d1a9d6341b2a3bc7efc9175a800",
"Id": "b768d176353e4e6e946b0c65f0e97542"
},
{
"Start": "8fe761f887e04142a0834c922eddf483",
"End": "74b3e53c1fde4914a01e864c37e0f6c2",
"Id": "e1e618f52a8a4b888443d5b2b10d9c70"
},
{
"Start": "66725dc5bf754a3bb3053f348fc47f33",
"End": "a391d3c591834972b6d75204f7b91cf1",
"Id": "e7525ab9aa6f4e2680b846b1eed4a8e3"
},
{
"Start": "66725dc5bf754a3bb3053f348fc47f33",
"End": "67395cccb05f4a639f55813bea9e0df2",
"Id": "f8ed4702e4da4bf786fd2821a1545483"
},
{
"Start": "66725dc5bf754a3bb3053f348fc47f33",
"End": "12056368f75941fd86b832272d5ee155",
"Id": "3373daf1833f4eb3b1f890d6c73c3b17"
},
{
"Start": "1b05b4be5a9f41f3b7664f8a307b0c91",
"End": "b41c382014d5444d9e673388ccf8f73b",
"Id": "cb2683904ac94633a1f5fae5f297097c"
},
{
"Start": "a6eb381e02d243db9332ba58ec7d5c1f",
"End": "8adb16e7d5a146b79aaefb0b4707b7e8",
"Id": "382b6d77d3c14dcf929e9c5a2f5031fb"
},
{
"Start": "f7881e0f11964842a8f19f8721df0b6e",
"End": "6b332d66544543ecbeff43c4848379ef",
"Id": "d0b8eabfb3564cfcb5f3df50f2d2ec86"
},
{
"Start": "f94bb0f988c548c0b11a3d66a465b54c",
"End": "416a04f216bf476c9af44b5f48b8e8fd",
"Id": "b916ada98c4f492eaebb744918018c74"
},
{
"Start": "c0ced454f31043b5b66413077d3d8d85",
"End": "b1970348f04648399afbc6d8624bb55d",
"Id": "269b90d756054179bcc7cd9e33133c21"
},
{
"Start": "c0ced454f31043b5b66413077d3d8d85",
"End": "0dc85ebad07e4dfeb61039972d601036",
"Id": "94d4597cf4fe4ac098102c379c3226d0"
},
{
"Start": "e7b85d47857441bda711c8bb44e1f53e",
"End": "4a13542cc40c40199b16cb829728cbee",
"Id": "e9f157037bc84d3e8b28e9623b7e53dd"
},
{
"Start": "365f425dc77a4472bcaaae4a7530ce64",
"End": "45b1c3fab6394455abf8538a6d636837",
"Id": "568431b4d17b4435a84a96ad9d266ead"
},
{
"Start": "9bfcb5c1a7754acb90f6c177349c72fe",
"End": "6147cf5e5cc64a44b99840855099bd74",
"Id": "5e58035b558d4f699e3b93a18e83d466"
},
{
"Start": "9bfcb5c1a7754acb90f6c177349c72fe",
"End": "d6a1bb3767cd47aea7e9887c37a57281",
"Id": "78003f2c8be34282a80b8549acdae95a"
}
],
"Dependencies": [
"2f56d88b-a263-45de-b9e5-e074dbe52635"
],
"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": "All Elements of Category",
"Id": "d05cccee33a1447e89a34460b7431db9",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 340.5,
"Y": 467.5
},
{
"ShowGeometry": true,
"Name": "Categories",
"Id": "3ab45b47b16741f0a64e8a5384d4dc8d",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 55.5,
"Y": 474.5
},
{
"ShowGeometry": true,
"Name": "All Elements at Level",
"Id": "33b58b69d7dd44d08ff11e8925f49666",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 623.5,
"Y": 468.5
},
{
"ShowGeometry": true,
"Name": "FamilyInstance.GetFamily",
"Id": "5a2ef68853424000b0d3516169e85ebb",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 862.84591993957031,
"Y": 612.34693823521638
},
{
"ShowGeometry": true,
"Name": "List.UniqueItems",
"Id": "4746ca2bf39b41fab9e460af8b7e4f91",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1549.2071945989651,
"Y": 643.08071503131862
},
{
"ShowGeometry": true,
"Name": "List.Flatten",
"Id": "e59b544239d54ac2b334644988c4b3dd",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1246.8728967636521,
"Y": 628.09201343818063
},
{
"ShowGeometry": true,
"Name": "Family.Name",
"Id": "f92a056d0d1b41f79208a32bd2d5b71c",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2121.047750111597,
"Y": 738.34986324695069
},
{
"ShowGeometry": true,
"Name": "Element.SetName",
"Id": "2d9497f6586341c4a112ff9e1c835b82",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 3194.909961168255,
"Y": 449.2124207559761
},
{
"ShowGeometry": true,
"Name": "String.Replace",
"Id": "79f26e62a6dd455f975b28235be5e64a",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2816.4661867725163,
"Y": 790.56370587516381
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "557518471e8e4a55acd6de5a5108064f",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2450.2765835385071,
"Y": 853.1455702834246
},
{
"ShowGeometry": true,
"Name": "String.AllIndicesOf",
"Id": "c1faef5fa79a4150bd8764e1f77805a1",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2748.5188652956358,
"Y": 1063.7272056383122
},
{
"ShowGeometry": true,
"Name": "FamilyType.All",
"Id": "5bcfa252bdfd43df90a8df909267734d",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 677.17068102255871,
"Y": 133.20085369923999
},
{
"ShowGeometry": true,
"Name": "FamilyType.Family",
"Id": "886ce9b58b314091bf5842780a3a094e",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2197.3467864320332,
"Y": 256.60864373640425
},
{
"ShowGeometry": true,
"Name": "List.Flatten",
"Id": "a44568eaf6d44445b8d0cd9140a739e5",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1238.5599270457817,
"Y": 176.02356645720062
},
{
"ShowGeometry": true,
"Name": "List.UniqueItems",
"Id": "7a8be7e072a042359e569a6ba12c4f93",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1540.8942248811018,
"Y": 191.01226805033861
},
{
"ShowGeometry": true,
"Name": "List.Sort",
"Id": "c5ee79c588b24835aeebae52b2ba6813",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1822.7088127585018,
"Y": 193.67174662108465
},
{
"ShowGeometry": true,
"Name": "List.Clean",
"Id": "b9b397c4ac2c4495a6845da72fd50e7d",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 3179.2016703056,
"Y": 1144.5730095765889
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "be9adfd9a23948b4ae91ce1f623f483f",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 3071.0893898380441,
"Y": 1197.510752815544
},
{
"ShowGeometry": true,
"Name": "If",
"Id": "9449ec275f154994b1f887bd2eaca3ee",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 992.29396796236938,
"Y": 99.417812636849476
},
{
"ShowGeometry": true,
"Name": "Boolean",
"Id": "79eeacd8ea4f4e42a1042668d67c2b63",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 678.18931253548817,
"Y": -20.946800021576792
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "857a72401e484575b153951f40393131",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 675.0,
"Y": 292.0
},
{
"ShowGeometry": true,
"Name": "Element.Parameters",
"Id": "1bc7516e662e46d7a234bba4e4a30e58",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1758.2460003424544,
"Y": 1251.8714751291664
},
{
"ShowGeometry": true,
"Name": "List.Flatten",
"Id": "6cd7e09c71664ec3af44f1462d71e1c5",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2206.4499905108692,
"Y": 1162.197357481364
},
{
"ShowGeometry": true,
"Name": "String from Object",
"Id": "1104aa96312044a48781978d19bed3fc",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2469.2184094849631,
"Y": 1128.7168339033115
},
{
"ShowGeometry": true,
"Name": "Parameter.Value",
"Id": "7312e907bcb14f639c1db61b91b1fc95",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2161.432787978762,
"Y": 1470.393143405634
},
{
"ShowGeometry": true,
"Name": "Parameter.Delete",
"Id": "dfce063aa25a4f8ab6d5343ca30e020d",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2691.9742600605036,
"Y": 1436.777568039573
},
{
"ShowGeometry": true,
"Name": "Element.GetParameterValueByName",
"Id": "cf24f60e4bdf4e189f27ab69e8e1feb7",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2159.9712412237154,
"Y": 1752.4716671295355
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "648c05e8b38d44adb5eaff84bf30b404",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1707.668839233273,
"Y": 1813.1918516265425
},
{
"ShowGeometry": true,
"Name": "Parameter.Delete",
"Id": "b320f633dfa94a8fabd20e99defbe011",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2195.7931244248684,
"Y": 2309.1970906594256
},
{
"ShowGeometry": true,
"Name": "Parameter.Delete",
"Id": "d2fdfabf299a41b1a47914b511d5ce86",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1791.6832934388985,
"Y": 2278.0026475657714
}
],
"Annotations": [],
"X": -1236.1408336625561,
"Y": -988.92065401788409,
"Zoom": 0.76263096747498882
}
}