Files
dynamo-scripts/revisions/AddAllRevisionsToAllSheets.dyn
2020-10-27 18:32:05 +01:00

360 lines
10 KiB
Plaintext

{
"Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
"IsCustomNode": false,
"Description": "",
"Name": "AddAllRevisionsToAllSheets",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "b489e87e-6c60-4887-ab3c-88ef8a099209",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "95b9719aeade4cb8815d185eb8dfd3ff",
"Inputs": [
{
"Id": "b0f744c47bb0442cb7f8af04190fa311",
"Name": "_sheet",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "71c1366fd1664198bd026bc09e93f431",
"Name": "_revision",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "fa128cadfafa4ce79ba7dc0f010df104",
"Name": "_runIt",
"Description": "bool\nDefault value : false",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "303d7d0fb98b4857a99a25a14906c41b",
"Name": "_sheet",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "This node will add specified revisions to a sheet. "
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "e4f67d90-ea21-4d85-acbf-a9388cf512c8",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "e40961d4071b4eb4b62f816cee79cfac",
"Inputs": [
{
"Id": "6e291c8c69924f299e79126551aa0d23",
"Name": "_runIt",
"Description": "bool\nDefault value : false",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "ec1704fa82f24198bf7af5d8a9b7cf43",
"Name": "_revision",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "This node will return all Revisions currently defined in the mode."
},
{
"ConcreteType": "CoreNodeModels.Input.BoolSelector, CoreNodeModels",
"NodeType": "BooleanInputNode",
"InputValue": true,
"Id": "89a0ec2a976649138cebb8b96abe9da2",
"Inputs": [],
"Outputs": [
{
"Id": "dd31188c2564479a8dded99af964391e",
"Name": "",
"Description": "Boolean",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Selection between a true and false."
},
{
"ConcreteType": "DSRevitNodesUI.ElementsOfCategory, DSRevitNodesUI",
"NodeType": "ExtensionNode",
"Id": "3869f1337cc44bad867107d8c9991057",
"Inputs": [
{
"Id": "6d8468ba9e404d80a3d2a4e7fcdf5709",
"Name": "Category",
"Description": "The Category",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "e0bb06a4cd4f44bbb06e2801e1dc4149",
"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": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Elements.Category.ByName@string",
"Id": "196f272d8da94e6ca6c185deb24c1338",
"Inputs": [
{
"Id": "8ed899fa935c4f16bf30984b7ab1d83c",
"Name": "name",
"Description": "The built in category name.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "8d2687e2310c4e31ad97f081cc0b4208",
"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": "\"Sheets\";",
"Id": "ecef84dbfe974797b83c3445e6739e15",
"Inputs": [],
"Outputs": [
{
"Id": "11eb54f98614453b845fe90e0f964e4d",
"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": [
{
"Start": "ec1704fa82f24198bf7af5d8a9b7cf43",
"End": "71c1366fd1664198bd026bc09e93f431",
"Id": "4a546a06870b4307aec6f753737d2d3a"
},
{
"Start": "dd31188c2564479a8dded99af964391e",
"End": "6e291c8c69924f299e79126551aa0d23",
"Id": "745d28001e99490a817550b8b7b63e92"
},
{
"Start": "dd31188c2564479a8dded99af964391e",
"End": "fa128cadfafa4ce79ba7dc0f010df104",
"Id": "a2018aa2fc6c4b36a3f452c472f89c48"
},
{
"Start": "e0bb06a4cd4f44bbb06e2801e1dc4149",
"End": "b0f744c47bb0442cb7f8af04190fa311",
"Id": "d6b30447aa43436ab02a6b30c94f8c45"
},
{
"Start": "8d2687e2310c4e31ad97f081cc0b4208",
"End": "6d8468ba9e404d80a3d2a4e7fcdf5709",
"Id": "73839c96ef2046daa21f2c7e16241fd7"
},
{
"Start": "11eb54f98614453b845fe90e0f964e4d",
"End": "8ed899fa935c4f16bf30984b7ab1d83c",
"Id": "ad741b2ecab74671b963d71a8e5c3849"
}
],
"Dependencies": [
"b489e87e-6c60-4887-ab3c-88ef8a099209",
"e4f67d90-ea21-4d85-acbf-a9388cf512c8"
],
"NodeLibraryDependencies": [
{
"Name": "archi-lab.net",
"Version": "2021.25.4",
"ReferenceType": "Package",
"Nodes": [
"95b9719aeade4cb8815d185eb8dfd3ff",
"e40961d4071b4eb4b62f816cee79cfac"
]
}
],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": false,
"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": "Add Revisions to Sheet",
"Id": "95b9719aeade4cb8815d185eb8dfd3ff",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 3734.70099138213,
"Y": 842.32061144745853
},
{
"ShowGeometry": true,
"Name": "Get All Revisions",
"Id": "e40961d4071b4eb4b62f816cee79cfac",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 3397.9611841839296,
"Y": 888.78878507649154
},
{
"ShowGeometry": true,
"Name": "Boolean",
"Id": "89a0ec2a976649138cebb8b96abe9da2",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 3226.1091896898315,
"Y": 1056.132304869057
},
{
"ShowGeometry": true,
"Name": "All Elements of Category",
"Id": "3869f1337cc44bad867107d8c9991057",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 3174.2407371433519,
"Y": 651.10785353272479
},
{
"ShowGeometry": true,
"Name": "Category.ByName",
"Id": "196f272d8da94e6ca6c185deb24c1338",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2915.0912230990907,
"Y": 658.65894131051414
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "ecef84dbfe974797b83c3445e6739e15",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2747.2067970870708,
"Y": 668.93220163553
}
],
"Annotations": [
{
"Id": "8faecaa4e0bb47f5a08cead28d824660",
"Title": "archicab",
"Nodes": [
"95b9719aeade4cb8815d185eb8dfd3ff",
"e40961d4071b4eb4b62f816cee79cfac"
],
"Left": 3387.9611841839296,
"Top": 796.32061144745853,
"Width": 568.7398071982002,
"Height": 185.468173629033,
"FontSize": 30.0,
"InitialTop": 842.32061144745853,
"InitialHeight": 191.468173629033,
"TextblockHeight": 36.0,
"Background": "#FFC1D676"
},
{
"Id": "86ffdb3707a447398e61c3b9f1ef5af3",
"Title": "Script Name: AddAllRevisionsToAllSheets.dyn\n\nPackages used in this script: \narchi-lab.net version: 2019.2.23\n\nTimeStamp : 2019/8/16 1:38",
"Nodes": [],
"Left": 2816.2407371433515,
"Top": 517.67825243154448,
"Width": 0.0,
"Height": 0.0,
"FontSize": 36.0,
"InitialTop": 0.0,
"InitialHeight": 0.0,
"TextblockHeight": 0.0,
"Background": "#FFC1D676"
}
],
"X": -1893.4188908067767,
"Y": 162.13694908375578,
"Zoom": 0.679723448268878
}
}