Files
dynamo-scripts/WIP/OffsetFloorShapeSubElements/2.x/OffsetFloorShapeSubElements.dyn
2019-07-06 18:22:47 +02:00

618 lines
18 KiB
Plaintext

{
"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
}
}