Fixed BuildingPadsFromElements-DS

This commit is contained in:
2021-02-13 00:52:26 +01:00
parent 01a497b8ba
commit 7f9365ad5d
2 changed files with 128 additions and 67 deletions

View File

@@ -2,7 +2,7 @@
"Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
"IsCustomNode": false,
"Description": "",
"Name": "BuldingPadsFromElements-DS",
"Name": "BuildingPadsFromElements-DS",
"ElementResolver": {
"ResolutionMap": {}
},
@@ -569,26 +569,6 @@
"Replication": "Disabled",
"Description": "Get all elements of the specified category from the model."
},
{
"ConcreteType": "DSRevitNodesUI.Categories, DSRevitNodesUI",
"SelectedIndex": 248,
"NodeType": "ExtensionNode",
"Id": "1600f9179b3b46abba245ee656593771",
"Inputs": [],
"Outputs": [
{
"Id": "d21d93f7d5be49e1a376b6480532b81b",
"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",
@@ -1294,6 +1274,7 @@
{
"ConcreteType": "DSRevitNodesUI.ElementTypes, DSRevitNodesUI",
"SelectedIndex": 33,
"SelectedString": "BuildingPadType",
"NodeType": "ExtensionNode",
"Id": "2dabf406bddd4ee783f6dfbffa3c10af",
"Inputs": [],
@@ -1663,6 +1644,56 @@
],
"Replication": "Auto",
"Description": "Elevation relative to the Project origin\n\nLevel.ProjectElevation: double"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Category.ByName@string",
"Id": "3a5f62acd90b46cf8e2d0330d86c38b9",
"Inputs": [
{
"Id": "c1034cc0ac2e45acab0b9d3f8e92da9f",
"Name": "name",
"Description": "The built in category name.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "52ec2da3f6af4981a3a14fae14b29b8d",
"Name": "Category",
"Description": "Category",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Gets a Revit category by the built-in category name.\n\nCategory.ByName (name: string): Category"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "\"Levels\";",
"Id": "cc2d636747234dc9916704c6a827ddaa",
"Inputs": [],
"Outputs": [
{
"Id": "3895530d0c764968b86ec068e301b758",
"Name": "",
"Description": "Value of expression at line 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Allows for DesignScript code to be authored directly"
}
],
"Connectors": [
@@ -1756,11 +1787,6 @@
"End": "f110a5801b584e5aabef57228e10b678",
"Id": "4dce815dd4144778bd05b31578d836d5"
},
{
"Start": "d21d93f7d5be49e1a376b6480532b81b",
"End": "d890932b0ab24944b8d664d72670e5e8",
"Id": "590f2be0cd1745c28e8579bcca657cc4"
},
{
"Start": "ea352088b44c40879c4511ef5aeff464",
"End": "079f144b21854b02a3b86a85cb505284",
@@ -1945,6 +1971,16 @@
"Start": "ffe7477307764fcf95a4d3d907e8763e",
"End": "8324a16f84114b5185f9ed9db3d0c096",
"Id": "8a85c7b9518f41d2b243c4fe9b830279"
},
{
"Start": "52ec2da3f6af4981a3a14fae14b29b8d",
"End": "d890932b0ab24944b8d664d72670e5e8",
"Id": "194ff53806bd41e884cf336dd87982a2"
},
{
"Start": "3895530d0c764968b86ec068e301b758",
"End": "c1034cc0ac2e45acab0b9d3f8e92da9f",
"Id": "57d06ba8ddb6443eaf79a0c64826311e"
}
],
"Dependencies": [
@@ -1953,13 +1989,27 @@
"74c13cd2-5b9a-494f-beac-ea71fec14b56",
"7804e3b4-a95a-4ca5-a391-fd9d10566b40"
],
"NodeLibraryDependencies": [
{
"Name": "Data-Shapes",
"Version": "2019.2.42",
"ReferenceType": "Package",
"Nodes": [
"77dc583a535d417ab7741d2b93fd6c61",
"799e275b606f47379b61b0e557ad68fa",
"7e8ce2413b244eaeb26816cfe263f262",
"0e060934a8364df8a3689f3cc9eaaac6",
"082d27f5f3e742b99a9f617409438aba"
]
}
],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": true,
"IsVisibleInDynamoLibrary": true,
"Version": "2.0.3.8810",
"Version": "2.3.0.5885",
"RunType": "Manual",
"RunPeriod": "1000"
},
@@ -2083,8 +2133,8 @@
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1167.6441445833793,
"Y": 722.80850761397619
"X": -1165.361354518217,
"Y": 725.09129767913873
},
{
"ShowGeometry": true,
@@ -2093,8 +2143,8 @@
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1562.9679816727003,
"Y": 568.07845502536611
"X": -1560.6851916075379,
"Y": 570.36124509052866
},
{
"ShowGeometry": true,
@@ -2103,8 +2153,8 @@
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1532.0656072752004,
"Y": 669.70602908164119
"X": -1529.782817210038,
"Y": 671.98881914680373
},
{
"ShowGeometry": true,
@@ -2113,18 +2163,8 @@
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1752.7349095479904,
"Y": 750.2766470402812
},
{
"ShowGeometry": true,
"Name": "Categories",
"Id": "1600f9179b3b46abba245ee656593771",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1979.9230746686403,
"Y": 753.84512772105813
"X": -1750.452119482828,
"Y": 752.55943710544375
},
{
"ShowGeometry": true,
@@ -2313,8 +2353,8 @@
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1709.64465034301,
"Y": 1084.2691331996423
"X": -1751.0373154938698,
"Y": 1185.1637545048629
},
{
"ShowGeometry": true,
@@ -2323,8 +2363,8 @@
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1978.64465034301,
"Y": 1084.2691331996423
"X": -2020.0373154938698,
"Y": 1185.1637545048629
},
{
"ShowGeometry": true,
@@ -2333,8 +2373,8 @@
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1409.64465034301,
"Y": 1046.2691331996423
"X": -1451.0373154938698,
"Y": 1147.1637545048629
},
{
"ShowGeometry": true,
@@ -2343,8 +2383,8 @@
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1409.64465034301,
"Y": 1154.695799866309
"X": -1451.0373154938698,
"Y": 1255.5904211715297
},
{
"ShowGeometry": true,
@@ -2353,8 +2393,8 @@
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1128.64465034301,
"Y": 1070.2691331996423
"X": -1170.0373154938698,
"Y": 1171.1637545048629
},
{
"ShowGeometry": true,
@@ -2425,6 +2465,26 @@
"Excluded": false,
"X": 3413.9048224405105,
"Y": -177.1124382961782
},
{
"ShowGeometry": true,
"Name": "Category.ByName",
"Id": "3a5f62acd90b46cf8e2d0330d86c38b9",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -2018.6620139041383,
"Y": 757.99785863612351
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "cc2d636747234dc9916704c6a827ddaa",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -2286.6513837383918,
"Y": 747.60210492392685
}
],
"Annotations": [
@@ -2436,14 +2496,15 @@
"cd941c91665a48bea6b6c245a46a2c94",
"8ee013257cd3438aa074efc7f4ff3b95",
"828ac4c718d64c6db09ceb03bc559c6e",
"1600f9179b3b46abba245ee656593771"
"3a5f62acd90b46cf8e2d0330d86c38b9",
"cc2d636747234dc9916704c6a827ddaa"
],
"Left": -1989.9230746686403,
"Top": 515.07845502536611,
"Width": 1163.278930085261,
"Left": -2296.6513837383918,
"Top": 517.36124509052866,
"Width": 1472.2900292201748,
"Height": 404.73005258861008,
"FontSize": 36.0,
"InitialTop": 568.07845502536611,
"InitialTop": 570.36124509052866,
"InitialHeight": 330.766672695692,
"TextblockHeight": 43.0,
"Background": "#FFC1D676"
@@ -2500,12 +2561,12 @@
"753a82ee3daf4f5886570c1d7cfb9e8b",
"2dabf406bddd4ee783f6dfbffa3c10af"
],
"Left": -1988.64465034301,
"Top": 993.26913319964228,
"Left": -2030.0373154938698,
"Top": 1094.1637545048629,
"Width": 1201.0,
"Height": 264.42666666666673,
"FontSize": 36.0,
"InitialTop": 1046.2691331996423,
"InitialTop": 1147.1637545048629,
"InitialHeight": 253.42666666666673,
"TextblockHeight": 43.0,
"Background": "#FFC1D676"
@@ -2652,8 +2713,8 @@
"Background": "#FFC1D676"
}
],
"X": 287.5834100899749,
"Y": 163.82176142822914,
"Zoom": 0.40397887360555423
"X": -81.573847829805,
"Y": 467.49367125524,
"Zoom": 0.24632679391087486
}
}

View File

@@ -68,7 +68,7 @@ No packages requires
</details>
### BuldingPadsFromElements-DS ☑️ 🚧
### BuildingPadsFromElements-DS ☑️ 🚧
Create building pad from selected elements.