Added dwg-import-cleaner and list-all-inplace-elements

This commit is contained in:
2019-04-24 19:06:21 +02:00
parent 664f5e4767
commit 7354c9ae4d
7 changed files with 1465 additions and 3 deletions

View File

@@ -0,0 +1,248 @@
{
"Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
"IsCustomNode": false,
"Description": "",
"Name": "dwg-import-cleaner",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "CoreNodeModels.Input.BoolSelector, CoreNodeModels",
"NodeType": "BooleanInputNode",
"InputValue": true,
"Id": "c456f88cb662433dbd83d6220cdec336",
"Inputs": [],
"Outputs": [
{
"Id": "d7078398e3cf47789204428886c997c1",
"Name": "",
"Description": "Boolean",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Selection between a true and false."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "archilab.Revit.Elements.Elements.Delete@Revit.Elements.Element",
"Id": "0f8b56853fca498ea235493c88ee163a",
"Inputs": [
{
"Id": "80205f73b377487d899892f932079d67",
"Name": "element",
"Description": "Element to delete.\n\nElement",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "b06dc8b5fa10410a85541eeab4c5de06",
"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"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "CAD.ReportInstances@string,bool,bool",
"Id": "2ed47be158014ff7b7d4e241959ac189",
"Inputs": [
{
"Id": "c8844e163bd84e45a512e1832f8b4bae",
"Name": "filePath",
"Description": "Leave unconnected to report the active document or input a File Path to report an external Revit document or Family\n\nstring\nDefault value : null",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "45837f9bfa10481da8655172bc56bc65",
"Name": "refresh",
"Description": "To refresh, switch a bool input to its opposing state\n\nbool\nDefault value : true",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "718687162c684a6da7e5b6aa6ccb5f0e",
"Name": "close",
"Description": "Set to true to close any external files opened using the filePath input. Closing disposes all ouput objects\n\nbool\nDefault value : false",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "d3acd40bec3e4ef4bf9d47f5ee624c03",
"Name": "report[][]",
"Description": "string[][]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "b22317c0c19649479ac73f3308a5835b",
"Name": "CADLinks[]",
"Description": "ImportInstance[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "e4e1cd9565464a7e9b3beabda5061648",
"Name": "CADImports[]",
"Description": "ImportInstance[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Generates a report of all CAD links and imports in the document with key metrics. Linked and Imported CAD links are output into lists to aid with CAD link management.\r\rVisit bimorph.com/bimorph-nodes for support\n\nCAD.ReportInstances (filePath: string = null, refresh: bool = true, close: bool = false): var[]..[]"
}
],
"Connectors": [
{
"Start": "d7078398e3cf47789204428886c997c1",
"End": "45837f9bfa10481da8655172bc56bc65",
"Id": "de3d442892064c19a65508245de79ecb"
},
{
"Start": "e4e1cd9565464a7e9b3beabda5061648",
"End": "80205f73b377487d899892f932079d67",
"Id": "4a4bb8eea590405a969f817beb280cad"
}
],
"Dependencies": [],
"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": "Boolean",
"Id": "c456f88cb662433dbd83d6220cdec336",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1509.94450445684,
"Y": -349.105934757922
},
{
"ShowGeometry": true,
"Name": "Elements.Delete",
"Id": "0f8b56853fca498ea235493c88ee163a",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2081.42568542399,
"Y": -328.086319149476
},
{
"ShowGeometry": true,
"Name": "CAD.ReportInstances",
"Id": "2ed47be158014ff7b7d4e241959ac189",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1730.3999211777927,
"Y": -377.98014266790528
}
],
"Annotations": [
{
"Id": "25fc7463fb2a423a9c8ae9ac18bb66af",
"Title": "Archilab",
"Nodes": [
"0f8b56853fca498ea235493c88ee163a"
],
"Left": 2071.42568542399,
"Top": -374.086319149476,
"Width": 216.0,
"Height": 139.0,
"FontSize": 30.0,
"InitialTop": -328.086319149476,
"InitialHeight": 123.0,
"TextblockHeight": 36.0,
"Background": "#FFA4E1FF"
},
{
"Id": "d3f5bcc6561542eb9f3763522cefa238",
"Title": "Bimorph",
"Nodes": [
"2ed47be158014ff7b7d4e241959ac189"
],
"Left": 1720.3999211777927,
"Top": -430.98014266790528,
"Width": 267.0,
"Height": 198.0,
"FontSize": 36.0,
"InitialTop": -377.98014266790528,
"InitialHeight": 175.0,
"TextblockHeight": 43.0,
"Background": "#FFA4E1FF"
},
{
"Id": "9eea704f77ce4ab39eba777525df9278",
"Title": "Bimorph\r\nArchilab",
"Nodes": [],
"Left": 1654.1729802016073,
"Top": -630.55299187257719,
"Width": 0.0,
"Height": 0.0,
"FontSize": 36.0,
"InitialTop": 0.0,
"InitialHeight": 0.0,
"TextblockHeight": 0.0,
"Background": "#FFC1D676"
}
],
"X": -1269.89022373573,
"Y": 710.279567267629,
"Zoom": 0.87895433218201
}
}