Added some new scripts

This commit is contained in:
2019-07-06 18:22:47 +02:00
parent d0ada576bb
commit a6b0536e48
23 changed files with 14360 additions and 770 deletions

View File

@@ -0,0 +1,479 @@
{
"Uuid": "d4f16841-2cdc-490f-ac5f-e663ee6634e0",
"IsCustomNode": false,
"Description": null,
"Name": "CopyParameterValuesToParameter",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [
{
"Id": "a783f43b728f4705a44fd884794aff39",
"Name": "FROM parameter",
"Type": "string",
"Value": "Material",
"Description": "Creates a string."
},
{
"Id": "5e5025a176b840129c16ccf91776bd4a",
"Name": "TO parameter",
"Type": "string",
"Value": "Equipement material",
"Description": "Creates a string."
}
],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "Orchid.E.RevitProject.Elements.Family.Families, OrchidRE",
"SelectedIndex": 174,
"NodeType": "ExtensionNode",
"Id": "00dc16b26af849c9892fc54a65bcff64",
"Inputs": [],
"Outputs": [
{
"Id": "5663a18d719740c3b0353fc566a1381d",
"Name": "Family",
"Description": "The selected Family",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "All families available in the document."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Family.Types",
"Id": "7970b42dcbfa4692999a0e1a62fd3de9",
"Inputs": [
{
"Id": "72ed249a9c1541528207be702a82a6bd",
"Name": "family",
"Description": "Revit.Elements.Family",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "51215da4f169422fb524d02d0caacc44",
"Name": "FamilyType[]",
"Description": "FamilyType[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Obtain the FamilyTypes from this Family\n\nFamily.Types: FamilyType[]"
},
{
"ConcreteType": "DSRevitNodesUI.ElementsOfFamilyType, DSRevitNodesUI",
"NodeType": "ExtensionNode",
"Id": "4d48a99a1c7346b7bd57af913db1c229",
"Inputs": [
{
"Id": "b8a323ea812e430b9a36b06ea9a9125f",
"Name": "Family Type",
"Description": "The Family Type.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "7698e21fb96e4791ab0f8083158d1189",
"Name": "Elements",
"Description": "The list of elements matching the query.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Get all elements of the specified family type from the model."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.Flatten@var[]..[],int",
"Id": "e5f79ad1bb464ac685874e988f2896b4",
"Inputs": [
{
"Id": "fb167195ad3d4764b2c7ca06de074c83",
"Name": "list",
"Description": "List to flatten.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "ccc4e72032fd4512b0e8562b009825c4",
"Name": "amt",
"Description": "Layers of nesting to remove.\n\nint\nDefault value : -1",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "a6bd6f01a38447da80eeeb4ad2c06c04",
"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.Element.GetParameterValueByName@string",
"Id": "25cc77ab0a6a414dafcc5e9107d05418",
"Inputs": [
{
"Id": "b1c9e892e45b42e6856e4e319f469199",
"Name": "element",
"Description": "Revit.Elements.Element",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "888f5e067f6347e5aa41e7d890e7c624",
"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": "e75e8c04121e4ccd94c3ce45d09827f8",
"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": "CoreNodeModels.Input.StringInput, CoreNodeModels",
"NodeType": "StringInputNode",
"InputValue": "Material",
"Id": "a783f43b728f4705a44fd884794aff39",
"Inputs": [],
"Outputs": [
{
"Id": "af71f1bd389147c3bc618bfb824628b9",
"Name": "",
"Description": "String",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Creates a string."
},
{
"ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels",
"NodeType": "StringInputNode",
"InputValue": "Equipement material",
"Id": "5e5025a176b840129c16ccf91776bd4a",
"Inputs": [],
"Outputs": [
{
"Id": "8a375e237e1e4a66a6bcacccd46ea14d",
"Name": "",
"Description": "String",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Creates a string."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Element.SetParameterByName@string,var",
"Id": "2d02bba5dfdd42c0bf49b54a68bcdb09",
"Inputs": [
{
"Id": "d5e973ed4ba147b7a4907def7c6186be",
"Name": "element",
"Description": "Revit.Elements.Element",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "a4788571910b42b0b5acc28932ec7591",
"Name": "parameterName",
"Description": "The name of the parameter to set.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "96fa9c0f71ac48909deeeb7bbb3085d9",
"Name": "value",
"Description": "The value.\n\nvar",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "86725f9fb1024024807347eb70d97167",
"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"
}
],
"Connectors": [
{
"Start": "5663a18d719740c3b0353fc566a1381d",
"End": "72ed249a9c1541528207be702a82a6bd",
"Id": "1e4bc76f39b94f02b20217dfaa1c2f84"
},
{
"Start": "51215da4f169422fb524d02d0caacc44",
"End": "b8a323ea812e430b9a36b06ea9a9125f",
"Id": "072f718eff1e4427a2fbed2e0ebc963f"
},
{
"Start": "7698e21fb96e4791ab0f8083158d1189",
"End": "fb167195ad3d4764b2c7ca06de074c83",
"Id": "76a705eb64e04057bed16aeeb375ae11"
},
{
"Start": "a6bd6f01a38447da80eeeb4ad2c06c04",
"End": "b1c9e892e45b42e6856e4e319f469199",
"Id": "963c57015a5046bf850acbfd665d83ec"
},
{
"Start": "a6bd6f01a38447da80eeeb4ad2c06c04",
"End": "d5e973ed4ba147b7a4907def7c6186be",
"Id": "8cd780fe50f94dff91e96bd747f05d6e"
},
{
"Start": "e75e8c04121e4ccd94c3ce45d09827f8",
"End": "96fa9c0f71ac48909deeeb7bbb3085d9",
"Id": "efcb5632ce9241aeabbe7b02bc1a416c"
},
{
"Start": "af71f1bd389147c3bc618bfb824628b9",
"End": "888f5e067f6347e5aa41e7d890e7c624",
"Id": "a6c9c2889bac4473b34033811e6e0491"
},
{
"Start": "8a375e237e1e4a66a6bcacccd46ea14d",
"End": "a4788571910b42b0b5acc28932ec7591",
"Id": "079a2b30e59248bbad5614eb16d3b381"
}
],
"Dependencies": [],
"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": "Select family",
"Id": "00dc16b26af849c9892fc54a65bcff64",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": 281.4145158041897,
"Y": 447.63784675136736
},
{
"ShowGeometry": true,
"Name": "Family.Types",
"Id": "7970b42dcbfa4692999a0e1a62fd3de9",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 552.4145158041897,
"Y": 447.63784675136736
},
{
"ShowGeometry": true,
"Name": "All Elements of Family Type",
"Id": "4d48a99a1c7346b7bd57af913db1c229",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 885.4145158041897,
"Y": 447.63784675136736
},
{
"ShowGeometry": true,
"Name": "List.Flatten",
"Id": "e5f79ad1bb464ac685874e988f2896b4",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1177.4145158041897,
"Y": 447.63784675136736
},
{
"ShowGeometry": true,
"Name": "Element.GetParameterValueByName",
"Id": "25cc77ab0a6a414dafcc5e9107d05418",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1493.29809031464,
"Y": 651.479949675299
},
{
"ShowGeometry": true,
"Name": "FROM parameter",
"Id": "a783f43b728f4705a44fd884794aff39",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": 280.90640900270591,
"Y": 604.60582812790335
},
{
"ShowGeometry": true,
"Name": "TO parameter",
"Id": "5e5025a176b840129c16ccf91776bd4a",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": 278.59525394369166,
"Y": 724.5109651631517
},
{
"ShowGeometry": true,
"Name": "Element.SetParameterByName",
"Id": "2d02bba5dfdd42c0bf49b54a68bcdb09",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1792.49939128177,
"Y": 889.522611843427
}
],
"Annotations": [
{
"Id": "465a773da21c4522b269f1b1afb1d3d7",
"Title": "Input",
"Nodes": [
"00dc16b26af849c9892fc54a65bcff64",
"a783f43b728f4705a44fd884794aff39",
"5e5025a176b840129c16ccf91776bd4a"
],
"Left": 268.59525394369166,
"Top": 394.63784675136736,
"Width": 173.81926186049805,
"Height": 397.87311841178433,
"FontSize": 36.0,
"InitialTop": 447.63784675136736,
"InitialHeight": 374.87311841178428,
"TextblockHeight": 43.0,
"Background": "#FFFFB8D8"
},
{
"Id": "1b6efb3fe7b04e6b97e1659813c59687",
"Title": "Select all elements of family",
"Nodes": [
"7970b42dcbfa4692999a0e1a62fd3de9",
"4d48a99a1c7346b7bd57af913db1c229",
"e5f79ad1bb464ac685874e988f2896b4"
],
"Left": 542.4145158041897,
"Top": 394.63784675136736,
"Width": 831.0,
"Height": 172.0,
"FontSize": 36.0,
"InitialTop": 447.63784675136736,
"InitialHeight": 149.0,
"TextblockHeight": 43.0,
"Background": "#FFC1D676"
},
{
"Id": "fb9e5f3712834e48bd9a4962a525f473",
"Title": "Copy parameters",
"Nodes": [
"25cc77ab0a6a414dafcc5e9107d05418",
"2d02bba5dfdd42c0bf49b54a68bcdb09"
],
"Left": 1483.29809031464,
"Top": 598.479949675299,
"Width": 589.20130096713,
"Height": 436.04266216812789,
"FontSize": 36.0,
"InitialTop": 651.479949675299,
"InitialHeight": 413.04266216812857,
"TextblockHeight": 43.0,
"Background": "#FFC1D676"
}
],
"X": -26.26884093997424,
"Y": 336.99616195116096,
"Zoom": 0.28955026871897455
}
}

View File

View File

View File

@@ -0,0 +1,256 @@
{
"Uuid": "b251e7c8-67f4-4e66-bece-ac6a92e6f595",
"IsCustomNode": false,
"Description": null,
"Name": "DisallowJoinSelectedFrames",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "d19d4c86-0336-477c-b986-8052ebe06752",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "2d6e4f3ed11d432d8eba16b8d897b539",
"Inputs": [
{
"Id": "e5dff2a9302a44059567ae92cef8e4eb",
"Name": "elements",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "eec92de8b3ae47bf96ca92579d34cec6",
"Name": "elements",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Structural Framing elements are set to dissalow Join on both ends.\r\n\r\nThe code ignores anything but structural framing.\r\nInput may be a singel item or a list of items"
},
{
"ConcreteType": "Dynamo.Nodes.DSModelElementsSelection, DSRevitNodesUI",
"NodeType": "ExtensionNode",
"InstanceId": [
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f72",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f74",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f76",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f78",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f7a",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f7c",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f7e",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f80",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f82",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f84",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f86",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f88",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f8a",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f8c",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f8e",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f90",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f92",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f94",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f96",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f98",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f9a",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f9c",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0f9e",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fa0",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fa2",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fa4",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fa6",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fa8",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0faa",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fac",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fae",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fb0",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fb2",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fb4",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fb6",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fb8",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fba",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fbc",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fbe",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fc0",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fc2",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fc4",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fc6",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fc8",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fca",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fcc",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fce",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fd0",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fd2",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fd4",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fd6",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fd8",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fda",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fdc",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fde",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fe0",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fe2",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fe4",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fe6",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fe8",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fea",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fec",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0fee",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0ff0",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0ff2",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0ff4",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0ff6",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0ff8",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0ffa",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0ffc",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c0ffe",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1000",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1002",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1004",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1006",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1008",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c100a",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c100c",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c100e",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1010",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1012",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1014",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1016",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1018",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c101a",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c101c",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c101e",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1020",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1022",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1024",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1026",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1028",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c102a",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c102c",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c102e",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1030",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1032",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1034",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1036",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1038",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c103a",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c103c",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c103e",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1040",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1042",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1044",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1046",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1048",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c104a",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c104c",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c104e",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1050",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1052",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1054",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1056",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c1058",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c105a",
"eb20aa53-3b2e-44ff-9a46-00b1a0388304-004c105c"
],
"Id": "6445356ba6b34f3ea94314ed8750647b",
"Inputs": [],
"Outputs": [
{
"Id": "e8f030ac1f314800b8960e0701fcb662",
"Name": "Elements",
"Description": "The selected elements.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled"
}
],
"Connectors": [
{
"Start": "e8f030ac1f314800b8960e0701fcb662",
"End": "e5dff2a9302a44059567ae92cef8e4eb",
"Id": "9959f61a1ebf450cbe6558bcdc2255fc"
}
],
"Dependencies": [
"d19d4c86-0336-477c-b986-8052ebe06752"
],
"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": "StructuralFraming.DisallowJoins",
"Id": "2d6e4f3ed11d432d8eba16b8d897b539",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 738.19309824418315,
"Y": 700.15798375149006
},
{
"ShowGeometry": true,
"Name": "Select Model Elements",
"Id": "6445356ba6b34f3ea94314ed8750647b",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": 400.19309824418315,
"Y": 700.15798375149006
}
],
"Annotations": [
{
"Id": "02ff86e592d045389134ecbf894974c1",
"Title": "Script Name: \n\nPackages used in this script: \nStructuralFraming.DisallowJoins version: 1.0.0\n\nTimeStamp : 2019/6/27 16:20",
"Nodes": [],
"Left": 413.39555191078927,
"Top": 565.56834513113813,
"Width": 0.0,
"Height": 0.0,
"FontSize": 36.0,
"InitialTop": 0.0,
"InitialHeight": 0.0,
"TextblockHeight": 0.0,
"Background": "#FFC1D676"
}
],
"X": -263.5035402109358,
"Y": -208.182916942465,
"Zoom": 0.95404292488281262
}
}

View File

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,28 @@
@echo off
SETLOCAL EnableDelayedExpansion
REM Dwg import template copier
REM Copies and renames the default rfa file to all dwg files in the folder.
REM Current revit file is for revit 2019
REM Created by Peter Gyetvai: gyetpet@gmail.com
REM ---------
REM VARIABLES
REM ---------
SET FILEEXT=dwg
SET TEMPLATEFILENAME=Detail_empty
REM -----------------------
REM Beginning of the script
REM -----------------------
for /R "%~dp0" %%f in (*.%FILEEXT%) do (
echo processing: %%f
copy "%~dp0\%TEMPLATEFILENAME%.rfa" "%~dp0%%~nf.rfa"
echo "%~dp0%%~nf.rfa">> "%~dp0filelist.txt"
)
REM -----------------
REM End of the script
REM -----------------

View File

@@ -44,6 +44,22 @@ State: stable
UI: no ui UI: no ui
### CopyParameterValuesToParameter
Copy parameter values of a selected family to another parameter of the same family
State: stable
UI: DynamoPlayer
### DisallowJoinSelectedFrames
Disallow join on both end on the selected frames
State: stable
UI: DynamoPlayer
### DwgImportCleaner ### DwgImportCleaner
Removes all imported dwgs Removes all imported dwgs
@@ -60,7 +76,15 @@ State: stable
UI: DynamoPlayer UI: DynamoPlayer
### ImportobjBatch ### ImportDwgBatch
State: same as importobj, just with dwg
state: stable, under developement
UI: no ui
### ImportObjBatch
Imports all objs from a folder to separate rfa files. Designed to be used with Revit Batch Processor Imports all objs from a folder to separate rfa files. Designed to be used with Revit Batch Processor
@@ -115,3 +139,37 @@ Created for kimai-export-parser
Input: Weekday. Output: number of the day starting from monday Input: Weekday. Output: number of the day starting from monday
State: stable, should work in 2.x as well. State: stable, should work in 2.x as well.
### ReplaceFollowingElements
Replace same elements follow each other
Input:
- list: a list of lists
- searchFor: the value you want to replace if follows each other
- replacement: string to replace the following elements
- countUnit: on the replaced list append this value to the count of the same elements
Output:
- replacedList: A list where all of the found following same elements replaced with the replacement
- firstReplacedList: Only the first element is replaced, others counted and appended by the countUnit
### ReplaceFollowingSameElements
Replace all following same elements in a list of lists. The differences between this and the previous node thet here you don't have to add a searchfor, itt will replace all following elements
Input:
- list: a list of lists
- replacement: string to replace the following elements
- countUnit: on the replaced list append this value to the count of the same elements
Output:
- allReplaced: A list where all of the found following same elements replaced with the replacement
- firstCounted: The first element replaced by the number of following elements, others replaced by the replacement
- firstOriginal: First element is the same as before, others replaced by the replacement
Python source is included next to the .dyf

File diff suppressed because it is too large Load Diff

View File

@@ -622,505 +622,6 @@
], ],
"Replication": "Auto", "Replication": "Auto",
"Description": "Forces a sequential order of execution. The node wired into the output of the Passthrough node will be executed *after* the node wired into the waitFor input (e.g. important for some Revit operations). The value of the passThrough input will be passed on to the node wired into the output port of the Passthrough node." "Description": "Forces a sequential order of execution. The node wired into the output of the Passthrough node will be executed *after* the node wired into the waitFor input (e.g. important for some Revit operations). The value of the passThrough input will be passed on to the node wired into the output port of the Passthrough node."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "\".rvt\";\n\".ifc\";",
"Id": "2d4788620d7a4f9f90d91a0410381c12",
"Inputs": [],
"Outputs": [
{
"Id": "b1a77ceaf230406b86313b60d15d6680",
"Name": "",
"Description": "Value of expression at line 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "9bebfbf7777d4c5b8771f3874204d0d4",
"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.Replace@string,string,string",
"Id": "bb1819bf949a4e8bae609a0434d29703",
"Inputs": [
{
"Id": "011dc854fd9c47feb11b594b5c950f49",
"Name": "str",
"Description": "String to replace substrings in.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "0160e85256a546e3b9553b854f00099f",
"Name": "searchFor",
"Description": "Text to be replaced.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "7eb161fc896a4c6092c5dde453b6a49a",
"Name": "replaceWith",
"Description": "Text to replace with.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "89482d1d936a4c868dadd4d66732eeb2",
"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": "DSRevitNodesUI.ElementsOfCategory, DSRevitNodesUI",
"NodeType": "ExtensionNode",
"Id": "0920eebe704f49898eb3f9d3e5cc1642",
"Inputs": [
{
"Id": "3cc840d6dd06455e8456e2a505faa27e",
"Name": "Category",
"Description": "The Category",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "e4b44c4b724a45969839efc55538390d",
"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": 587,
"NodeType": "ExtensionNode",
"Id": "d1c028b80b754d6ebaefa9b962bdf1d7",
"Inputs": [],
"Outputs": [
{
"Id": "1f2d244dffd041098d42ba2f842211f6",
"Name": "Category",
"Description": "The selected Category.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "All built-in categories."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "\"Export\";",
"Id": "6d110f67e7ae4233baad0b0daac8e061",
"Inputs": [],
"Outputs": [
{
"Id": "2ecf064e3cbf45d19fcc9a2c225609ed",
"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.FirstIndexOf@var[]..[],var",
"Id": "e954fb84737e4c57b6e8f0349b96be73",
"Inputs": [
{
"Id": "4b9af428ae3741619533e87e86e0c7da",
"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": "ced07650bc774550b5a3bd0091bb5b4b",
"Name": "item",
"Description": "Item to look for.\n\nvar",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "6a2a6985d08f445ca6b5d6c177e691b0",
"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": "DSCore.List.GetItemAtIndex@var[]..[],int",
"Id": "ada340c900f7470b87ca6731aac34b34",
"Inputs": [
{
"Id": "d4a362fb7f3b4968b4c7b7df9313dc25",
"Name": "list",
"Description": "List to fetch an item from.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "c4d32d03759e4c4989205ac72047e725",
"Name": "index",
"Description": "Index of the item to be fetched.\n\nint",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "7e7047b05c934ec0a3ac8ed5b2ae6583",
"Name": "item",
"Description": "Item in the list at the given index.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Returns an item from the given list that's located at the specified index.\n\nList.GetItemAtIndex (list: var[]..[], index: int): var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "9266cc47-e982-46fc-9fd4-59bd7fb19a53",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "2fa1000c1f4c49f0b391d3910fbd4029",
"Inputs": [
{
"Id": "d3bb3d5bd3094a74adb988e67cd34746",
"Name": "element",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "cdf78cc829e14e498120451ed83d846e",
"Name": "name",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Gets an element's name. Unlike the OOTB node, this node should work for all Revit elements that have names and will also return the localized names of system parameters, parameter groups, display unit types, parameter types, unit symbol types and unit types."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "\"IFC2x3 Coordination View 2.0\";\n\"IFC2x3 Coord 2.0 PBP\";",
"Id": "85a019f2721d42f5b4d6ab7865d652a2",
"Inputs": [],
"Outputs": [
{
"Id": "a6ebc4ed2440470ab3d96d4eb3d07059",
"Name": "",
"Description": "Value of expression at line 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "491a676ce85049cd91dfb973d35a476a",
"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": "Orchid.RevitProject.IFC.Export@var,var,Revit.Elements.Element,Revit.Elements.Element,string,bool",
"Id": "856cf5674ca54e66af2cea2ccc1671d4",
"Inputs": [
{
"Id": "8b78e1cb1e384fcfacda7f935f2d08a0",
"Name": "document",
"Description": "Document as Revit type\n\nvar\nDefault value : null",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "e1493edd0c4149748d8bf803e2a6d5c6",
"Name": "setting",
"Description": "IFC export setting\n\nvar\nDefault value : null",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "739b89ec4cea46a4a64da91be406dbca",
"Name": "view",
"Description": "View as Dynamo type\n\nElement\nDefault value : null",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "921fa133d9334619be83276420b31c0b",
"Name": "phase",
"Description": "Phase to export as Dynamo type\n\nElement\nDefault value : null",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "5399ce1ba2874673b8a0d1e380a6fe44",
"Name": "file",
"Description": "The export file name incl. path\n\nstring\nDefault value : null",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "79564ac0824c43cd80c23db30b907059",
"Name": "overwrite",
"Description": "Overwrite existing file?\n\nbool\nDefault value : true",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "79c85ac5494f4c48b59e04585ebefae4",
"Name": "watch",
"Description": "Add a watch node to verify the output",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Export to IFC. Require IFC exporter 19.1.0 or higher https://sourceforge.net/projects/ifcexporter . the export function includes a default IFC export setting!\n\nIFC.Export (document: var = null, setting: var = null, view: Element = null, phase: Element = null, file: string = null, overwrite: bool = true): string"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Orchid.RevitProject.IFC.SettingByName@string",
"Id": "a54c2fb49e18446981237ff6d5f3ea2d",
"Inputs": [
{
"Id": "b9ef9f3ff9bf49269ddc1bd0c9009562",
"Name": "name",
"Description": "The IFC setting name\n\nstring\nDefault value : null",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "b884789ed5fe4889b4d2d83bd7e44376",
"Name": "Setting",
"Description": "Ifc export setting",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Ifc export setting, based on the available in the document\n\nIFC.SettingByName (name: string = null): var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Orchid.RevitProject.Document.Current",
"Id": "19a355f78e3a41c093feccaaacdf2695",
"Inputs": [],
"Outputs": [
{
"Id": "68d75dedafc34bbc90635630040b8cc8",
"Name": "Document",
"Description": "Document as Revit type",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Get current document\n\nDocument.Current: var"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "ecce77dc-1290-438e-a056-970b256fd553",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "baa71c9c52cb42b389003c313a102126",
"Inputs": [
{
"Id": "d8fe20ffc59f4376bdefb4afab64e4bf",
"Name": "passThrough",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "7d5fb4a821914db184fd45647149f665",
"Name": "waitFor",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "537a616d57b249cc8613af9f980499ee",
"Name": "passThrough",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Forces a sequential order of execution. The node wired into the output of the Passthrough node will be executed *after* the node wired into the waitFor input (e.g. important for some Revit operations). The value of the passThrough input will be passed on to the node wired into the output port of the Passthrough node."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Application.Document.FilePath",
"Id": "9f0d87c10b2a46ae98e1dc5d8e341b47",
"Inputs": [
{
"Id": "6da9384155984b298d10f357ad8981a3",
"Name": "document",
"Description": "Revit.Application.Document",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "a7aae8b33c934a039d8d3ca92054d346",
"Name": "string",
"Description": "string",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "The full path of the Document.\n\nDocument.FilePath: string"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Application.Document.Current",
"Id": "a260388a5a2c4e079b5d2c14654b1596",
"Inputs": [],
"Outputs": [
{
"Id": "44b00b64e63a46f8b5b2b3a3c1b28e82",
"Name": "Document",
"Description": "Document",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Get the current document\n\nDocument.Current: Document"
} }
], ],
"Connectors": [ "Connectors": [
@@ -1219,101 +720,15 @@
"End": "258a32056ef846a58abd943778ee5514", "End": "258a32056ef846a58abd943778ee5514",
"Id": "ac74e68452cb49cbb47e654d4cff8de7" "Id": "ac74e68452cb49cbb47e654d4cff8de7"
}, },
{
"Start": "e6069f2447694caba2661cdd330b6a45",
"End": "7d5fb4a821914db184fd45647149f665",
"Id": "b5d383e0312b4f7c823e8602d3aad70a"
},
{ {
"Start": "d7359dd27c1e4b269713d5b42326fd48", "Start": "d7359dd27c1e4b269713d5b42326fd48",
"End": "946370aef55e4cea83116f0fee415106", "End": "946370aef55e4cea83116f0fee415106",
"Id": "44247ef2d54d40a8895143b64862dc9a" "Id": "44247ef2d54d40a8895143b64862dc9a"
},
{
"Start": "b1a77ceaf230406b86313b60d15d6680",
"End": "0160e85256a546e3b9553b854f00099f",
"Id": "74e1d9addd8c43db8d5a3fa7e7cab8e8"
},
{
"Start": "9bebfbf7777d4c5b8771f3874204d0d4",
"End": "7eb161fc896a4c6092c5dde453b6a49a",
"Id": "2f3ec32cfd024ce2b3e45b763e648dc3"
},
{
"Start": "89482d1d936a4c868dadd4d66732eeb2",
"End": "5399ce1ba2874673b8a0d1e380a6fe44",
"Id": "3b957cda7cd44e7789e5a4e9c329aeb5"
},
{
"Start": "e4b44c4b724a45969839efc55538390d",
"End": "d3bb3d5bd3094a74adb988e67cd34746",
"Id": "d589af5facd044daa334c131d65f513b"
},
{
"Start": "e4b44c4b724a45969839efc55538390d",
"End": "d4a362fb7f3b4968b4c7b7df9313dc25",
"Id": "c95d8a7fe7e14bf5aade8d6a1452daa5"
},
{
"Start": "1f2d244dffd041098d42ba2f842211f6",
"End": "3cc840d6dd06455e8456e2a505faa27e",
"Id": "aa84a85339764403be150e0ba183b47f"
},
{
"Start": "2ecf064e3cbf45d19fcc9a2c225609ed",
"End": "ced07650bc774550b5a3bd0091bb5b4b",
"Id": "17fec5bd93664133a2d2c3dd6292ead8"
},
{
"Start": "6a2a6985d08f445ca6b5d6c177e691b0",
"End": "c4d32d03759e4c4989205ac72047e725",
"Id": "9b17ed169b554355a73c18482d0f47a7"
},
{
"Start": "7e7047b05c934ec0a3ac8ed5b2ae6583",
"End": "739b89ec4cea46a4a64da91be406dbca",
"Id": "af62603d2cc9426d9822d7ec5e70341f"
},
{
"Start": "cdf78cc829e14e498120451ed83d846e",
"End": "4b9af428ae3741619533e87e86e0c7da",
"Id": "ce5dc95bdfd5467ca26bfdc0d59a5fda"
},
{
"Start": "491a676ce85049cd91dfb973d35a476a",
"End": "d8fe20ffc59f4376bdefb4afab64e4bf",
"Id": "ea8d41f9cdbf4a0cbac3f24e1fa0fb33"
},
{
"Start": "b884789ed5fe4889b4d2d83bd7e44376",
"End": "e1493edd0c4149748d8bf803e2a6d5c6",
"Id": "0403441102a94e728194a7678fab827e"
},
{
"Start": "68d75dedafc34bbc90635630040b8cc8",
"End": "8b78e1cb1e384fcfacda7f935f2d08a0",
"Id": "2642f6e53c37410eaa6e910b27e0042f"
},
{
"Start": "537a616d57b249cc8613af9f980499ee",
"End": "b9ef9f3ff9bf49269ddc1bd0c9009562",
"Id": "0e17227458274fb6a72df34d530629f8"
},
{
"Start": "a7aae8b33c934a039d8d3ca92054d346",
"End": "011dc854fd9c47feb11b594b5c950f49",
"Id": "dd3713af14ac423e8d4d2a3b45a8c18e"
},
{
"Start": "44b00b64e63a46f8b5b2b3a3c1b28e82",
"End": "6da9384155984b298d10f357ad8981a3",
"Id": "c5486291178f4c18911172025ae88aa9"
} }
], ],
"Dependencies": [ "Dependencies": [
"a4dd8f6e-689f-4998-b8ef-4a04146d12c2", "a4dd8f6e-689f-4998-b8ef-4a04146d12c2",
"ecce77dc-1290-438e-a056-970b256fd553", "ecce77dc-1290-438e-a056-970b256fd553"
"9266cc47-e982-46fc-9fd4-59bd7fb19a53"
], ],
"Bindings": [], "Bindings": [],
"View": { "View": {
@@ -1527,156 +942,6 @@
"Excluded": false, "Excluded": false,
"X": 1801.5140858367813, "X": 1801.5140858367813,
"Y": 673.26154643404084 "Y": 673.26154643404084
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "2d4788620d7a4f9f90d91a0410381c12",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 4883.5249463163564,
"Y": 1434.5644237003448
},
{
"ShowGeometry": true,
"Name": "String.Replace",
"Id": "bb1819bf949a4e8bae609a0434d29703",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 5198.5249463163564,
"Y": 1363.1377570336783
},
{
"ShowGeometry": true,
"Name": "All Elements of Category",
"Id": "0920eebe704f49898eb3f9d3e5cc1642",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 4400.1720901250292,
"Y": 876.09568431708226
},
{
"ShowGeometry": true,
"Name": "Categories",
"Id": "d1c028b80b754d6ebaefa9b962bdf1d7",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 4134.1720901250292,
"Y": 876.09568431708226
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "6d110f67e7ae4233baad0b0daac8e061",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 4657.14716410515,
"Y": 1082.3907060582403
},
{
"ShowGeometry": true,
"Name": "List.FirstIndexOf",
"Id": "e954fb84737e4c57b6e8f0349b96be73",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 4961.14716410515,
"Y": 1013.1773727249069
},
{
"ShowGeometry": true,
"Name": "List.GetItemAtIndex",
"Id": "ada340c900f7470b87ca6731aac34b34",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 5240.1720901250292,
"Y": 882.59568431708226
},
{
"ShowGeometry": true,
"Name": "Element.Name+",
"Id": "2fa1000c1f4c49f0b391d3910fbd4029",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 4657.14716410515,
"Y": 974.177372724907
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "85a019f2721d42f5b4d6ab7865d652a2",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 4268.6935967047584,
"Y": 658.064108677994
},
{
"ShowGeometry": true,
"Name": "IFC.Export",
"Id": "856cf5674ca54e66af2cea2ccc1671d4",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 5726.5729440465411,
"Y": 521.872322656337
},
{
"ShowGeometry": true,
"Name": "IFC.SettingByName",
"Id": "a54c2fb49e18446981237ff6d5f3ea2d",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 5140.1438370547949,
"Y": 600.13315890770139
},
{
"ShowGeometry": true,
"Name": "Document.Current",
"Id": "19a355f78e3a41c093feccaaacdf2695",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 5220.8248317366561,
"Y": 448.85629387921108
},
{
"ShowGeometry": true,
"Name": "Passthrough",
"Id": "baa71c9c52cb42b389003c313a102126",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 4681.5582386802234,
"Y": 420.55966063876394
},
{
"ShowGeometry": true,
"Name": "Document.FilePath",
"Id": "9f0d87c10b2a46ae98e1dc5d8e341b47",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 4883.5249463163564,
"Y": 1326.1377570336783
},
{
"ShowGeometry": true,
"Name": "Document.Current",
"Id": "a260388a5a2c4e079b5d2c14654b1596",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 4655.5249463163564,
"Y": 1326.1377570336783
} }
], ],
"Annotations": [ "Annotations": [
@@ -1728,40 +993,10 @@
"InitialHeight": 378.07004169574213, "InitialHeight": 378.07004169574213,
"TextblockHeight": 43.0, "TextblockHeight": 43.0,
"Background": "#FFC1D676" "Background": "#FFC1D676"
},
{
"Id": "f46261c0a2014609a747db9a9d482986",
"Title": "Export ifc",
"Nodes": [
"2d4788620d7a4f9f90d91a0410381c12",
"bb1819bf949a4e8bae609a0434d29703",
"0920eebe704f49898eb3f9d3e5cc1642",
"d1c028b80b754d6ebaefa9b962bdf1d7",
"6d110f67e7ae4233baad0b0daac8e061",
"e954fb84737e4c57b6e8f0349b96be73",
"ada340c900f7470b87ca6731aac34b34",
"2fa1000c1f4c49f0b391d3910fbd4029",
"85a019f2721d42f5b4d6ab7865d652a2",
"856cf5674ca54e66af2cea2ccc1671d4",
"a54c2fb49e18446981237ff6d5f3ea2d",
"19a355f78e3a41c093feccaaacdf2695",
"baa71c9c52cb42b389003c313a102126",
"9f0d87c10b2a46ae98e1dc5d8e341b47",
"a260388a5a2c4e079b5d2c14654b1596"
],
"Left": 4124.1720901250292,
"Top": 367.55966063876394,
"Width": 1829.400853921512,
"Height": 1170.0047630615809,
"FontSize": 36.0,
"InitialTop": 420.55966063876394,
"InitialHeight": 1147.0047630615811,
"TextblockHeight": 43.0,
"Background": "#FFC1D676"
} }
], ],
"X": -510.62823152348983, "X": -900.72862415757663,
"Y": 242.84372698514881, "Y": 146.70621995134951,
"Zoom": 0.36052227403133252 "Zoom": 0.54146208521015526
} }
} }

222
WIP/BuildingPadFiller.dyn Normal file
View File

@@ -0,0 +1,222 @@
<Workspace Version="1.3.3.4111" X="-4488.6368711354" Y="713.529957321752" zoom="0.685483696396379" ScaleFactor="1" Name="Home" Description="" RunType="Automatic" RunPeriod="1000" HasRunWithoutCrash="True">
<NamespaceResolutionMap />
<Elements>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="12c56b72-7c1b-4822-9ec7-e0e82b39d80a" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Category.ByName" x="345.66534964665" y="278.986772028268" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.Category.ByName@string">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="4176baef-ca44-4cb5-a47e-b70b851b1ae0" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="146.648814681985" y="279.714954540645" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;BuildingPad&quot;;" ShouldFocus="false" />
<DSRevitNodesUI.ElementsOfCategory guid="7d1d729c-dd0d-42e2-9582-0e626ac52a10" type="DSRevitNodesUI.ElementsOfCategory" nickname="All Elements of Category" x="602.810857335702" y="284.046297901062" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
</DSRevitNodesUI.ElementsOfCategory>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="e0ee8795-93eb-4cc8-b82b-ad42c52a8705" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Element.Faces" x="1106.21248551821" y="246.324160056227" isVisible="false" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="RevitNodes.dll" function="Revit.Elements.Element.Faces">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="2d5757c9-a543-46a6-bafc-1400b50e4a43" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Surface.NormalAtParameter" x="1487.82159326301" y="3.2399217970424" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="ProtoGeometry.dll" function="Autodesk.DesignScript.Geometry.Surface.NormalAtParameter@double,double">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="True" />
<PortInfo index="2" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="0d943e8b-f967-4c6c-81ab-7802bf299c55" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="1297.18670350159" y="62.8086623258659" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="0.5;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="72e9cc37-71f2-4448-a2c2-3f37d6f4eb04" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.AllIndicesOf" x="1923.95824719109" y="11.1744554708653" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.List.AllIndicesOf@var[]..[],var">
<PortInfo index="0" default="False" useLevels="True" level="2" shouldKeepListStructure="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="d6ae5fc6-3cd0-4acb-bb90-97b1cb1bc8bd" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="1758.90627093855" y="136.0501058478" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="-1.00;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="5d3dba97-d78b-401d-93d1-f1e29998e468" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="1747.62427591054" y="13.7628287363787" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="a.Z;" ShouldFocus="false">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.CodeBlockNodeModel>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="a38a5938-b88b-4f2c-9b9e-c19667bc1c08" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.MaximumItem" x="3551.9408435831" y="509.218836690425" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.List.MaximumItem@var[]">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="6bf897de-ae3a-4f95-b47a-a362b87c8b8c" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.GetItemAtIndex" x="2233.29263815173" y="112.228688993468" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.List.GetItemAtIndex@var[]..[],int">
<PortInfo index="0" default="False" useLevels="True" level="2" shouldKeepListStructure="False" />
<PortInfo index="1" default="False" useLevels="True" level="2" shouldKeepListStructure="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="b819256a-15e0-457c-afb8-44868f221c36" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Surface.PointAtParameter" x="2857.30400351755" y="497.112001165456" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="ProtoGeometry.dll" function="Autodesk.DesignScript.Geometry.Surface.PointAtParameter@double,double">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="True" />
<PortInfo index="2" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="42cf6ed0-01eb-4b24-8d31-23d118cb5ebc" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="2666.09077884982" y="560.458280066526" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="0.5;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="1d46f121-e8eb-4c9f-8739-87dc20bf7d97" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="3110.69701832099" y="500.278486409875" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="true" CodeText="a.Z;" ShouldFocus="false">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.CodeBlockNodeModel>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="e89579b6-b0e9-402e-9654-d0c0fe7480d4" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Flatten" x="3303.23708885302" y="565.350240420583" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="BuiltIn" function="Flatten@var[]..[]">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="54cf4255-83af-4ef0-90ea-bd2fd98961df" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="-" x="3785.91761099313" y="294.078106815319" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="Operators" function="-@var[]..[],var[]..[]">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="d03ec2af-e9bc-4358-8817-ab27f2c6c38f" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Surface.Thicken" x="4428.14172056816" y="-157.199236134553" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="ProtoGeometry.dll" function="Autodesk.DesignScript.Geometry.Surface.Thicken@double">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="d8cadfbe-3da2-4ddd-a5cd-a3aae5ccad99" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Geometry.Translate" x="4095.49502425992" y="-176.282618139412" isVisible="false" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="ProtoGeometry.dll" function="Autodesk.DesignScript.Geometry.Geometry.Translate@double,double,double">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="True" />
<PortInfo index="2" default="True" />
<PortInfo index="3" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="1c2bbe8d-de11-486d-b3a0-c15634fe252c" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="4273.45353103972" y="5.17528419215148" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="1000;" ShouldFocus="false" />
<CoreNodeModels.Logic.If guid="857b07ba-3fd5-4577-9ffc-7c19fb57461a" type="CoreNodeModels.Logic.If" nickname="If" x="6277.01950170341" y="-278.375347311783" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="true">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</CoreNodeModels.Logic.If>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="414d313a-82cc-4d6f-88cb-b14110bdc71f" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="6063.99192036781" y="0.0725084239602438" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="null;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="6fc11595-65fb-42bc-97b1-7e1ab247b426" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.Count" x="4763.79883266471" y="726.612238868154" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.List.Count@var[]..[]">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<CoreNodeModels.Sequence guid="3d3ecd6d-da1a-4df0-8b03-8541f9db5658" type="CoreNodeModels.Sequence" nickname="Sequence" x="5225.79887129882" y="482.824417164843" isVisible="true" isUpstreamVisible="true" lacing="Longest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="True" />
<PortInfo index="1" default="True" />
<PortInfo index="2" default="True" />
</CoreNodeModels.Sequence>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="89d48d1f-6ffd-4575-a305-759e14306a9f" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="5066.23952966013" y="584.059185961667" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="0;&#xA;a;&#xA;1;" ShouldFocus="false">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.CodeBlockNodeModel>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="1b508977-c898-4819-ad26-ca31fd2ca713" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.Cycle" x="5605.14078077145" y="645.77727675744" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.List.Cycle@var[]..[],int">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<CoreNodeModels.CreateList guid="5685b54c-4849-4d14-b8a9-3c53828333f9" type="CoreNodeModels.CreateList" nickname="List.Create" x="5461.6221364543" y="606.008495705495" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" inputcount="1">
<PortInfo index="0" default="False" />
</CoreNodeModels.CreateList>
<CoreNodeModels.HigherOrder.Map guid="eab6329a-1d51-42ca-a88f-18c6465c96ef" type="CoreNodeModels.HigherOrder.Map" nickname="List.Map" x="6817.68953000162" y="-355.786258474422" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="true">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</CoreNodeModels.HigherOrder.Map>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="78180815-3f38-4767-987c-64d1e1fad0d5" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Flatten" x="6583.88353686258" y="-195.4508397831" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="BuiltIn" function="Flatten@var[]..[]">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="cf1add09-ec7e-454f-bf0d-90a1f215c676" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.Clean" x="7267.03626895892" y="-580.444423078267" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.Clean@var[]..[],bool">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="a1643ea9-72c3-433c-8ed8-086867c37683" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="7007" y="-526" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="false;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="df757a78-f0af-4a65-aa18-02e37f8ff8d9" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.GetItemAtIndex" x="8000.37567834058" y="-1108.60785701053" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.List.GetItemAtIndex@var[]..[],int">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<CoreNodeModels.HigherOrder.CartesianProduct guid="c8779696-c596-47cc-a6eb-5942294bfdf9" type="CoreNodeModels.HigherOrder.CartesianProduct" nickname="List.CartesianProduct" x="5613.63672352872" y="-72.5587099651834" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" inputcount="3">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</CoreNodeModels.HigherOrder.CartesianProduct>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="b35aefa6-17c6-415f-9fbc-939af6d23132" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Geometry.DoesIntersect" x="5362.47717997834" y="-122.688148171362" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="ProtoGeometry.dll" function="Autodesk.DesignScript.Geometry.Geometry.DoesIntersect@Autodesk.DesignScript.Geometry.Geometry">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<CoreNodeModels.HigherOrder.Map guid="23ef89e6-9d7c-414c-aa5c-be70762064b1" type="CoreNodeModels.HigherOrder.Map" nickname="List.Map" x="8137.92964705141" y="-450.129721629202" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</CoreNodeModels.HigherOrder.Map>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="0a5780c4-9922-40cf-bdc1-12f59bf01771" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.ContainsItem" x="7987.19511291416" y="-523.572703819441" isVisible="true" isUpstreamVisible="true" lacing="CrossProduct" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.List.ContainsItem@var[]..[],var">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="5427fa34-b770-48b0-8ae7-40ceec7c58db" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.Transpose" x="7056.84538844729" y="-48.6161954538449" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.List.Transpose@var[]..[]">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="a2016b7e-05fa-4846-af1a-2a5984b8c192" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.Count" x="7705.75589193248" y="-32.4194850698373" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="true" assembly="DSCoreNodes.dll" function="DSCore.List.Count@var[]..[]">
<PortInfo index="0" default="False" useLevels="True" level="2" shouldKeepListStructure="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="2d038432-e732-4c86-9778-c429ae792792" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.Clean" x="7395.24856066778" y="-47.3658452807144" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.Clean@var[]..[],bool">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
</Elements>
<Connectors>
<Dynamo.Graph.Connectors.ConnectorModel start="12c56b72-7c1b-4822-9ec7-e0e82b39d80a" start_index="0" end="7d1d729c-dd0d-42e2-9582-0e626ac52a10" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="4176baef-ca44-4cb5-a47e-b70b851b1ae0" start_index="0" end="12c56b72-7c1b-4822-9ec7-e0e82b39d80a" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="7d1d729c-dd0d-42e2-9582-0e626ac52a10" start_index="0" end="e0ee8795-93eb-4cc8-b82b-ad42c52a8705" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="e0ee8795-93eb-4cc8-b82b-ad42c52a8705" start_index="0" end="2d5757c9-a543-46a6-bafc-1400b50e4a43" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="e0ee8795-93eb-4cc8-b82b-ad42c52a8705" start_index="0" end="6bf897de-ae3a-4f95-b47a-a362b87c8b8c" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="2d5757c9-a543-46a6-bafc-1400b50e4a43" start_index="0" end="5d3dba97-d78b-401d-93d1-f1e29998e468" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="0d943e8b-f967-4c6c-81ab-7802bf299c55" start_index="0" end="2d5757c9-a543-46a6-bafc-1400b50e4a43" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="0d943e8b-f967-4c6c-81ab-7802bf299c55" start_index="0" end="2d5757c9-a543-46a6-bafc-1400b50e4a43" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="72e9cc37-71f2-4448-a2c2-3f37d6f4eb04" start_index="0" end="6bf897de-ae3a-4f95-b47a-a362b87c8b8c" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d6ae5fc6-3cd0-4acb-bb90-97b1cb1bc8bd" start_index="0" end="72e9cc37-71f2-4448-a2c2-3f37d6f4eb04" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="5d3dba97-d78b-401d-93d1-f1e29998e468" start_index="0" end="72e9cc37-71f2-4448-a2c2-3f37d6f4eb04" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="a38a5938-b88b-4f2c-9b9e-c19667bc1c08" start_index="0" end="54cf4255-83af-4ef0-90ea-bd2fd98961df" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="6bf897de-ae3a-4f95-b47a-a362b87c8b8c" start_index="0" end="b819256a-15e0-457c-afb8-44868f221c36" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="6bf897de-ae3a-4f95-b47a-a362b87c8b8c" start_index="0" end="d8cadfbe-3da2-4ddd-a5cd-a3aae5ccad99" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b819256a-15e0-457c-afb8-44868f221c36" start_index="0" end="1d46f121-e8eb-4c9f-8739-87dc20bf7d97" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="42cf6ed0-01eb-4b24-8d31-23d118cb5ebc" start_index="0" end="b819256a-15e0-457c-afb8-44868f221c36" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="42cf6ed0-01eb-4b24-8d31-23d118cb5ebc" start_index="0" end="b819256a-15e0-457c-afb8-44868f221c36" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="1d46f121-e8eb-4c9f-8739-87dc20bf7d97" start_index="0" end="e89579b6-b0e9-402e-9654-d0c0fe7480d4" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="1d46f121-e8eb-4c9f-8739-87dc20bf7d97" start_index="0" end="54cf4255-83af-4ef0-90ea-bd2fd98961df" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="e89579b6-b0e9-402e-9654-d0c0fe7480d4" start_index="0" end="a38a5938-b88b-4f2c-9b9e-c19667bc1c08" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="54cf4255-83af-4ef0-90ea-bd2fd98961df" start_index="0" end="d8cadfbe-3da2-4ddd-a5cd-a3aae5ccad99" end_index="3" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d03ec2af-e9bc-4358-8817-ab27f2c6c38f" start_index="0" end="6fc11595-65fb-42bc-97b1-7e1ab247b426" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d03ec2af-e9bc-4358-8817-ab27f2c6c38f" start_index="0" end="df757a78-f0af-4a65-aa18-02e37f8ff8d9" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d03ec2af-e9bc-4358-8817-ab27f2c6c38f" start_index="0" end="c8779696-c596-47cc-a6eb-5942294bfdf9" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d03ec2af-e9bc-4358-8817-ab27f2c6c38f" start_index="0" end="c8779696-c596-47cc-a6eb-5942294bfdf9" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d8cadfbe-3da2-4ddd-a5cd-a3aae5ccad99" start_index="0" end="d03ec2af-e9bc-4358-8817-ab27f2c6c38f" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="1c2bbe8d-de11-486d-b3a0-c15634fe252c" start_index="0" end="d03ec2af-e9bc-4358-8817-ab27f2c6c38f" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="857b07ba-3fd5-4577-9ffc-7c19fb57461a" start_index="0" end="eab6329a-1d51-42ca-a88f-18c6465c96ef" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="414d313a-82cc-4d6f-88cb-b14110bdc71f" start_index="0" end="857b07ba-3fd5-4577-9ffc-7c19fb57461a" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="6fc11595-65fb-42bc-97b1-7e1ab247b426" start_index="0" end="89d48d1f-6ffd-4575-a305-759e14306a9f" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="6fc11595-65fb-42bc-97b1-7e1ab247b426" start_index="0" end="1b508977-c898-4819-ad26-ca31fd2ca713" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="3d3ecd6d-da1a-4df0-8b03-8541f9db5658" start_index="0" end="5685b54c-4849-4d14-b8a9-3c53828333f9" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="3d3ecd6d-da1a-4df0-8b03-8541f9db5658" start_index="0" end="0a5780c4-9922-40cf-bdc1-12f59bf01771" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="89d48d1f-6ffd-4575-a305-759e14306a9f" start_index="0" end="3d3ecd6d-da1a-4df0-8b03-8541f9db5658" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="89d48d1f-6ffd-4575-a305-759e14306a9f" start_index="1" end="3d3ecd6d-da1a-4df0-8b03-8541f9db5658" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="89d48d1f-6ffd-4575-a305-759e14306a9f" start_index="2" end="3d3ecd6d-da1a-4df0-8b03-8541f9db5658" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="1b508977-c898-4819-ad26-ca31fd2ca713" start_index="0" end="857b07ba-3fd5-4577-9ffc-7c19fb57461a" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="5685b54c-4849-4d14-b8a9-3c53828333f9" start_index="0" end="1b508977-c898-4819-ad26-ca31fd2ca713" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="eab6329a-1d51-42ca-a88f-18c6465c96ef" start_index="0" end="cf1add09-ec7e-454f-bf0d-90a1f215c676" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="eab6329a-1d51-42ca-a88f-18c6465c96ef" start_index="0" end="5427fa34-b770-48b0-8ae7-40ceec7c58db" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="78180815-3f38-4767-987c-64d1e1fad0d5" start_index="0" end="eab6329a-1d51-42ca-a88f-18c6465c96ef" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="cf1add09-ec7e-454f-bf0d-90a1f215c676" start_index="0" end="df757a78-f0af-4a65-aa18-02e37f8ff8d9" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="cf1add09-ec7e-454f-bf0d-90a1f215c676" start_index="0" end="0a5780c4-9922-40cf-bdc1-12f59bf01771" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="a1643ea9-72c3-433c-8ed8-086867c37683" start_index="0" end="cf1add09-ec7e-454f-bf0d-90a1f215c676" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="a1643ea9-72c3-433c-8ed8-086867c37683" start_index="0" end="2d038432-e732-4c86-9778-c429ae792792" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="c8779696-c596-47cc-a6eb-5942294bfdf9" start_index="0" end="857b07ba-3fd5-4577-9ffc-7c19fb57461a" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b35aefa6-17c6-415f-9fbc-939af6d23132" start_index="0" end="c8779696-c596-47cc-a6eb-5942294bfdf9" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="5427fa34-b770-48b0-8ae7-40ceec7c58db" start_index="0" end="2d038432-e732-4c86-9778-c429ae792792" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="2d038432-e732-4c86-9778-c429ae792792" start_index="0" end="a2016b7e-05fa-4846-af1a-2a5984b8c192" end_index="0" portType="0" />
</Connectors>
<Notes />
<Annotations>
<Dynamo.Graph.Annotations.AnnotationModel guid="21ac0c53-bfa6-49a0-a2ca-ee25efca0bea" annotationText="Create number sequence" left="4753.79883266471" top="436.824417164843" width="1045.34194810674" height="382.787821703311" fontSize="30" InitialTop="482.824417164843" InitialHeight="303.817510834371" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="6fc11595-65fb-42bc-97b1-7e1ab247b426" />
<Models ModelGuid="3d3ecd6d-da1a-4df0-8b03-8541f9db5658" />
<Models ModelGuid="89d48d1f-6ffd-4575-a305-759e14306a9f" />
<Models ModelGuid="1b508977-c898-4819-ad26-ca31fd2ca713" />
<Models ModelGuid="5685b54c-4849-4d14-b8a9-3c53828333f9" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="429b7daf-0c57-462b-a0a2-9fe181ac13cf" annotationText="Get all building pads" left="136.648814681985" top="232.986772028268" width="650.162042653717" height="144.059525872794" fontSize="30" InitialTop="278.986772028268" InitialHeight="128.059525872794" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="12c56b72-7c1b-4822-9ec7-e0e82b39d80a" />
<Models ModelGuid="4176baef-ca44-4cb5-a47e-b70b851b1ae0" />
<Models ModelGuid="7d1d729c-dd0d-42e2-9582-0e626ac52a10" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="e4150fa2-206c-4e1f-b443-c533e7493cf6" annotationText="Get flat surface/2D" left="1096.21248551821" top="-42.7600782029576" width="1326.08015263352" height="382.084238259185" fontSize="30" InitialTop="3.2399217970424" InitialHeight="366.084238259185" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="e0ee8795-93eb-4cc8-b82b-ad42c52a8705" />
<Models ModelGuid="2d5757c9-a543-46a6-bafc-1400b50e4a43" />
<Models ModelGuid="0d943e8b-f967-4c6c-81ab-7802bf299c55" />
<Models ModelGuid="72e9cc37-71f2-4448-a2c2-3f37d6f4eb04" />
<Models ModelGuid="d6ae5fc6-3cd0-4acb-bb90-97b1cb1bc8bd" />
<Models ModelGuid="5d3dba97-d78b-401d-93d1-f1e29998e468" />
<Models ModelGuid="6bf897de-ae3a-4f95-b47a-a362b87c8b8c" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="803416dc-3c6b-4f46-b0fd-45b3a723d50a" annotationText="Get height diff" left="2656.09077884982" top="248.078106815319" width="1308.82683214331" height="410.272133605264" fontSize="30" InitialTop="294.078106815319" InitialHeight="394.272133605264" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="a38a5938-b88b-4f2c-9b9e-c19667bc1c08" />
<Models ModelGuid="b819256a-15e0-457c-afb8-44868f221c36" />
<Models ModelGuid="42cf6ed0-01eb-4b24-8d31-23d118cb5ebc" />
<Models ModelGuid="1d46f121-e8eb-4c9f-8739-87dc20bf7d97" />
<Models ModelGuid="e89579b6-b0e9-402e-9654-d0c0fe7480d4" />
<Models ModelGuid="54cf4255-83af-4ef0-90ea-bd2fd98961df" />
</Dynamo.Graph.Annotations.AnnotationModel>
<Dynamo.Graph.Annotations.AnnotationModel guid="19a77fb5-cc2a-4919-b289-0eacd2757480" annotationText="Create solids for intersection" left="4085.49502425992" top="-222.282618139412" width="558.64669630824" height="320.457902331563" fontSize="30" InitialTop="-176.282618139412" InitialHeight="304.457902331564" TextblockHeight="36" backgrouund="#FFC1D676">
<Models ModelGuid="d03ec2af-e9bc-4358-8817-ab27f2c6c38f" />
<Models ModelGuid="d8cadfbe-3da2-4ddd-a5cd-a3aae5ccad99" />
<Models ModelGuid="1c2bbe8d-de11-486d-b3a0-c15634fe252c" />
</Dynamo.Graph.Annotations.AnnotationModel>
</Annotations>
<Presets />
<Cameras>
<Camera Name="Background Preview" eyeX="-9123.0107421875" eyeY="16399.646484375" eyeZ="16385.17578125" lookX="7162.68603515625" lookY="-17971.15625" lookZ="-15228.81640625" upX="0.241068944334984" upY="0.824126183986664" upZ="-0.512544393539429" />
</Cameras>
</Workspace>

View File

File diff suppressed because it is too large Load Diff

View File

298
WIP/Layers.dyn Normal file
View File

@@ -0,0 +1,298 @@
<Workspace Version="1.2.0.2690" X="-784.306323494348" Y="41.6298202094514" zoom="0.749909901809946" Name="Home" Description="" RunType="Manual" RunPeriod="1000" HasRunWithoutCrash="True">
<NamespaceResolutionMap />
<Elements>
<DSRevitNodesUI.Categories guid="668e9ae9-cdd2-4dfa-b3a1-bae211b25268" type="DSRevitNodesUI.Categories" nickname="Categories" x="-739.520731747742" y="-14.7152699192407" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false" index="97:Ceilings" />
<Dynamo.Graph.Nodes.CustomNodes.Function guid="b3569226-a756-430e-a51e-1c9f66a96f75" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="FamilyType.CompoundStructureLayers" x="551.479268252258" y="75.2847300807594" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<ID value="1e3b5d82-c924-4649-a653-7fa7ead9cd1c" />
<Name value="FamilyType.CompoundStructureLayers" />
<Description value="Retrieves the compound layers of any layered family type (wall types, roof types, floor types etc.)" />
<Inputs>
<Input value="elementType" />
</Inputs>
<Outputs>
<Output value="materials" />
<Output value="functions" />
<Output value="widths" />
<Output value="isCore" />
<Output value="wraps" />
<Output value="isVariable" />
<Output value="isStructuralDeck" />
<Output value="layers" />
</Outputs>
</Dynamo.Graph.Nodes.CustomNodes.Function>
<Dynamo.Graph.Nodes.CustomNodes.Function guid="108db5ee-f5b7-4c4e-9e75-87b412541c7b" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Element.Type" x="9.47926825225795" y="108.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<ID value="4796d57c-a1a0-4676-b524-57abb5fa73be" />
<Name value="Element.Type" />
<Description value="Gets the family type of a given element (if applicable). " />
<Inputs>
<Input value="element" />
</Inputs>
<Outputs>
<Output value="type" />
</Outputs>
</Dynamo.Graph.Nodes.CustomNodes.Function>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="991085c4-3afe-46a6-9de7-fa547e5f2ba3" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Custom Shared Parameters" x="3773.47926825226" y="394.711396747426" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;RI Material Layers&quot;;&#xA;&quot;RI Layer Thickness&quot;;&#xA;&quot;&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="b5656192-0d71-4341-94bb-9f6a55e7d39a" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="String.Replace" x="3773.47926825226" y="531.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.String.Replace@string,string,string">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="38979f23-5b80-497c-ad74-ac212d011c96" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="String.Replace" x="3169.47926825226" y="405.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.String.Replace@string,string,string">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="24b38caf-0309-41e0-b48b-1d666bad1f6c" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="2848.47926825226" y="489.711396747426" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;{&quot;;&#xA;&quot;&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="2c537399-6c69-47f5-ac9f-1917b57b4b53" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="3169.47926825226" y="565.711396747426" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;}&quot;;&#xA;&quot;&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="893f16f2-7c62-4d70-a429-547bd1c7f943" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="String.Replace" x="3471.47926825226" y="468.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.String.Replace@string,string,string">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="dd35bd1f-89f9-4b92-8fa1-1583eeab535c" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="3471.47926825226" y="628.711396747426" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;,&quot;;&#xA;&quot;\r\n&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="0e33b6fd-8e73-4cb6-87c0-6080341297f3" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Element.GetParameterValueByName" x="1543.47926825226" y="75.071396747426" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.Element.GetParameterValueByName@string">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="0da2808d-fb5f-4ef3-b984-4d861f0bbbd6" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="1196.47926825226" y="157.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;Name&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="44903e0e-a85d-425b-a64b-e7f4ff5711c2" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="String.Replace" x="3773.47926825226" y="-18.7152699192407" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.String.Replace@string,string,string">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="d6bc93ae-10d7-4ebf-a98c-b4688a6bfe73" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="3471.47926825226" y="68.711396747426" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;\&quot;,&quot;;&#xA;&quot;\r\n&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="dfb95f13-9bc3-41a1-903c-f78e2f02ef69" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Element.SetParameterByName" x="4078.47926825226" y="45.2847300807593" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.Element.SetParameterByName@string,var">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="306ae294-7d02-423a-8e5a-8f3956de59d9" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="1543.47926825226" y="-229.928603252574" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;\&quot;&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="afe55cb8-a04c-4431-9b85-c5135cd42e92" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="1894.47926825226" y="-247.501936585907" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="a+b+c;" ShouldFocus="false">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.CodeBlockNodeModel>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="19e0d6f2-6485-4819-984c-b9f291e53bb2" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="String.Replace" x="4078.47926825226" y="205.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.String.Replace@string,string,string">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="0d86ad21-cef7-425f-adec-bddd81f50908" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="3773.47926825226" y="275.711396747426" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;\&quot;&quot;;&#xA;&quot;&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="2107a0d0-5686-481c-8134-c42fa4a12bb7" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Element.SetParameterByName" x="4078.47926825226" y="365.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.Element.SetParameterByName@string,var">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="52e13ce5-b695-49cc-bae4-7c9027f8f7e0" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="3169.47926825226" y="5.71139674742597" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;}&quot;;&#xA;&quot;&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="2a2686cc-2075-4e45-9e4f-968e88070a75" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="String.Replace" x="3471.47926825226" y="-91.7152699192407" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.String.Replace@string,string,string">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<CoreNodeModels.FromArray guid="449eff57-8a91-4fb3-abb1-cdbb77262f08" type="CoreNodeModels.FromArray" nickname="String from Array" x="2458.47926825226" y="316.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
</CoreNodeModels.FromArray>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="9e04ef85-6102-490d-8ae6-ffb13a013398" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="2458.47926825226" y="424.498063414093" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;},{&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction guid="ca4baa75-97c4-405f-a187-4473b6604d8f" type="Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction" nickname="String.Split" x="2848.47926825226" y="355.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.String.Split@string,string[]" inputcount="2">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction>
<Dynamo.Graph.Nodes.CustomNodes.Function guid="e8e0c18d-fbc7-4d06-9159-fa163f4bd95f" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="Springs.Number.ToString" x="1543.47926825226" y="274.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<ID value="7138be89-af7b-4232-b938-e63a5fe78240" />
<Name value="Springs.Number.ToString" />
<Description value="Converts the input number(s) to string. Can process lists." />
<Inputs>
<Input value="num" />
</Inputs>
<Outputs>
<Output value="str" />
</Outputs>
</Dynamo.Graph.Nodes.CustomNodes.Function>
<DSRevitNodesUI.ElementsOfCategory guid="2d8b3b8c-181f-4377-bd1c-ff438435a2a5" type="DSRevitNodesUI.ElementsOfCategory" nickname="All Elements of Category" x="-258.520731747742" y="108.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
</DSRevitNodesUI.ElementsOfCategory>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="36407317-1479-4cb4-91a1-8ce50352d45a" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="3773.47926825226" y="691.711396747426" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot; &quot;;&#xA;&quot;&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="9cb83b03-0a43-4c24-9c7d-d74cf506067a" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="String.Replace" x="4078.47926825226" y="525.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.String.Replace@string,string,string">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<DSRevitNodesUI.Categories guid="ebe9480a-1191-49c4-89cd-99a57325b06c" type="DSRevitNodesUI.Categories" nickname="Categories" x="-739.520731747742" y="93.2847300807593" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false" index="197:Floors" />
<DSRevitNodesUI.Categories guid="78191b33-be52-4cba-9331-af8c26df6542" type="DSRevitNodesUI.Categories" nickname="Categories" x="-739.520731747742" y="201.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false" index="541:Walls" />
<DSRevitNodesUI.Categories guid="68c0dfc1-cab0-4936-9d2b-67afd239bb5a" type="DSRevitNodesUI.Categories" nickname="Categories" x="-739.520731747742" y="309.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="True" IsFrozen="false" isPinned="false" index="364:Roofs" />
<CoreNodeModels.FromArray guid="0e21c11d-162d-4323-8f8e-567849a428d4" type="CoreNodeModels.FromArray" nickname="String from Array" x="2175.47926825226" y="-251.715269919241" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
</CoreNodeModels.FromArray>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="b8c79614-cdc3-4376-96b9-18418ccd1e16" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="2458.47926825226" y="-127.501936585907" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;},{&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction guid="d3cbcccd-1225-4600-8eb3-56b132f6711e" type="Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction" nickname="String.Split" x="2848.47926825226" y="-204.715269919241" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.String.Split@string,string[]" inputcount="2">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSVarArgFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="fab38035-aae4-44d6-8b93-3f2cea3eef95" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="2848.47926825226" y="-70.288603252574" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="&quot;{&quot;;&#xA;&quot;&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="9eea3026-1e3e-4be0-bad0-a6476995d800" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="String.Replace" x="3169.47926825226" y="-154.715269919241" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.String.Replace@string,string,string">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<CoreNodeModels.Watch guid="49a1baf4-3df8-45b3-bbd6-f44114d18104" type="CoreNodeModels.Watch" nickname="Watch" x="2458.47926825226" y="-251.715269919241" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
</CoreNodeModels.Watch>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="d883a9c0-3d06-40ae-b2cc-b444981ee310" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="ReviseInstantly.com" x="-481.431613706132" y="-129.59257047571" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="true" isPinned="false" CodeText="&quot;v1.0.2016-10-31&quot;;" ShouldFocus="false" />
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="52c34da4-5ae3-4fce-92be-b8dae8e86f63" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.Chop" x="2175.47926825226" y="316.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.Chop@var[]..[],int[]">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CustomNodes.Function guid="cd355608-337a-496b-987d-9bd74123e269" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="List.SublistLengths" x="1894.47926825226" y="384.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<ID value="94acdb87-65e9-4dbe-8430-aced99f668d5" />
<Name value="List.SublistLengths" />
<Description value="Gets the lengths of all sublists in a given list of lists." />
<Inputs>
<Input value="seq" />
</Inputs>
<Outputs>
<Output value="lengths" />
</Outputs>
</Dynamo.Graph.Nodes.CustomNodes.Function>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="066d516b-8cde-4d97-b4c4-6adc9862157a" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Flatten" x="1894.47926825226" y="274.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="BuiltIn" function="Flatten@var[]..[]">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="16cfb82a-0565-4662-a5a4-ce39b2418e2e" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.Clean" x="1196.47926825226" y="23.071396747426" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.Clean@var[]..[],bool">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="b19c3d79-7b71-45e0-88e9-47a19fda99c7" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.UniqueItems" x="300.479268252258" y="108.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.UniqueItems@var[]..[]">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="0a7f7919-78dc-4c0f-be77-2bb7fd8adecb" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.IsEmpty" x="935.479268252258" y="49.071396747426" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.IsEmpty@var[]..[]">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="38369535-8b18-42f7-8832-2e8815c3dd3b" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.IsEmpty" x="935.479268252258" y="300.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.IsEmpty@var[]..[]">
<PortInfo index="0" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="c59fb595-2145-4c19-aab0-690242412c55" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.Clean" x="1196.47926825226" y="274.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.Clean@var[]..[],bool">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="True" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="7d344903-5ae3-43e2-8916-58cd771e8d6d" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Element.SetParameterByName" x="4436.47926825226" y="339.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.Element.SetParameterByName@string,var">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="e21471aa-a179-4fe0-92ee-e3748e17f080" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="Element.SetParameterByName" x="4436.47926825226" y="179.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="RevitNodes.dll" function="Revit.Elements.Element.SetParameterByName@string,var">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<CoreNodeModels.CreateList guid="8102dc14-d1e1-48d9-9754-4448223ab310" type="CoreNodeModels.CreateList" nickname="List.Create" x="-475.520731747742" y="108.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" inputcount="4">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
<PortInfo index="2" default="False" />
<PortInfo index="3" default="False" />
</CoreNodeModels.CreateList>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="85cfba0c-8bfa-4253-b0e9-ec569e163daf" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="List.FilterByBoolMask" x="3773.47926825226" y="141.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="DSCoreNodes.dll" function="DSCore.List.FilterByBoolMask@var[]..[],var[]..[]">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CustomNodes.Function guid="76745733-6309-4dae-98aa-848d6be8dda2" type="Dynamo.Graph.Nodes.CustomNodes.Function" nickname="List.SublistLengths" x="3169.47926825226" y="257.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false">
<PortInfo index="0" default="False" />
<ID value="94acdb87-65e9-4dbe-8430-aced99f668d5" />
<Name value="List.SublistLengths" />
<Description value="Gets the lengths of all sublists in a given list of lists." />
<Inputs>
<Input value="seq" />
</Inputs>
<Outputs>
<Output value="lengths" />
</Outputs>
</Dynamo.Graph.Nodes.CustomNodes.Function>
<Dynamo.Graph.Nodes.ZeroTouch.DSFunction guid="bd0ea74a-e8d6-4caf-9b57-326d07872a2f" type="Dynamo.Graph.Nodes.ZeroTouch.DSFunction" nickname="!=" x="3471.47926825226" y="187.284730080759" isVisible="true" isUpstreamVisible="true" lacing="Shortest" isSelectedInput="False" IsFrozen="false" isPinned="false" assembly="Operators" function="!=@var[]..[],var[]..[]">
<PortInfo index="0" default="False" />
<PortInfo index="1" default="False" />
</Dynamo.Graph.Nodes.ZeroTouch.DSFunction>
<Dynamo.Graph.Nodes.CodeBlockNodeModel guid="8428e987-6ea4-4474-8a0c-cabaa7dab420" type="Dynamo.Graph.Nodes.CodeBlockNodeModel" nickname="Code Block" x="3169.47926825226" y="147.498063414093" isVisible="true" isUpstreamVisible="true" lacing="Disabled" isSelectedInput="False" IsFrozen="false" isPinned="false" CodeText="0;" ShouldFocus="false" />
</Elements>
<Connectors>
<Dynamo.Graph.Connectors.ConnectorModel start="668e9ae9-cdd2-4dfa-b3a1-bae211b25268" start_index="0" end="8102dc14-d1e1-48d9-9754-4448223ab310" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b3569226-a756-430e-a51e-1c9f66a96f75" start_index="0" end="0a7f7919-78dc-4c0f-be77-2bb7fd8adecb" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b3569226-a756-430e-a51e-1c9f66a96f75" start_index="0" end="16cfb82a-0565-4662-a5a4-ce39b2418e2e" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b3569226-a756-430e-a51e-1c9f66a96f75" start_index="2" end="38369535-8b18-42f7-8832-2e8815c3dd3b" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b3569226-a756-430e-a51e-1c9f66a96f75" start_index="2" end="c59fb595-2145-4c19-aab0-690242412c55" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b3569226-a756-430e-a51e-1c9f66a96f75" start_index="7" end="76745733-6309-4dae-98aa-848d6be8dda2" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="108db5ee-f5b7-4c4e-9e75-87b412541c7b" start_index="0" end="b19c3d79-7b71-45e0-88e9-47a19fda99c7" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="991085c4-3afe-46a6-9de7-fa547e5f2ba3" start_index="0" end="dfb95f13-9bc3-41a1-903c-f78e2f02ef69" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="991085c4-3afe-46a6-9de7-fa547e5f2ba3" start_index="0" end="e21471aa-a179-4fe0-92ee-e3748e17f080" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="991085c4-3afe-46a6-9de7-fa547e5f2ba3" start_index="1" end="2107a0d0-5686-481c-8134-c42fa4a12bb7" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="991085c4-3afe-46a6-9de7-fa547e5f2ba3" start_index="1" end="7d344903-5ae3-43e2-8916-58cd771e8d6d" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="991085c4-3afe-46a6-9de7-fa547e5f2ba3" start_index="2" end="2107a0d0-5686-481c-8134-c42fa4a12bb7" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="991085c4-3afe-46a6-9de7-fa547e5f2ba3" start_index="2" end="dfb95f13-9bc3-41a1-903c-f78e2f02ef69" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b5656192-0d71-4341-94bb-9f6a55e7d39a" start_index="0" end="9cb83b03-0a43-4c24-9c7d-d74cf506067a" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="38979f23-5b80-497c-ad74-ac212d011c96" start_index="0" end="893f16f2-7c62-4d70-a429-547bd1c7f943" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="24b38caf-0309-41e0-b48b-1d666bad1f6c" start_index="0" end="38979f23-5b80-497c-ad74-ac212d011c96" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="24b38caf-0309-41e0-b48b-1d666bad1f6c" start_index="1" end="38979f23-5b80-497c-ad74-ac212d011c96" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="2c537399-6c69-47f5-ac9f-1917b57b4b53" start_index="0" end="893f16f2-7c62-4d70-a429-547bd1c7f943" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="2c537399-6c69-47f5-ac9f-1917b57b4b53" start_index="1" end="893f16f2-7c62-4d70-a429-547bd1c7f943" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="893f16f2-7c62-4d70-a429-547bd1c7f943" start_index="0" end="b5656192-0d71-4341-94bb-9f6a55e7d39a" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="dd35bd1f-89f9-4b92-8fa1-1583eeab535c" start_index="0" end="b5656192-0d71-4341-94bb-9f6a55e7d39a" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="dd35bd1f-89f9-4b92-8fa1-1583eeab535c" start_index="1" end="b5656192-0d71-4341-94bb-9f6a55e7d39a" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="0e33b6fd-8e73-4cb6-87c0-6080341297f3" start_index="0" end="cd355608-337a-496b-987d-9bd74123e269" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="0e33b6fd-8e73-4cb6-87c0-6080341297f3" start_index="0" end="afe55cb8-a04c-4431-9b85-c5135cd42e92" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="0da2808d-fb5f-4ef3-b984-4d861f0bbbd6" start_index="0" end="0e33b6fd-8e73-4cb6-87c0-6080341297f3" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="44903e0e-a85d-425b-a64b-e7f4ff5711c2" start_index="0" end="19e0d6f2-6485-4819-984c-b9f291e53bb2" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d6bc93ae-10d7-4ebf-a98c-b4688a6bfe73" start_index="0" end="44903e0e-a85d-425b-a64b-e7f4ff5711c2" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d6bc93ae-10d7-4ebf-a98c-b4688a6bfe73" start_index="1" end="44903e0e-a85d-425b-a64b-e7f4ff5711c2" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="dfb95f13-9bc3-41a1-903c-f78e2f02ef69" start_index="0" end="e21471aa-a179-4fe0-92ee-e3748e17f080" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="306ae294-7d02-423a-8e5a-8f3956de59d9" start_index="0" end="afe55cb8-a04c-4431-9b85-c5135cd42e92" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="306ae294-7d02-423a-8e5a-8f3956de59d9" start_index="0" end="afe55cb8-a04c-4431-9b85-c5135cd42e92" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="afe55cb8-a04c-4431-9b85-c5135cd42e92" start_index="0" end="0e21c11d-162d-4323-8f8e-567849a428d4" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="19e0d6f2-6485-4819-984c-b9f291e53bb2" start_index="0" end="e21471aa-a179-4fe0-92ee-e3748e17f080" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="0d86ad21-cef7-425f-adec-bddd81f50908" start_index="0" end="19e0d6f2-6485-4819-984c-b9f291e53bb2" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="0d86ad21-cef7-425f-adec-bddd81f50908" start_index="1" end="19e0d6f2-6485-4819-984c-b9f291e53bb2" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="2107a0d0-5686-481c-8134-c42fa4a12bb7" start_index="0" end="7d344903-5ae3-43e2-8916-58cd771e8d6d" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="52e13ce5-b695-49cc-bae4-7c9027f8f7e0" start_index="0" end="2a2686cc-2075-4e45-9e4f-968e88070a75" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="52e13ce5-b695-49cc-bae4-7c9027f8f7e0" start_index="1" end="2a2686cc-2075-4e45-9e4f-968e88070a75" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="2a2686cc-2075-4e45-9e4f-968e88070a75" start_index="0" end="44903e0e-a85d-425b-a64b-e7f4ff5711c2" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="449eff57-8a91-4fb3-abb1-cdbb77262f08" start_index="0" end="ca4baa75-97c4-405f-a187-4473b6604d8f" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="9e04ef85-6102-490d-8ae6-ffb13a013398" start_index="0" end="ca4baa75-97c4-405f-a187-4473b6604d8f" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="ca4baa75-97c4-405f-a187-4473b6604d8f" start_index="0" end="38979f23-5b80-497c-ad74-ac212d011c96" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="e8e0c18d-fbc7-4d06-9159-fa163f4bd95f" start_index="0" end="066d516b-8cde-4d97-b4c4-6adc9862157a" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="2d8b3b8c-181f-4377-bd1c-ff438435a2a5" start_index="0" end="108db5ee-f5b7-4c4e-9e75-87b412541c7b" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="36407317-1479-4cb4-91a1-8ce50352d45a" start_index="0" end="9cb83b03-0a43-4c24-9c7d-d74cf506067a" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="36407317-1479-4cb4-91a1-8ce50352d45a" start_index="1" end="9cb83b03-0a43-4c24-9c7d-d74cf506067a" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="9cb83b03-0a43-4c24-9c7d-d74cf506067a" start_index="0" end="7d344903-5ae3-43e2-8916-58cd771e8d6d" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="ebe9480a-1191-49c4-89cd-99a57325b06c" start_index="0" end="8102dc14-d1e1-48d9-9754-4448223ab310" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="78191b33-be52-4cba-9331-af8c26df6542" start_index="0" end="8102dc14-d1e1-48d9-9754-4448223ab310" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="68c0dfc1-cab0-4936-9d2b-67afd239bb5a" start_index="0" end="8102dc14-d1e1-48d9-9754-4448223ab310" end_index="3" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="0e21c11d-162d-4323-8f8e-567849a428d4" start_index="0" end="49a1baf4-3df8-45b3-bbd6-f44114d18104" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b8c79614-cdc3-4376-96b9-18418ccd1e16" start_index="0" end="d3cbcccd-1225-4600-8eb3-56b132f6711e" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="d3cbcccd-1225-4600-8eb3-56b132f6711e" start_index="0" end="9eea3026-1e3e-4be0-bad0-a6476995d800" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="fab38035-aae4-44d6-8b93-3f2cea3eef95" start_index="0" end="9eea3026-1e3e-4be0-bad0-a6476995d800" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="fab38035-aae4-44d6-8b93-3f2cea3eef95" start_index="1" end="9eea3026-1e3e-4be0-bad0-a6476995d800" end_index="2" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="9eea3026-1e3e-4be0-bad0-a6476995d800" start_index="0" end="2a2686cc-2075-4e45-9e4f-968e88070a75" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="49a1baf4-3df8-45b3-bbd6-f44114d18104" start_index="0" end="d3cbcccd-1225-4600-8eb3-56b132f6711e" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="52c34da4-5ae3-4fce-92be-b8dae8e86f63" start_index="0" end="449eff57-8a91-4fb3-abb1-cdbb77262f08" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="cd355608-337a-496b-987d-9bd74123e269" start_index="0" end="52c34da4-5ae3-4fce-92be-b8dae8e86f63" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="066d516b-8cde-4d97-b4c4-6adc9862157a" start_index="0" end="52c34da4-5ae3-4fce-92be-b8dae8e86f63" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="16cfb82a-0565-4662-a5a4-ce39b2418e2e" start_index="0" end="0e33b6fd-8e73-4cb6-87c0-6080341297f3" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b19c3d79-7b71-45e0-88e9-47a19fda99c7" start_index="0" end="b3569226-a756-430e-a51e-1c9f66a96f75" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="b19c3d79-7b71-45e0-88e9-47a19fda99c7" start_index="0" end="85cfba0c-8bfa-4253-b0e9-ec569e163daf" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="0a7f7919-78dc-4c0f-be77-2bb7fd8adecb" start_index="0" end="16cfb82a-0565-4662-a5a4-ce39b2418e2e" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="38369535-8b18-42f7-8832-2e8815c3dd3b" start_index="0" end="c59fb595-2145-4c19-aab0-690242412c55" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="c59fb595-2145-4c19-aab0-690242412c55" start_index="0" end="e8e0c18d-fbc7-4d06-9159-fa163f4bd95f" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="8102dc14-d1e1-48d9-9754-4448223ab310" start_index="0" end="2d8b3b8c-181f-4377-bd1c-ff438435a2a5" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="85cfba0c-8bfa-4253-b0e9-ec569e163daf" start_index="0" end="dfb95f13-9bc3-41a1-903c-f78e2f02ef69" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="85cfba0c-8bfa-4253-b0e9-ec569e163daf" start_index="0" end="2107a0d0-5686-481c-8134-c42fa4a12bb7" end_index="0" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="76745733-6309-4dae-98aa-848d6be8dda2" start_index="0" end="bd0ea74a-e8d6-4caf-9b57-326d07872a2f" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="bd0ea74a-e8d6-4caf-9b57-326d07872a2f" start_index="0" end="85cfba0c-8bfa-4253-b0e9-ec569e163daf" end_index="1" portType="0" />
<Dynamo.Graph.Connectors.ConnectorModel start="8428e987-6ea4-4474-8a0c-cabaa7dab420" start_index="0" end="bd0ea74a-e8d6-4caf-9b57-326d07872a2f" end_index="0" portType="0" />
</Connectors>
<Notes />
<Annotations />
<Presets />
<Cameras>
<Camera Name="Background Preview" eyeX="-17" eyeY="24" eyeZ="50" lookX="12" lookY="-13" lookZ="-58" upX="0" upY="1" upZ="0" />
</Cameras>
</Workspace>

View File

@@ -0,0 +1,618 @@
{
"Uuid": "9e65726d-639f-4afa-9ecd-300d0bcab449",
"IsCustomNode": false,
"Description": null,
"Name": "OffsetFloorShapeSubElements",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Floor.MovePoint@Autodesk.DesignScript.Geometry.Point,double",
"Id": "70b30ca7e2594381bb35a348e036e917",
"Inputs": [
{
"Id": "e5583fe45ab149849f8ba7fd9c7a870b",
"Name": "floor",
"Description": "Revit.Elements.Floor",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "205c721ef7f94693895b47b5a8d11926",
"Name": "point",
"Description": "Point",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "4e8985bc8d7344d096be6b75e03deffa",
"Name": "offset",
"Description": "double",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "a9557fd76b3b48b7b7d01a614f35ca7a",
"Name": "Floor",
"Description": "Floor",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Move an existing point in the slab shape editor by an offset. Behaves as moving a point manually in the slab shape editor.\n\nFloor.MovePoint (point: Point, offset: double): Floor"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Floor.Points",
"Id": "016e1d83285f47a2a6da4cf81cd3f05a",
"Inputs": [
{
"Id": "3086c5decc7440ec9108734b0cabea56",
"Name": "floor",
"Description": "Revit.Elements.Floor",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "4d8998354d9f487a9c9fcb9991cb2e48",
"Name": "Point[]",
"Description": "Point[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Get Slab Shape Points\n\nFloor.Points: Point[]"
},
{
"ConcreteType": "Dynamo.Nodes.DSModelElementsSelection, DSRevitNodesUI",
"NodeType": "ExtensionNode",
"InstanceId": [
"c3cf928f-0397-47c2-8e81-c29406ce6ebb-004c2d1d",
"c3cf928f-0397-47c2-8e81-c29406ce6ebb-004c2d29"
],
"Id": "6665556123344f9884f6fa5cfaef3259",
"Inputs": [],
"Outputs": [
{
"Id": "b2e0a5a608964cff86348080749fa3e0",
"Name": "Elements",
"Description": "The selected elements.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.Count@var[]..[]",
"Id": "29f32775993f4fbc9bc329e6a094bedf",
"Inputs": [
{
"Id": "960b439c066f49b98ed8aa1b1cc847e3",
"Name": "list",
"Description": "List to get the item count of.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": true,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "1407a2fa199a4116b417ee2b602edf30",
"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.List.Cycle@var[]..[],int",
"Id": "21f8c644f9b14db1a54456013b4e5e72",
"Inputs": [
{
"Id": "bac73131722e411a9547ab4b48359b6a",
"Name": "list",
"Description": "List to repeat.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 1,
"UseLevels": true,
"KeepListStructure": true
},
{
"Id": "23a04cf17e8b48a1abb414b954f29b09",
"Name": "amount",
"Description": "Number of times to repeat.\n\nint",
"UsingDefaultValue": false,
"Level": 1,
"UseLevels": true,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "94eb8fd48c804abfa789c46376f98f80",
"Name": "list",
"Description": "List of repeated lists.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Creates a new list by concatenining copies of a given list.\n\nList.Cycle (list: var[]..[], amount: int): var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.Flatten@var[]..[],int",
"Id": "57945ba6f0114e20b995f18efa8ae14d",
"Inputs": [
{
"Id": "e70f367f0a1444a1bb5928650764df5c",
"Name": "list",
"Description": "List to flatten.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "76231eda596643cab476821f1b0b0e64",
"Name": "amt",
"Description": "Layers of nesting to remove.\n\nint\nDefault value : -1",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "e7f2503f4f114225899fcd1d8b770119",
"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.Flatten@var[]..[],int",
"Id": "c17344f9d47d44c59737ff2b9e70a8a8",
"Inputs": [
{
"Id": "92a7880ae1f64938b0445a952c2e4210",
"Name": "list",
"Description": "List to flatten.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "ec907ec9268e4f009852bd00c90f17dd",
"Name": "amt",
"Description": "Layers of nesting to remove.\n\nint\nDefault value : -1",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "33c371cecc4541c8b19cc8536e2f5b1a",
"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.DynamoConvert, CoreNodeModels",
"NodeType": "ConvertBetweenUnitsNode",
"MeasurementType": "Length",
"FromConversion": "Centimeters",
"ToConversion": "Feet",
"Id": "8537a5bfd8594c8aa95a6204c34f5573",
"Inputs": [
{
"Id": "0841789fbce54db6af2065e0216e926d",
"Name": "",
"Description": "A numeric value for conversion.",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "9e9ae12dccf54dcb8f5ff88d005a6ae0",
"Name": "",
"Description": "A converted numeric value.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Convert between units of measure."
},
{
"ConcreteType": "CoreNodeModels.Input.DoubleInput, CoreNodeModels",
"NodeType": "NumberInputNode",
"NumberType": "Double",
"InputValue": -7.0,
"Id": "d0cb6e65b39e4b7bab569d748f22ab15",
"Inputs": [],
"Outputs": [
{
"Id": "7d8d0ff4bd3b4df0abf74d58382febbc",
"Name": "",
"Description": "Double",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Creates a number."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Element.Parameters",
"Id": "67526104bdf64634bfde517091d8d67c",
"Inputs": [
{
"Id": "a5a9af7c2b0c4cafb246b10a3cfa5ed6",
"Name": "element",
"Description": "Revit.Elements.Element",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "7affd7250d194b33a757b29302ebccf4",
"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.CustomNodes.Function, DynamoCore",
"FunctionSignature": "23a94b80-4bd0-436f-a1b1-f77654b4428c",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "6a4f5730930d4f29aeb15ccf9b7afd10",
"Inputs": [
{
"Id": "53f3aee85a75455cadf5356da4252894",
"Name": "element",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "1df28ca0f4204aedb7b0173e0a557506",
"Name": "level",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Gets an element's level"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Level.ProjectElevation",
"Id": "a886be87f3174ff99f59ed7aa24b6ca0",
"Inputs": [
{
"Id": "1496cf608a4f4dd19f1cda196c3b7519",
"Name": "level",
"Description": "Revit.Elements.Level",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "20bbb75798c64ed5906a9be1ac3cf2db",
"Name": "double",
"Description": "double",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Elevation relative to the Project origin\n\nLevel.ProjectElevation: double"
}
],
"Connectors": [
{
"Start": "4d8998354d9f487a9c9fcb9991cb2e48",
"End": "960b439c066f49b98ed8aa1b1cc847e3",
"Id": "3e1df2b1c23747dba39ef33931fa778c"
},
{
"Start": "4d8998354d9f487a9c9fcb9991cb2e48",
"End": "e70f367f0a1444a1bb5928650764df5c",
"Id": "96e020b9eb254a29a906e9a4e203258d"
},
{
"Start": "b2e0a5a608964cff86348080749fa3e0",
"End": "3086c5decc7440ec9108734b0cabea56",
"Id": "5e1c1f8869884ac0b1e482c84ca0b411"
},
{
"Start": "b2e0a5a608964cff86348080749fa3e0",
"End": "bac73131722e411a9547ab4b48359b6a",
"Id": "7c0fda2e863045b0918648af4a93411c"
},
{
"Start": "b2e0a5a608964cff86348080749fa3e0",
"End": "a5a9af7c2b0c4cafb246b10a3cfa5ed6",
"Id": "c575dcf432784a0688a2b7f88ffb31d5"
},
{
"Start": "b2e0a5a608964cff86348080749fa3e0",
"End": "53f3aee85a75455cadf5356da4252894",
"Id": "d2ad8784454241d3bbfd61de1d4213a3"
},
{
"Start": "1407a2fa199a4116b417ee2b602edf30",
"End": "23a04cf17e8b48a1abb414b954f29b09",
"Id": "ca83c0de97a64283b1512403aeedaaa3"
},
{
"Start": "94eb8fd48c804abfa789c46376f98f80",
"End": "92a7880ae1f64938b0445a952c2e4210",
"Id": "d446def1fa26413a9d1a98f1d5c3d387"
},
{
"Start": "e7f2503f4f114225899fcd1d8b770119",
"End": "205c721ef7f94693895b47b5a8d11926",
"Id": "115738e5d2ea4c3e9b0dd515c4c0bc22"
},
{
"Start": "9e9ae12dccf54dcb8f5ff88d005a6ae0",
"End": "4e8985bc8d7344d096be6b75e03deffa",
"Id": "0272b7991ef746b3ad49c812d1de5dab"
},
{
"Start": "7d8d0ff4bd3b4df0abf74d58382febbc",
"End": "0841789fbce54db6af2065e0216e926d",
"Id": "50a85fd64623401087f73f2455980286"
},
{
"Start": "1df28ca0f4204aedb7b0173e0a557506",
"End": "1496cf608a4f4dd19f1cda196c3b7519",
"Id": "405d10147ae0437e83a6e2cc6da4070a"
}
],
"Dependencies": [
"23a94b80-4bd0-436f-a1b1-f77654b4428c"
],
"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": "Floor.MovePoint",
"Id": "70b30ca7e2594381bb35a348e036e917",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 521.5,
"Y": 456.5
},
{
"ShowGeometry": true,
"Name": "Floor.Points",
"Id": "016e1d83285f47a2a6da4cf81cd3f05a",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -431.81829439586176,
"Y": 395.70124103034487
},
{
"ShowGeometry": true,
"Name": "Select Model Elements",
"Id": "6665556123344f9884f6fa5cfaef3259",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": -689.97335917450016,
"Y": 31.419713345661876
},
{
"ShowGeometry": true,
"Name": "List.Count",
"Id": "29f32775993f4fbc9bc329e6a094bedf",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -185.844776857047,
"Y": 285.61213644487145
},
{
"ShowGeometry": true,
"Name": "List.Cycle",
"Id": "21f8c644f9b14db1a54456013b4e5e72",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -17.519290583394877,
"Y": -34.331344706712571
},
{
"ShowGeometry": true,
"Name": "List.Flatten",
"Id": "57945ba6f0114e20b995f18efa8ae14d",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 182.79256807634852,
"Y": 434.23944637426212
},
{
"ShowGeometry": true,
"Name": "List.Flatten",
"Id": "c17344f9d47d44c59737ff2b9e70a8a8",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 278.4391527206144,
"Y": 138.19049390391558
},
{
"ShowGeometry": true,
"Name": "Convert Between Units",
"Id": "8537a5bfd8594c8aa95a6204c34f5573",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -271.73629509646906,
"Y": 1891.3775034433684
},
{
"ShowGeometry": true,
"Name": "Offset[cm]",
"Id": "d0cb6e65b39e4b7bab569d748f22ab15",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -455.25045703441708,
"Y": 1760.2327868571845
},
{
"ShowGeometry": true,
"Name": "Element.Parameters",
"Id": "67526104bdf64634bfde517091d8d67c",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -564.08096126924681,
"Y": 953.51060763221847
},
{
"ShowGeometry": true,
"Name": "Element.Level",
"Id": "6a4f5730930d4f29aeb15ccf9b7afd10",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -754.05120919094418,
"Y": 676.05038814832744
},
{
"ShowGeometry": true,
"Name": "Level.ProjectElevation",
"Id": "a886be87f3174ff99f59ed7aa24b6ca0",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -441.91303350417195,
"Y": 736.55075078797961
}
],
"Annotations": [],
"X": 408.05748085796608,
"Y": 150.37752880018127,
"Zoom": 0.57686957693444885
}
}

View File

@@ -0,0 +1,413 @@
{
"Uuid": "2344df3c-35d0-4ee4-b20a-6a7259317cfc",
"IsCustomNode": true,
"Category": "infeeeee.list",
"Description": "Replace same elements follow each other",
"Name": "ReplaceFollowingElements",
"ElementResolver": {
"ResolutionMap": {
"Lists": {
"Key": "archilab.Lists.Lists",
"Value": "archilab.dll"
},
"DSCore.List": {
"Key": "DSCore.List",
"Value": "DSCoreNodes.dll"
}
}
},
"Inputs": [],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels",
"NodeType": "PythonScriptNode",
"Code": "# Enable Python support and load DesignScript library\r\nimport clr\r\nclr.AddReference('ProtoGeometry')\r\nfrom Autodesk.DesignScript.Geometry import *\r\n\r\n# The inputs to this node will be stored as a list in the IN variables.\r\nin_list = IN[0]\r\nsearchfor = IN[1]\r\nreplacement = IN[2]\r\ncountUnit = IN[3]\r\nOUT = []\r\nout_list_1 = []\r\nout_list_2 = []\r\n# Place your code below this line\r\nfor layerlists in in_list:\r\n\tlayerlist_mod = layerlists[:]\r\n\tfor num, width in enumerate(layerlists): \r\n\t#egyesével végig megyünk a vastagságokon\r\n\t\tzerocounter = []\r\n\t\tif width == searchfor :\r\n\t\t\tzerocounter.append(0)\r\n\t\t\tfor zero in layerlists[num + 1:]:\r\n\t\t\t\tif zero == searchfor:\r\n\t\t\t\t\tzerocounter.append(0)\r\n\t\t\t\telse:\r\n\t\t\t\t\tbreak\r\n\t\t\tif len(zerocounter) > 1:\r\n\t\t\t\tfor n, x in enumerate(zerocounter):\r\n\t\t\t\t\tlayerlists[num + n] = replacement\r\n\t\t\t\t\tlayerlist_mod[num + n] = replacement\r\n\t\t\t\tlayerlist_mod[num] = str(len(zerocounter)) + \" \" + countUnit\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\tout_list_1.append(layerlists)\r\n\tout_list_2.append(layerlist_mod)\r\n\r\n# Assign your output to the OUT variable.\r\nOUT.append(out_list_1)\r\nOUT.append(out_list_2)\r\n#OUT = out_list",
"VariableInputPorts": true,
"Id": "77e31556377b411b8eca6430ca11ea7e",
"Inputs": [
{
"Id": "4bd6cc7e60ef4482957ae8b6be5484b3",
"Name": "IN[0]",
"Description": "Input #0",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "9f76375875fb475198839c3cd96a6b93",
"Name": "IN[1]",
"Description": "Input #1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "03108eab5cae462996609a385ad0cf2c",
"Name": "IN[2]",
"Description": "Input #2",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "e65a5e27b9aa4ede932883f54d7fe4f0",
"Name": "IN[3]",
"Description": "Input #3",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "2cac3dac1b12409d812c2f8647fdc1ea",
"Name": "OUT",
"Description": "Result of the python script",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Runs an embedded IronPython script."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
"NodeType": "InputNode",
"Parameter": {
"Name": "list",
"TypeName": "var",
"TypeRank": -1,
"DefaultValue": null,
"Description": ""
},
"Id": "44587089b7814ac2bc79a159b1015a85",
"Inputs": [],
"Outputs": [
{
"Id": "2bbaa41ce22d43b98b9290a009efd045",
"Name": "",
"Description": "Symbol",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
"NodeType": "InputNode",
"Parameter": {
"Name": "searchFor",
"TypeName": "var",
"TypeRank": -1,
"DefaultValue": null,
"Description": ""
},
"Id": "8478a0485a994131bd46e950bb38ccd4",
"Inputs": [],
"Outputs": [
{
"Id": "ba2f0d709bae428dadc660fa30c60513",
"Name": "",
"Description": "Symbol",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
"NodeType": "InputNode",
"Parameter": {
"Name": "replacement",
"TypeName": "var",
"TypeRank": -1,
"DefaultValue": null,
"Description": ""
},
"Id": "9abef8e9b0ff466e8bc5fb914a10366f",
"Inputs": [],
"Outputs": [
{
"Id": "7841682405354ee883639688165f4a80",
"Name": "",
"Description": "Symbol",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore",
"NodeType": "OutputNode",
"ElementResolver": null,
"Symbol": "replacedList",
"Id": "a6e65063a91d4cadaea0b58a696701ce",
"Inputs": [
{
"Id": "5b34c4f690d147d590be6eb74440c4ea",
"Name": "",
"Description": "",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [],
"Replication": "Disabled",
"Description": "A function output, use with custom nodes"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
"NodeType": "InputNode",
"Parameter": {
"Name": "countUnit",
"TypeName": "var",
"TypeRank": -1,
"DefaultValue": null,
"Description": ""
},
"Id": "3455c7e5c60545aa8b031511838ff2e0",
"Inputs": [],
"Outputs": [
{
"Id": "78217337dbaf437d9037cb56b500d0e8",
"Name": "",
"Description": "Symbol",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore",
"NodeType": "OutputNode",
"ElementResolver": null,
"Symbol": "firstReplacedList",
"Id": "5059007ac9d845399591ff1113cffe8f",
"Inputs": [
{
"Id": "69ab7c827d094047826f4f64e1c82924",
"Name": "",
"Description": "",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [],
"Replication": "Disabled",
"Description": "A function output, use with custom nodes"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "a[0];\na[1];",
"Id": "381b76b9f59d406aaf93319c25918e79",
"Inputs": [
{
"Id": "79e9e4162e7349bca96ee06a3d9693fc",
"Name": "a",
"Description": "a",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "fcb38d32d6254873953f3aafd208001e",
"Name": "",
"Description": "Value of expression at line 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "aa7998aa8877457fa956aae658d1d4de",
"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"
}
],
"Connectors": [
{
"Start": "2cac3dac1b12409d812c2f8647fdc1ea",
"End": "79e9e4162e7349bca96ee06a3d9693fc",
"Id": "009d04d0e39042c3ac014652655d4791"
},
{
"Start": "2bbaa41ce22d43b98b9290a009efd045",
"End": "4bd6cc7e60ef4482957ae8b6be5484b3",
"Id": "974842f317e04c20aa463b2bd86637ad"
},
{
"Start": "ba2f0d709bae428dadc660fa30c60513",
"End": "9f76375875fb475198839c3cd96a6b93",
"Id": "f367b0aae3a64af192845f03a04d5c01"
},
{
"Start": "7841682405354ee883639688165f4a80",
"End": "03108eab5cae462996609a385ad0cf2c",
"Id": "a73c7b76fca0412a94ac744c9515fb04"
},
{
"Start": "78217337dbaf437d9037cb56b500d0e8",
"End": "e65a5e27b9aa4ede932883f54d7fe4f0",
"Id": "84ffc326e46b49e483f2f6e95689069d"
},
{
"Start": "fcb38d32d6254873953f3aafd208001e",
"End": "5b34c4f690d147d590be6eb74440c4ea",
"Id": "48aab268bf724672a105904b7cac667d"
},
{
"Start": "aa7998aa8877457fa956aae658d1d4de",
"End": "69ab7c827d094047826f4f64e1c82924",
"Id": "ed81307e6e8c465988f0becc6841fb17"
}
],
"Dependencies": [],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": false,
"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": "Python Script",
"Id": "77e31556377b411b8eca6430ca11ea7e",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 731.09482951290761,
"Y": 449.69653091009968
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "44587089b7814ac2bc79a159b1015a85",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 348.5961952368678,
"Y": 342.64948490670116
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "8478a0485a994131bd46e950bb38ccd4",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 405.72490243930486,
"Y": 453.9132224497277
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "9abef8e9b0ff466e8bc5fb914a10366f",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 381.932288694968,
"Y": 540.658977642674
},
{
"ShowGeometry": true,
"Name": "Output",
"Id": "a6e65063a91d4cadaea0b58a696701ce",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1134.1067457170113,
"Y": 381.89895541340286
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "3455c7e5c60545aa8b031511838ff2e0",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 389.17365259170657,
"Y": 643.8484131711989
},
{
"ShowGeometry": true,
"Name": "Output",
"Id": "5059007ac9d845399591ff1113cffe8f",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1125.96021133318,
"Y": 560.21754137059054
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "381b76b9f59d406aaf93319c25918e79",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 905.29306876766179,
"Y": 449.47392406724794
}
],
"Annotations": [],
"X": 5.8411916845483347,
"Y": -135.64652827534235,
"Zoom": 1.1047642563030273
}
}

View File

@@ -0,0 +1,399 @@
{
"Uuid": "dda914fd-aaf1-4ff4-a80c-dab136aa16cc",
"IsCustomNode": true,
"Category": "infeeeee.List",
"Description": "Replace tlements which are the same in a list of lists",
"Name": "ReplaceFollowingSameElements",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
"NodeType": "InputNode",
"Parameter": {
"Name": "list",
"TypeName": "var",
"TypeRank": -1,
"DefaultValue": null,
"Description": ""
},
"Id": "0c0a1d3a6aa548988fb6a7a81b3c21c7",
"Inputs": [],
"Outputs": [
{
"Id": "3faab4aa3540445b8e23044f6914251b",
"Name": "",
"Description": "Symbol",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
"NodeType": "InputNode",
"Parameter": {
"Name": "replacement",
"TypeName": "var",
"TypeRank": -1,
"DefaultValue": null,
"Description": ""
},
"Id": "730aa118437c4551853e9c9debd5002c",
"Inputs": [],
"Outputs": [
{
"Id": "f0f72104272f404bb64f677f5cca55ca",
"Name": "",
"Description": "Symbol",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels",
"NodeType": "PythonScriptNode",
"Code": "# Enable Python support and load DesignScript library\r\nimport clr\r\nclr.AddReference('ProtoGeometry')\r\nfrom Autodesk.DesignScript.Geometry import *\r\n\r\n# The inputs to this node will be stored as a list in the IN variables.\r\nin_list = IN[0]\r\nreplacement = IN[1]\r\ncountUnit = IN[2]\r\nOUT = []\r\nout_list_1 = []\r\nout_list_2 = []\r\nout_list_3 = []\r\n# Place your code below this line\r\nfor layerlists in in_list:\r\n\tlayerlist_counted = layerlists[:]\r\n\tlayerlist_firstorig = layerlist_counted[:]\r\n\tfor num, val in enumerate(layerlists): \r\n\t#egyesével végig megyünk az elemeken\r\n\t\tvalcounter = []\r\n\t\tvalcounter.append(0)\r\n\t\tfor val2 in layerlists[num + 1:]:\r\n\t\t\tif val2 == val:\r\n\t\t\t\tvalcounter.append(0)\r\n\t\t\telse:\r\n\t\t\t\tbreak\r\n\t\tif len(valcounter) > 1:\r\n\t\t\tfor n, x in enumerate(valcounter):\r\n\t\t\t\tlayerlists[num + n] = replacement\r\n\t\t\t\tlayerlist_counted[num + n] = replacement\r\n\t\t\t\tlayerlist_firstorig[num + n] = replacement\r\n\t\t\tlayerlist_counted[num] = str(len(valcounter)) + \" \" + countUnit\r\n\t\t\tlayerlist_firstorig[num] = val\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\tout_list_1.append(layerlists)\r\n\tout_list_2.append(layerlist_counted)\r\n\tout_list_3.append(layerlist_firstorig)\r\n\r\n# Assign your output to the OUT variable.\r\nOUT.append(out_list_1)\r\nOUT.append(out_list_2)\r\nOUT.append(out_list_3)\r\n#OUT = out_list",
"VariableInputPorts": true,
"Id": "12e5518647694bff8a916dc5d5299455",
"Inputs": [
{
"Id": "b14a4d57188f4840a6cb2b16f87b61a9",
"Name": "IN[0]",
"Description": "Input #0",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "b5e8f31efe5040059de70f996ba55d4e",
"Name": "IN[1]",
"Description": "Input #1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "81f06635c538400e9bace1f3a4551d2f",
"Name": "IN[2]",
"Description": "Input #2",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "12aa77f667a24dc9becc0c63d839554c",
"Name": "OUT",
"Description": "Result of the python script",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Runs an embedded IronPython script."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
"NodeType": "InputNode",
"Parameter": {
"Name": "countUnit",
"TypeName": "var",
"TypeRank": -1,
"DefaultValue": null,
"Description": ""
},
"Id": "5a1034e0a87a415c8ea8772cb855e56c",
"Inputs": [],
"Outputs": [
{
"Id": "bbda9e86ba694081b62614771ab7ce9c",
"Name": "",
"Description": "Symbol",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "a[0];\na[1];\na[2];",
"Id": "25e83c483fcb4ac0a94ddc37c94cd51b",
"Inputs": [
{
"Id": "43408247d95d4065ac0f90447ccb1e5d",
"Name": "a",
"Description": "a",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "af8079cabc5740b1b252cca7e5ef9db3",
"Name": "",
"Description": "Value of expression at line 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "7ceeae4fc20b4e819fc5c86d2a4da933",
"Name": "",
"Description": "Value of expression at line 2",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "8863ae73176f483fadfa2930ea1f2b00",
"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.CustomNodes.Output, DynamoCore",
"NodeType": "OutputNode",
"ElementResolver": null,
"Symbol": "allReplaced",
"Id": "b5119e42958347a6bf70e03d38ce165e",
"Inputs": [
{
"Id": "446a139cdee54bb68f5fbe3ec6094ab5",
"Name": "",
"Description": "",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [],
"Replication": "Disabled",
"Description": "A function output, use with custom nodes"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore",
"NodeType": "OutputNode",
"ElementResolver": null,
"Symbol": "firstCounted",
"Id": "3e1c7ac77e934e9e8bebef372e5c8d30",
"Inputs": [
{
"Id": "6880f9d3165e4b6b813a0cec0ce0f2e8",
"Name": "",
"Description": "",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [],
"Replication": "Disabled",
"Description": "A function output, use with custom nodes"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore",
"NodeType": "OutputNode",
"ElementResolver": null,
"Symbol": "firstOriginal",
"Id": "97af8bd3f2204fb0a393342ce6332531",
"Inputs": [
{
"Id": "b69de9eb3e2d4855958ae98727a234fb",
"Name": "",
"Description": "",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [],
"Replication": "Disabled",
"Description": "A function output, use with custom nodes"
}
],
"Connectors": [
{
"Start": "3faab4aa3540445b8e23044f6914251b",
"End": "b14a4d57188f4840a6cb2b16f87b61a9",
"Id": "36bcc43d3d4f4df4b2000f046cbeb306"
},
{
"Start": "f0f72104272f404bb64f677f5cca55ca",
"End": "b5e8f31efe5040059de70f996ba55d4e",
"Id": "3428f5ec1dd34712a15a881d2fa7228d"
},
{
"Start": "12aa77f667a24dc9becc0c63d839554c",
"End": "43408247d95d4065ac0f90447ccb1e5d",
"Id": "d023601ba34b4001a63cc10d4ad14be1"
},
{
"Start": "bbda9e86ba694081b62614771ab7ce9c",
"End": "81f06635c538400e9bace1f3a4551d2f",
"Id": "068d3b5149a04fb7a5cc66a986443cb7"
},
{
"Start": "af8079cabc5740b1b252cca7e5ef9db3",
"End": "446a139cdee54bb68f5fbe3ec6094ab5",
"Id": "ae722ecf33f14b4eb0ce065ad89a0821"
},
{
"Start": "7ceeae4fc20b4e819fc5c86d2a4da933",
"End": "6880f9d3165e4b6b813a0cec0ce0f2e8",
"Id": "676c08870e8843d6951f897877bc63af"
},
{
"Start": "8863ae73176f483fadfa2930ea1f2b00",
"End": "b69de9eb3e2d4855958ae98727a234fb",
"Id": "13124606c57a44e3b9174ef14883f9c1"
}
],
"Dependencies": [],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": false,
"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": "Input",
"Id": "0c0a1d3a6aa548988fb6a7a81b3c21c7",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 885.0,
"Y": 537.5
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "730aa118437c4551853e9c9debd5002c",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 794.33609345810009,
"Y": 832.509492735973
},
{
"ShowGeometry": true,
"Name": "Python Script",
"Id": "12e5518647694bff8a916dc5d5299455",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1267.4986342760399,
"Y": 644.547046003399
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "5a1034e0a87a415c8ea8772cb855e56c",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 801.577457354839,
"Y": 935.698928264498
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "25e83c483fcb4ac0a94ddc37c94cd51b",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1441.6968735307942,
"Y": 644.324439160547
},
{
"ShowGeometry": true,
"Name": "Output",
"Id": "b5119e42958347a6bf70e03d38ce165e",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1670.510550480142,
"Y": 576.749470506702
},
{
"ShowGeometry": true,
"Name": "Output",
"Id": "3e1c7ac77e934e9e8bebef372e5c8d30",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1654.3640160963121,
"Y": 653.06805646389
},
{
"ShowGeometry": true,
"Name": "Output",
"Id": "97af8bd3f2204fb0a393342ce6332531",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1660.3640160963121,
"Y": 830.06805646389
}
],
"Annotations": [],
"X": -487.0,
"Y": -265.0,
"Zoom": 1.0
}
}

View File

@@ -0,0 +1,44 @@
# Enable Python support and load DesignScript library
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *
# The inputs to this node will be stored as a list in the IN variables.
in_list = IN[0]
replacement = IN[1]
countUnit = IN[2]
OUT = []
out_list_1 = []
out_list_2 = []
out_list_3 = []
# Place your code below this line
for layerlists in in_list:
layerlist_counted = layerlists[:]
layerlist_firstorig = layerlist_counted[:]
for num, val in enumerate(layerlists):
#egyesével végig megyünk az elemeken
valcounter = []
valcounter.append(0)
for val2 in layerlists[num + 1:]:
if val2 == val:
valcounter.append(0)
else:
break
if len(valcounter) > 1:
for n, x in enumerate(valcounter):
layerlists[num + n] = replacement
layerlist_counted[num + n] = replacement
layerlist_firstorig[num + n] = replacement
layerlist_counted[num] = str(len(valcounter)) + " " + countUnit
layerlist_firstorig[num] = val
out_list_1.append(layerlists)
out_list_2.append(layerlist_counted)
out_list_3.append(layerlist_firstorig)
# Assign your output to the OUT variable.
OUT.append(out_list_1)
OUT.append(out_list_2)
OUT.append(out_list_3)
#OUT = out_list