Added CreateFloorsUnderElements

This commit is contained in:
2020-10-22 16:36:55 +02:00
parent 5f3a4d54c4
commit e933081be6
3 changed files with 3107 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -91,6 +91,14 @@ Places all loaded families from the selected category on a line for presentation
TODO: ui
### CreateFloorsUnderElements-DS ☑️
Same as BuldingPadsFromElements, but for floors.
Required packages:
- data-shapes
### CheckUnlimitedViewDepths ✅
List views which has unlimited view range set

View File

@@ -0,0 +1,434 @@
{
"Uuid": "84ba52ee-0761-4297-a77e-35d3ca3c0bf5",
"IsCustomNode": false,
"Description": null,
"Name": "ChangeMaterialTypeParameterOnAllTypesOfFamily",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "DSRevitNodesUI.FamilyTypes, DSRevitNodesUI",
"SelectedIndex": 354,
"SelectedString": "Door_sgl_int:48x168",
"NodeType": "ExtensionNode",
"Id": "4825a86070504fb4b1cb69499e7c908d",
"Inputs": [],
"Outputs": [
{
"Id": "bd5b83efd0984eb08e87c8ccb61c045d",
"Name": "Family Type",
"Description": "The selected Family Type",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "All family types available in the document."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.FamilyType.Family",
"Id": "366d2025b32e4692876c3a4b7d3f3721",
"Inputs": [
{
"Id": "1f8fcf67abb547f6bf86996e5fe7026b",
"Name": "familyType",
"Description": "Revit.Elements.FamilyType",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "79cdc96cf2454849802c43b95a5bd36e",
"Name": "Family",
"Description": "Family",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Get the parent family of this FamilyType\n\nFamilyType.Family: Family"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Element.SetParameterByName@string,var",
"Id": "1095803bab3d45068edc1383456fe898",
"Inputs": [
{
"Id": "c044e6f1a5e44fe3a42396c33aa2c8f5",
"Name": "element",
"Description": "Revit.Elements.Element",
"UsingDefaultValue": false,
"Level": 1,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "848634ea2062478dae3bc3ab59baf741",
"Name": "parameterName",
"Description": "The name of the parameter to set.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "47d418ce0a994975a61f51e3f65c9f07",
"Name": "value",
"Description": "The value.\n\nvar",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "098b4864af9343418ad1bd057ff4d90b",
"Name": "Element",
"Description": "Element",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "CrossProduct",
"Description": "Set one of the element's parameters.\n\nElement.SetParameterByName (parameterName: string, value: var): Element"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Family.Types",
"Id": "6aa0642ed2d4403ba7b1b1ee99e7d23f",
"Inputs": [
{
"Id": "5a5a47a4f4714360a13144cf293c9ecb",
"Name": "family",
"Description": "Revit.Elements.Family",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "fc6df8e57c4e4cca9cd31dc24dc8d2ce",
"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": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Material.ByName@string",
"Id": "a5d6c5c105c2427cad4d835cbebc3040",
"Inputs": [
{
"Id": "75fd37bff0584057821b0ef43ffdb0f8",
"Name": "name",
"Description": "The name of the material\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "bde57f7541b041ab83596d383bb478df",
"Name": "Material",
"Description": "Material",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Select a material from the current document by the name\n\nMaterial.ByName (name: string): Material"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "\"Default Door\";",
"Id": "d939926726194085a2bd1bfabeab87e1",
"Inputs": [],
"Outputs": [
{
"Id": "cd1302e43fae484dbe40e326ad4e777f",
"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.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "\"Panel\";",
"Id": "0fa1bc17c28c4c20b8e298550368f60c",
"Inputs": [],
"Outputs": [
{
"Id": "f43406e91146431b925013f714a09443",
"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.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "\"Frame\";",
"Id": "2baea9e6da47483aa2dd72ff5042bd78",
"Inputs": [],
"Outputs": [
{
"Id": "011686bcb4d44b36a7aff3bb451d0a99",
"Name": "",
"Description": "Value of expression at line 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Allows for DesignScript code to be authored directly"
},
{
"ConcreteType": "CoreNodeModels.CreateList, CoreNodeModels",
"VariableInputPorts": true,
"NodeType": "ExtensionNode",
"Id": "4f0138768eba4cb1add3b56f3520fb2e",
"Inputs": [
{
"Id": "861ee7c4a8d1407da6cddae7ac10d5a1",
"Name": "item0",
"Description": "Item Index #0",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "8d0410ce60c74fdeb4156b6e75248026",
"Name": "item1",
"Description": "Item Index #1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "6938a5656a2c4b2487d263ce97bc5ce6",
"Name": "list",
"Description": "A list",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Makes a new list out of the given inputs"
}
],
"Connectors": [
{
"Start": "bd5b83efd0984eb08e87c8ccb61c045d",
"End": "1f8fcf67abb547f6bf86996e5fe7026b",
"Id": "84ea0233869f457bb0f348a239b6901d"
},
{
"Start": "79cdc96cf2454849802c43b95a5bd36e",
"End": "5a5a47a4f4714360a13144cf293c9ecb",
"Id": "c4bafe5225e6463da6861006933b1a7f"
},
{
"Start": "fc6df8e57c4e4cca9cd31dc24dc8d2ce",
"End": "c044e6f1a5e44fe3a42396c33aa2c8f5",
"Id": "da2994c213b4449a8408f163867cf453"
},
{
"Start": "bde57f7541b041ab83596d383bb478df",
"End": "47d418ce0a994975a61f51e3f65c9f07",
"Id": "3de420050488440c91c3aede26164bd8"
},
{
"Start": "cd1302e43fae484dbe40e326ad4e777f",
"End": "75fd37bff0584057821b0ef43ffdb0f8",
"Id": "cc428e4d50194a159ccb8edc472ec01a"
},
{
"Start": "f43406e91146431b925013f714a09443",
"End": "861ee7c4a8d1407da6cddae7ac10d5a1",
"Id": "ef0877cdcab54bf394dd64800fb5925d"
},
{
"Start": "011686bcb4d44b36a7aff3bb451d0a99",
"End": "8d0410ce60c74fdeb4156b6e75248026",
"Id": "02baf6a2005b431fbd7f085f5bda010c"
},
{
"Start": "6938a5656a2c4b2487d263ce97bc5ce6",
"End": "848634ea2062478dae3bc3ab59baf741",
"Id": "245891276f9d40ea96decffd8a4c19d1"
}
],
"Dependencies": [],
"NodeLibraryDependencies": [],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": true,
"IsVisibleInDynamoLibrary": true,
"Version": "2.3.0.5885",
"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": "Family Types",
"Id": "4825a86070504fb4b1cb69499e7c908d",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 28.370055879710094,
"Y": 454.42217886459855
},
{
"ShowGeometry": true,
"Name": "FamilyType.Family",
"Id": "366d2025b32e4692876c3a4b7d3f3721",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 385.0,
"Y": 467.0
},
{
"ShowGeometry": true,
"Name": "Element.SetParameterByName",
"Id": "1095803bab3d45068edc1383456fe898",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1151.1287647492607,
"Y": 616.97808955269011
},
{
"ShowGeometry": true,
"Name": "Family.Types",
"Id": "6aa0642ed2d4403ba7b1b1ee99e7d23f",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 700.0,
"Y": 479.0
},
{
"ShowGeometry": true,
"Name": "Material.ByName",
"Id": "a5d6c5c105c2427cad4d835cbebc3040",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 851.66717207202328,
"Y": 926.158208129611
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "d939926726194085a2bd1bfabeab87e1",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 639.71117308082626,
"Y": 894.10930398792766
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "0fa1bc17c28c4c20b8e298550368f60c",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 651.713616256225,
"Y": 634.453430146197
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "2baea9e6da47483aa2dd72ff5042bd78",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 654.64098804196772,
"Y": 764.72147461174518
},
{
"ShowGeometry": true,
"Name": "List Create",
"Id": "4f0138768eba4cb1add3b56f3520fb2e",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 849.15065442660273,
"Y": 680.62791760083883
}
],
"Annotations": [],
"X": 19.506388759663935,
"Y": 137.01050446986633,
"Zoom": 0.40538795198124089
}
}