From 5439b935665a9eb1c31cfff1eb50a1baf8415c8c Mon Sep 17 00:00:00 2001 From: infeeeee Date: Mon, 8 Feb 2021 19:18:52 +0100 Subject: [PATCH] Added FlipGridBubbles-DP.dyn --- FlipGridBubbles-DP/FlipGridBubbles-DP.dyn | 607 ++++++++++++++++++++++ README.md | 11 + 2 files changed, 618 insertions(+) create mode 100644 FlipGridBubbles-DP/FlipGridBubbles-DP.dyn diff --git a/FlipGridBubbles-DP/FlipGridBubbles-DP.dyn b/FlipGridBubbles-DP/FlipGridBubbles-DP.dyn new file mode 100644 index 0000000..21ef15e --- /dev/null +++ b/FlipGridBubbles-DP/FlipGridBubbles-DP.dyn @@ -0,0 +1,607 @@ +{ + "Uuid": "a8fea499-49e5-4c4b-903d-ed5ffe1e7f69", + "IsCustomNode": false, + "Description": null, + "Name": "FlipGridBubbles-DP", + "ElementResolver": { + "ResolutionMap": {} + }, + "Inputs": [ + { + "Id": "bdddafce10e74102a55f0cd7ca3de6c9", + "Name": "Invert", + "Type": "boolean", + "Value": "false", + "Description": "Selection between a true and false." + } + ], + "Outputs": [], + "Nodes": [ + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", + "FunctionSignature": "77442c5d-4119-4c15-82a6-5ba569475721", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "4654c2585b474035a8e8de8322b035de", + "Inputs": [ + { + "Id": "4b70f0d1224a465faf6f9d5a61a4e472", + "Name": "selectedGrids", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "bcac8a53aaee4dce9a22e4b03cf37f1f", + "Name": "elements", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Hides the End Grid Bubble in active view." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", + "FunctionSignature": "f8ce1637-8983-4344-bd4d-bf83c4e2eea8", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "ac3e54314e3b4a0e96ee4a48675d2785", + "Inputs": [ + { + "Id": "b62dcfbfdd044cc8a92946d3bf11d12b", + "Name": "selectedGrids", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "df947b20ee9c4fd8a96bc9dd74ce5787", + "Name": "elements", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Hides the Grids Start side of Bubble in Current view." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", + "FunctionSignature": "b93b3251-baab-40b9-8197-c4c8dde200d9", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "7ecd3ee97bfe477d89a05699c580a3ac", + "Inputs": [ + { + "Id": "fa4d2b01e09c4286a1bb48ee097dc218", + "Name": "selectedGrids", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "aa786602ec994bbbba1290a0f8240563", + "Name": "elements", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Toggles Grid Bubble to Show at End of Grid Line in View." + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", + "FunctionSignature": "d5e23b76-9796-4e07-b5dd-d00bb868f29f", + "FunctionType": "Graph", + "NodeType": "FunctionNode", + "Id": "d96a8bded4d74894985d000e107245cf", + "Inputs": [ + { + "Id": "557e20661f8440d79afb93a2ef722853", + "Name": "selectedGrids", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "917679b8516b4993a3c5c820d0b747d6", + "Name": "elements", + "Description": "return value", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "Toggles Grid Bubble to display on the Start side." + }, + { + "ConcreteType": "CoreNodeModels.Logic.If, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "4f392afdb29c4b3383cc72cdc63325a7", + "Inputs": [ + { + "Id": "54645931ce034800babfa370b07e2959", + "Name": "test", + "Description": "Test block", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "7ad2c83c35b34c60b046f3e8441a7866", + "Name": "true", + "Description": "True block", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "0cc42ecd850147d6a63950169603e0aa", + "Name": "false", + "Description": "False block", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "3f9347dad55d4ff3aea584a057dbce81", + "Name": "result", + "Description": "result", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Conditional statement" + }, + { + "ConcreteType": "CoreNodeModels.Input.BoolSelector, CoreNodeModels", + "NodeType": "BooleanInputNode", + "InputValue": false, + "Id": "bdddafce10e74102a55f0cd7ca3de6c9", + "Inputs": [], + "Outputs": [ + { + "Id": "2b368545f9a241588e134a950084e5de", + "Name": "", + "Description": "Boolean", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Selection between a true and false." + }, + { + "ConcreteType": "CoreNodeModels.Logic.If, CoreNodeModels", + "NodeType": "ExtensionNode", + "Id": "ca73e1bee3d94f2ba4e524641b71a23d", + "Inputs": [ + { + "Id": "d06c2a30d718459d9457124f2449a274", + "Name": "test", + "Description": "Test block", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "eca2582e970f429d99e293fa50890b3c", + "Name": "true", + "Description": "True block", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + }, + { + "Id": "2f66f8ba94294b9bb6d31277cfd1388d", + "Name": "false", + "Description": "False block", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "e0769451976a4e53b3a9cbe6d7657bed", + "Name": "result", + "Description": "result", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled", + "Description": "Conditional statement" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", + "NodeType": "FunctionNode", + "FunctionSignature": "Not@var[]..[]", + "Id": "87cbce76272d4ce39bfcba2816f0245e", + "Inputs": [ + { + "Id": "b7d9a8fe51a9488da56921d99d93a3e9", + "Name": "x", + "Description": "x value.\n\nvar[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Outputs": [ + { + "Id": "632412487a1646d7893fda3804f84dd7", + "Name": "var[]..[]", + "Description": "var[]..[]", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Auto", + "Description": "!x\n\nNot (x: var[]..[]): var[]..[]" + }, + { + "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", + "NodeType": "CodeBlockNode", + "Code": "null;", + "Id": "133106ee12e2405ba70c057b440ffabc", + "Inputs": [], + "Outputs": [ + { + "Id": "21179c765c7149108d3288411e832166", + "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.ComboNodes.DSModelElementsByCategorySelection, DSRevitNodesUI", + "SelectedIndex": 259, + "NodeType": "ExtensionNode", + "InstanceId": [ + "364f4871-b74e-4d2c-acf1-081305d51b78-000bc620", + "d4ca5c54-bf2b-43ce-b82a-fc7b257f788a-000e112d", + "d4ca5c54-bf2b-43ce-b82a-fc7b257f788a-000e116e", + "d4ca5c54-bf2b-43ce-b82a-fc7b257f788a-000e1175", + "d4ca5c54-bf2b-43ce-b82a-fc7b257f788a-000e117c", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e309a", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e30a3", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e30ac", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e30b3", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e30ba", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e3243", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e324a", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e3251", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e3258", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e3261", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e330b", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e3312", + "c8345659-1ced-4102-a231-3a9472eceeb9-000e331d" + ], + "Id": "fba13976ed3d42e3bf9dee366fd3ff10", + "Inputs": [], + "Outputs": [ + { + "Id": "70c79a138fd94d1daf6fedb997c337cd", + "Name": "Elements", + "Description": "The selected elements.", + "UsingDefaultValue": false, + "Level": 2, + "UseLevels": false, + "KeepListStructure": false + } + ], + "Replication": "Disabled" + } + ], + "Connectors": [ + { + "Start": "3f9347dad55d4ff3aea584a057dbce81", + "End": "fa4d2b01e09c4286a1bb48ee097dc218", + "Id": "e9736cde178b4853a7718d029f508ed0" + }, + { + "Start": "3f9347dad55d4ff3aea584a057dbce81", + "End": "b62dcfbfdd044cc8a92946d3bf11d12b", + "Id": "815f7d0b5cfc472fbbe744c5ed58803a" + }, + { + "Start": "2b368545f9a241588e134a950084e5de", + "End": "54645931ce034800babfa370b07e2959", + "Id": "16af077e9f894d70a779976f6b0a3cee" + }, + { + "Start": "2b368545f9a241588e134a950084e5de", + "End": "b7d9a8fe51a9488da56921d99d93a3e9", + "Id": "7f9ee05c5d3a4d51a03335890496e68e" + }, + { + "Start": "e0769451976a4e53b3a9cbe6d7657bed", + "End": "557e20661f8440d79afb93a2ef722853", + "Id": "97c6f9979040438cb764506bf173fb3a" + }, + { + "Start": "e0769451976a4e53b3a9cbe6d7657bed", + "End": "4b70f0d1224a465faf6f9d5a61a4e472", + "Id": "905f953873b7405f88122c6e6ece7fa9" + }, + { + "Start": "632412487a1646d7893fda3804f84dd7", + "End": "d06c2a30d718459d9457124f2449a274", + "Id": "b75e2c15995f4539bf2eb085882a8dc3" + }, + { + "Start": "21179c765c7149108d3288411e832166", + "End": "2f66f8ba94294b9bb6d31277cfd1388d", + "Id": "d3fa98cc4ecf4485b30044b8f9e0a403" + }, + { + "Start": "21179c765c7149108d3288411e832166", + "End": "0cc42ecd850147d6a63950169603e0aa", + "Id": "e4999285ba0644b59b9f58f10ec20500" + }, + { + "Start": "70c79a138fd94d1daf6fedb997c337cd", + "End": "7ad2c83c35b34c60b046f3e8441a7866", + "Id": "23c8f848847241d9b6549811c0492cdf" + }, + { + "Start": "70c79a138fd94d1daf6fedb997c337cd", + "End": "eca2582e970f429d99e293fa50890b3c", + "Id": "3ba6602bfd894cca8d83c43de3b3d685" + } + ], + "Dependencies": [ + "77442c5d-4119-4c15-82a6-5ba569475721", + "f8ce1637-8983-4344-bd4d-bf83c4e2eea8", + "b93b3251-baab-40b9-8197-c4c8dde200d9", + "d5e23b76-9796-4e07-b5dd-d00bb868f29f" + ], + "NodeLibraryDependencies": [ + { + "Name": "OpenStrc", + "Version": "2019.9.4", + "ReferenceType": "Package", + "Nodes": [ + "4654c2585b474035a8e8de8322b035de", + "ac3e54314e3b4a0e96ee4a48675d2785", + "7ecd3ee97bfe477d89a05699c580a3ac", + "d96a8bded4d74894985d000e107245cf" + ] + } + ], + "Bindings": [], + "View": { + "Dynamo": { + "ScaleFactor": 1.0, + "HasRunWithoutCrash": true, + "IsVisibleInDynamoLibrary": true, + "Version": "2.6.1.8786", + "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": "OpenStrc.Element.GridBubbleHideEnd", + "Id": "4654c2585b474035a8e8de8322b035de", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1007.1093650824541, + "Y": 715.49131786714031 + }, + { + "ShowGeometry": true, + "Name": "OpenStrc.Element.GridBubbleHideStart", + "Id": "ac3e54314e3b4a0e96ee4a48675d2785", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 829.48404157621894, + "Y": 266.50498151915235 + }, + { + "ShowGeometry": true, + "Name": "OpenStrc.Element.GridBubbleShowEnd", + "Id": "7ecd3ee97bfe477d89a05699c580a3ac", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 830.4271512735445, + "Y": 160.00599538547624 + }, + { + "ShowGeometry": true, + "Name": "OpenStrc.Element.GridBubbleShowStart", + "Id": "d96a8bded4d74894985d000e107245cf", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 1000.4412518740239, + "Y": 606.382351487333 + }, + { + "ShowGeometry": true, + "Name": "If", + "Id": "4f392afdb29c4b3383cc72cdc63325a7", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 594.92427457903011, + "Y": 225.41002481843702 + }, + { + "ShowGeometry": true, + "Name": "Invert", + "Id": "bdddafce10e74102a55f0cd7ca3de6c9", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "X": -213.32625690738161, + "Y": 424.22445072077545 + }, + { + "ShowGeometry": true, + "Name": "If", + "Id": "ca73e1bee3d94f2ba4e524641b71a23d", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 634.52265503286162, + "Y": 612.91159134994973 + }, + { + "ShowGeometry": true, + "Name": "Not", + "Id": "87cbce76272d4ce39bfcba2816f0245e", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 163.7926491796905, + "Y": 532.8441030482818 + }, + { + "ShowGeometry": true, + "Name": "Code Block", + "Id": "133106ee12e2405ba70c057b440ffabc", + "IsSetAsInput": false, + "IsSetAsOutput": false, + "Excluded": false, + "X": 269.51796420331209, + "Y": 716.0 + }, + { + "ShowGeometry": true, + "Name": "Select Grids", + "Id": "fba13976ed3d42e3bf9dee366fd3ff10", + "IsSetAsInput": true, + "IsSetAsOutput": false, + "Excluded": false, + "X": -252.1914830505018, + "Y": 183.71763318653086 + } + ], + "Annotations": [ + { + "Id": "5aa61c13317143229878b53193ad9948", + "Title": "Option 1", + "Nodes": [ + "ac3e54314e3b4a0e96ee4a48675d2785", + "7ecd3ee97bfe477d89a05699c580a3ac", + "4f392afdb29c4b3383cc72cdc63325a7" + ], + "Left": 584.92427457903011, + "Top": 107.00599538547624, + "Width": 517.50287669451438, + "Height": 252.49898613367611, + "FontSize": 36.0, + "InitialTop": 160.00599538547624, + "InitialHeight": 251.49898613367611, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "dfe92c844d314cfaa55099cda1010d60", + "Title": "Option 2", + "Nodes": [ + "4654c2585b474035a8e8de8322b035de", + "d96a8bded4d74894985d000e107245cf", + "ca73e1bee3d94f2ba4e524641b71a23d" + ], + "Left": 624.52265503286162, + "Top": 553.382351487333, + "Width": 649.58671004959251, + "Height": 255.10896637980727, + "FontSize": 36.0, + "InitialTop": 606.382351487333, + "InitialHeight": 254.10896637980727, + "TextblockHeight": 43.0, + "Background": "#FFC1D676" + }, + { + "Id": "970ac557700e46a58c014c33fec0051c", + "Title": "Input", + "Nodes": [ + "bdddafce10e74102a55f0cd7ca3de6c9", + "fba13976ed3d42e3bf9dee366fd3ff10" + ], + "Left": -262.1914830505018, + "Top": 130.71763318653086, + "Width": 283.0, + "Height": 361.50681753424459, + "FontSize": 36.0, + "InitialTop": 183.71763318653086, + "InitialHeight": 381.97054861369378, + "TextblockHeight": 43.0, + "Background": "#FFFF7BAC" + } + ], + "X": 211.80033049153184, + "Y": 435.0823639266938, + "Zoom": 0.56556784705402974 + } +} \ No newline at end of file diff --git a/README.md b/README.md index f217cf8..4b9f8a4 100644 --- a/README.md +++ b/README.md @@ -170,6 +170,17 @@ Removes **all** imported dwgs Exports selected category's all objects' elevation from PBP to excel. You can add an offset value for making the bounding box smaller. +### FlipGridBubbles-DP ✅ + +Disable the bubble on one side of the selected grids and enable on the other side. No logic, if nothing changes, change the `Invert` parameter. + +
+ Required packages + +- OpenStrc + +
+ ### FloorPresentation-DP ✅ Places all floor types in the project