Added DeleteAllRefPlanes

This commit is contained in:
2019-12-09 16:18:43 +01:00
parent 096a98f6ed
commit f94bfe057e
3 changed files with 194 additions and 0 deletions

View File

@@ -0,0 +1,179 @@
{
"Uuid": "a47955b8-f8f1-4070-9e0d-cb5aacd990fd",
"IsCustomNode": false,
"Description": null,
"Name": "DeleteAllRefPlanes",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "DSRevitNodesUI.ElementsOfCategory, DSRevitNodesUI",
"NodeType": "ExtensionNode",
"Id": "e5b96f7f03dd4d77a48ed9bb576cf175",
"Inputs": [
{
"Id": "a24c8e63011a4e938ff788c330aaab5e",
"Name": "Category",
"Description": "The Category",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "b71c2319c5b94b0890c1bf09c8219cfa",
"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": 397,
"NodeType": "ExtensionNode",
"Id": "2f5a8e6ee41e4d8795359f8b83e3ecc0",
"Inputs": [],
"Outputs": [
{
"Id": "e8e685b991534c3bb49b365d05e1d64f",
"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.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "archilab.Revit.Elements.Elements.Delete@Revit.Elements.Element",
"Id": "9cf1c5672d8047b5850a68c32336e529",
"Inputs": [
{
"Id": "a0e32e47685d4949bf1cf0856f4cb870",
"Name": "element",
"Description": "Element to delete.\n\nElement",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "46dcae28b5ab41eda50e5a8ffb246eb1",
"Name": "bool",
"Description": "bool",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Delete element from Revit DB.\n\nElements.Delete (element: Element): bool"
}
],
"Connectors": [
{
"Start": "b71c2319c5b94b0890c1bf09c8219cfa",
"End": "a0e32e47685d4949bf1cf0856f4cb870",
"Id": "9e858adee28a4c89addaaef23c410204"
},
{
"Start": "e8e685b991534c3bb49b365d05e1d64f",
"End": "a24c8e63011a4e938ff788c330aaab5e",
"Id": "9f45bb52f4f5440fb5c054836f6bed2d"
}
],
"Dependencies": [],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": true,
"IsVisibleInDynamoLibrary": true,
"Version": "2.0.2.6826",
"RunType": "Automatic",
"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": "All Elements of Category",
"Id": "e5b96f7f03dd4d77a48ed9bb576cf175",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 626.0,
"Y": 478.0
},
{
"ShowGeometry": true,
"Name": "Categories",
"Id": "2f5a8e6ee41e4d8795359f8b83e3ecc0",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 336.0,
"Y": 478.0
},
{
"ShowGeometry": true,
"Name": "Elements.Delete",
"Id": "9cf1c5672d8047b5850a68c32336e529",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 900.0,
"Y": 478.0
}
],
"Annotations": [
{
"Id": "4b5f11ba2b3343b085f5a7c7b4b0bc91",
"Title": "Script Name: \n\nPackages used in this script: \narchi-lab.net version: 2019.2.23\n\nTimeStamp : 2019/12/9 16:14",
"Nodes": [],
"Left": 251.43026706231456,
"Top": 332.89614243323444,
"Width": 0.0,
"Height": 0.0,
"FontSize": 36.0,
"InitialTop": 0.0,
"InitialHeight": 0.0,
"TextblockHeight": 0.0,
"Background": "#FFC1D676"
}
],
"X": 153.39999999999998,
"Y": 79.769999999999982,
"Zoom": 0.8425
}
}

View File

@@ -0,0 +1,7 @@
# DeleteAllRefPlanes
Deletes all reference planes in project
## Requirements
archi-lab

View File

@@ -52,6 +52,14 @@ State: stable
UI: DynamoPlayer
### DeleteAllRefPlanes
Delete all reference planes from the project
State: stable
UI: no ui
### DisallowJoinSelectedFrames
Disallow join on both end on the selected frames