Files
dynamo-scripts/ImportDwgBatch/ImportDwgBatch.dyn
2019-07-06 18:22:47 +02:00

1338 lines
41 KiB
Plaintext

{
"Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
"IsCustomNode": false,
"Description": "",
"Name": "ImportDwgBatch",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [
{
"Id": "fda71e3cc5bb44918e58702305b55354",
"Name": "File extension",
"Type": "string",
"Value": "dwg",
"Description": "Creates a string."
},
{
"Id": "953d0c0a289847e782de8b039e664dc8",
"Name": "File Path",
"Type": "string",
"Value": "..\\..\\..\\_pdfout\\FA_16.dwg",
"Description": "Allows you to select a file on the system to get its filename"
},
{
"Id": "1b5cd3d8885a4e63a9dc597dece04208",
"Name": "Autosave",
"Type": "boolean",
"Value": "true",
"Description": "Selection between a true and false."
},
{
"Id": "fd10a790cff44675a7a9e75ad5b75607",
"Name": "Import scale",
"Type": "number",
"Value": "14",
"NumberType": "Double",
"Description": "Creates a number."
}
],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Application.Document.Current",
"Id": "fa6f1cc19c8d4d7887ebda96cfbff009",
"Inputs": [],
"Outputs": [
{
"Id": "6c9beea925ca4b1bac48b0edcfd2f506",
"Name": "Document",
"Description": "Document",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Get the current document\n\nDocument.Current: Document"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Application.Document.FilePath",
"Id": "b9c3efa8838242f98b309f9249be0d88",
"Inputs": [
{
"Id": "8d65cc59ecb74006a0c81bf8e3218eb4",
"Name": "document",
"Description": "Revit.Application.Document",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "de3bf0416b5f4bb4a2350d5a380c37b3",
"Name": "string",
"Description": "string",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "The full path of the Document.\n\nDocument.FilePath: string"
},
{
"ConcreteType": "CoreNodeModels.Input.StringInput, CoreNodeModels",
"NodeType": "StringInputNode",
"InputValue": "dwg",
"Id": "fda71e3cc5bb44918e58702305b55354",
"Inputs": [],
"Outputs": [
{
"Id": "de7dd56a35a346dca10a0e3b987c7623",
"Name": "",
"Description": "String",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Creates a string."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "19ce6b9f-f4cf-4a3f-9788-1482e94528d6",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "59fd344917f44b0ea6ddbc168822b41c",
"Inputs": [
{
"Id": "ab5023ceb852476684ec44ca81229382",
"Name": "filePath",
"Description": " File path to save to. File extension (*.rvt/*.rfa) will be automatically added.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "8c57d37ef93143e8a8379ab8ba9716eb",
"Name": "compactFile",
"Description": " Should the file be compacted?\n\nbool\nDefault value : false",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "de06bda3dfa64c5592f55649d9562483",
"Name": "saveAsCentral",
"Description": " Should the file be saved as a new central file? Will be ignored for non-workshared projects and families\n\nbool\nDefault value : false",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "3ca3b521b549440d8385aaea498c0358",
"Name": "success",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Saves the active Revit document under the given name."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "ecce77dc-1290-438e-a056-970b256fd553",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "6f104a89e0ed4c9cbb2b38bcee1d6bc0",
"Inputs": [
{
"Id": "96b8791395ee4b73becda6250fe286b3",
"Name": "passThrough",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "4856585117b24a92bff1c8927e1bdd25",
"Name": "waitFor",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "8343e39108c34dd58038ebb6078a95cc",
"Name": "passThrough",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Forces a sequential order of execution. The node wired into the output of the Passthrough node will be executed *after* the node wired into the waitFor input (e.g. important for some Revit operations). The value of the passThrough input will be passed on to the node wired into the output port of the Passthrough node."
},
{
"ConcreteType": "CoreNodeModels.Logic.If, CoreNodeModels",
"NodeType": "ExtensionNode",
"Id": "bdb9c577d0e943fc8a759e77b4bf1298",
"Inputs": [
{
"Id": "65bbdc05234640f5a07028a8e8bbc3c3",
"Name": "test",
"Description": "Test block",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "bba84d42a25c420fa4270b5c712a9968",
"Name": "true",
"Description": "True block",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "ff9ee881c33d41d5818029ce43b96a2a",
"Name": "false",
"Description": "False block",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "f0e733eb45354cd8b0eab587a0716c3b",
"Name": "result",
"Description": "result",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Conditional statement"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.IO.FileSystem.ChangePathExtension@string,string",
"Id": "294304a0f9204a148ea84b11b1de9f76",
"Inputs": [
{
"Id": "7533d24dfb894c78b6e82ca8834bb131",
"Name": "path",
"Description": "Path to change extension of.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "e05e886c7446455f9680536fcd013439",
"Name": "newExtension",
"Description": "New extension.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "68f35ff4bb1e4126880c608cd6c096ed",
"Name": "string",
"Description": "string",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Changes the extension of a file path.\n\nFileSystem.ChangePathExtension (path: string, newExtension: string): string"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.IO.FileSystem.FileName@string,bool",
"Id": "3de3276cbeea43e2b25b3f925500674d",
"Inputs": [
{
"Id": "716e99f3267541e3985b50aa6d651b9e",
"Name": "path",
"Description": "Path to get the file name of.\n\nstring",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "d295803d292e4998a845a07b5d005b7a",
"Name": "withExtension",
"Description": "Determines whether or not the extension is included in the result, defaults to true.\n\nbool\nDefault value : true",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "197423b8d0ef4737b271d25508d1eeb8",
"Name": "string",
"Description": "string",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Returns the file name of a file path.\n\nFileSystem.FileName (path: string, withExtension: bool = true): string"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "false;",
"Id": "6c61f2187d4a4d7ca746e1e15fe36ea1",
"Inputs": [],
"Outputs": [
{
"Id": "2b3d88424d5448a18a9488b009a05193",
"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.Input.Filename, CoreNodeModels",
"HintPath": "C:\\Users\\gyetpet\\Documents\\_pdfout\\FA_16.dwg",
"InputValue": "..\\..\\..\\_pdfout\\FA_16.dwg",
"NodeType": "ExtensionNode",
"Id": "953d0c0a289847e782de8b039e664dc8",
"Inputs": [],
"Outputs": [
{
"Id": "5162f3339dbb4aa693896d8c891297c2",
"Name": "",
"Description": "Filename",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Allows you to select a file on the system to get its filename"
},
{
"ConcreteType": "CoreNodeModels.Input.BoolSelector, CoreNodeModels",
"NodeType": "BooleanInputNode",
"InputValue": true,
"Id": "1b5cd3d8885a4e63a9dc597dece04208",
"Inputs": [],
"Outputs": [
{
"Id": "deb4af9cabda479ebe42565780fac182",
"Name": "",
"Description": "Boolean",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Selection between a true and false."
},
{
"ConcreteType": "CoreNodeModels.Logic.If, CoreNodeModels",
"NodeType": "ExtensionNode",
"Id": "5f49a98762ed457faf9935ae642de91f",
"Inputs": [
{
"Id": "17a630d4c1fc4a4c840bb20d9d124447",
"Name": "test",
"Description": "Test block",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "0d62701fb84c4055bf089fbd7ad60d62",
"Name": "true",
"Description": "True block",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "3e07905845f7460e823c3a161d477b06",
"Name": "false",
"Description": "False block",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "09e54ee9cfd747148b697c51a8f41b0c",
"Name": "result",
"Description": "result",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Conditional statement"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.IO.FileSystem.FileExists@string",
"Id": "3d87d1af2ffa47ee94b5b9516c3a2373",
"Inputs": [
{
"Id": "904102870c364a7f91749520137939f3",
"Name": "path",
"Description": "string",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "3a95324797114e30a74f6778c8cf182a",
"Name": "bool",
"Description": "bool",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Determines if a file exists at the given path.\n\nFileSystem.FileExists (path: string): bool"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "36593fbe-4737-4c56-8556-6289637f96b2",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "571e41a77f104156ab2db7db28b3b3ea",
"Inputs": [
{
"Id": "3bfe618d310442d48c659bfd94eef641",
"Name": "Filepaths",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "bba74b17ba4c4eaea443685ccb644ff0",
"Name": "views",
"Description": "As many Views as FilePaths\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "d43abcef71c24224842816ae33301412",
"Name": "CustomScale",
"Description": "double\nDefault value : 1",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "c0c13936cca54b64bac074a8dad9f0ef",
"Name": "Colormode",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "c4e4140fd6a84419a267485637a5f4da",
"Name": "Placement",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "02973f17261f4b72a082ec4336ae4adc",
"Name": "Unit",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "dfab128251de4c80a28f5dfec0812018",
"Name": "Views",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "8a173e7a55e443cc980aeccbaa090f91",
"Name": "Name",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "525c94724b84469d888d48057b33a495",
"Name": "CADLinkType",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "66a8bc7c404b4d658641ad5d0a86d5d0",
"Name": "ImportInstance",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Import DWGs in views with options.\r\nUse with the Enumerate DWG import options node.\r\nBased on an archilab's script."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Revit.Application.Document.ActiveView",
"Id": "5ba4312dc9954fadaeff411de0185b0e",
"Inputs": [
{
"Id": "2be4402871e248399728ec963a0ba848",
"Name": "document",
"Description": "Revit.Application.Document",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "6891116cda5a4da28c6c6dd627ad6244",
"Name": "View",
"Description": "View",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Get the active view for the document\n\nDocument.ActiveView: View"
},
{
"ConcreteType": "CoreNodeModels.Input.DoubleInput, CoreNodeModels",
"NodeType": "NumberInputNode",
"NumberType": "Double",
"InputValue": 14.0,
"Id": "fd10a790cff44675a7a9e75ad5b75607",
"Inputs": [],
"Outputs": [
{
"Id": "3a1fd3b292894d499d01ea834cfd7830",
"Name": "",
"Description": "Double",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Creates a number."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "CAD.DetailCurvesFromCADLayers@Revit.Elements.Element,Revit.Elements.Element,string[],string[]",
"Id": "68df0d43dbd240288b1c35761d6335eb",
"Inputs": [
{
"Id": "ccf10b4918ad46b4bf18f705db0fe4d1",
"Name": "importInstance",
"Description": "Input the ImportInstance to convert to curves\n\nElement",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "c8f9ff15342c4df79cda1f4527549a98",
"Name": "view",
"Description": "Select the target View for the Detail Lines. The View should be related to the ImportInstance\n\nElement",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "658c69b9ecc64917b79c040fbf4c6583",
"Name": "layerNames",
"Description": "Enter the layer names for conversion. Leave unconnected to convert all layers. Names are case-sensitive\n\nstring[]\nDefault value : null",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "b28b0f99c06244b69e1e3801cfab26a5",
"Name": "lineStyleMap",
"Description": "Enter the LineStyle names to map to each layer. Longest lacing is used by default\n\nstring[]\nDefault value : null",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "358991163b354bc1912e780cf189519b",
"Name": "DetailCurve[][]",
"Description": "DetailCurve[][]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "fc2dc9d082c6435ead09e367fb09c75f",
"Name": "layerKeys[]",
"Description": "string[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Convert curves from a CAD link or import to Revit Detail curves by layer name. Detail Curves are organised into sublists by layer. Enter LineStyle names to map to each layer during conversion.\r\rThe node is optimised to convert curve types that typically fail when using Dynamo Element.Curves node or Revit Explode.\r\rVisit bimorph.com/bimorph-nodes for support\n\nCAD.DetailCurvesFromCADLayers (importInstance: Element, view: Element, layerNames: string[] = null, lineStyleMap: string[] = null): var[]..[]"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "\"Detail Items\";",
"Id": "0c65170abc1343e8bf31477c1b878e89",
"Inputs": [],
"Outputs": [
{
"Id": "31dd7f2631c844ce980b919f606f6588",
"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.CustomNodes.Function, DynamoCore",
"FunctionSignature": "f4720f2a-ce11-4175-90b5-36127498a2ce",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "e1d442ab4c494511a4e078f42439781c",
"Inputs": [],
"Outputs": [
{
"Id": "7939b4a508ef4c38a5c6303fdd624ced",
"Name": "Colormode",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "e1673979691b44f99027dc0994f27892",
"Name": "Placement",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "20aeafd72cce4f8fbefc21df6a9ec9c4",
"Name": "Unit",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Enumerate Color mode, Type of Placement and Type of Unit.\r\nWork with node \"Import DWG\"."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
"NodeType": "CodeBlockNode",
"Code": "a[0];\nb[1];\nc[6];",
"Id": "3f66da1b25f346b1842988673b17ca92",
"Inputs": [
{
"Id": "24038cf6eae449898ddd71b3a6297467",
"Name": "a",
"Description": "a",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "ef626ade2cc04fdd9b937e7020feacc4",
"Name": "b",
"Description": "b",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "9db49380a8e94401b5eec2225372c345",
"Name": "c",
"Description": "c",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "25e60eafd5a44919a67416fec3f45646",
"Name": "",
"Description": "Value of expression at line 1",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "8cbf3dc58ba9420ca4a06427b654d56b",
"Name": "",
"Description": "Value of expression at line 2",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "409ff3cd81b94bee9708831ed66c89bc",
"Name": "",
"Description": "Value of expression at line 3",
"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": "\"\";",
"Id": "a07313146765439887a78ffde66a56bc",
"Inputs": [],
"Outputs": [
{
"Id": "003cb839b63d4d659dc97afa49de2571",
"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": "6c9beea925ca4b1bac48b0edcfd2f506",
"End": "8d65cc59ecb74006a0c81bf8e3218eb4",
"Id": "ddafb3e2c9e34fa984131ff4b7772e31"
},
{
"Start": "6c9beea925ca4b1bac48b0edcfd2f506",
"End": "2be4402871e248399728ec963a0ba848",
"Id": "78deaad87e5b4507b66c98d7bff0e916"
},
{
"Start": "de3bf0416b5f4bb4a2350d5a380c37b3",
"End": "7533d24dfb894c78b6e82ca8834bb131",
"Id": "175726b39ad242b7b70cbcbe5a8ddca6"
},
{
"Start": "de3bf0416b5f4bb4a2350d5a380c37b3",
"End": "716e99f3267541e3985b50aa6d651b9e",
"Id": "5c074d2741a7457c8882b8076d1494db"
},
{
"Start": "de3bf0416b5f4bb4a2350d5a380c37b3",
"End": "0d62701fb84c4055bf089fbd7ad60d62",
"Id": "60388cb755954fe382de6a1d500a168c"
},
{
"Start": "de7dd56a35a346dca10a0e3b987c7623",
"End": "e05e886c7446455f9680536fcd013439",
"Id": "bfab3831b953492cbf294a26c41b3fca"
},
{
"Start": "8343e39108c34dd58038ebb6078a95cc",
"End": "ab5023ceb852476684ec44ca81229382",
"Id": "1eac25e9ef5c4f3a8af327114a4cd6d5"
},
{
"Start": "f0e733eb45354cd8b0eab587a0716c3b",
"End": "3bfe618d310442d48c659bfd94eef641",
"Id": "743ba88fa6ae4db7902417987c7174b8"
},
{
"Start": "68f35ff4bb1e4126880c608cd6c096ed",
"End": "904102870c364a7f91749520137939f3",
"Id": "1996e64736d740579b36e209f888620d"
},
{
"Start": "68f35ff4bb1e4126880c608cd6c096ed",
"End": "bba84d42a25c420fa4270b5c712a9968",
"Id": "465f7c0ed2af48569eb437fa5cf250c4"
},
{
"Start": "2b3d88424d5448a18a9488b009a05193",
"End": "d295803d292e4998a845a07b5d005b7a",
"Id": "b760852a0cda4b02aa37f5c9482c002c"
},
{
"Start": "5162f3339dbb4aa693896d8c891297c2",
"End": "ff9ee881c33d41d5818029ce43b96a2a",
"Id": "fb892da230e4478e9d45d80b402bd87c"
},
{
"Start": "deb4af9cabda479ebe42565780fac182",
"End": "17a630d4c1fc4a4c840bb20d9d124447",
"Id": "b761917cbb1c4f41b70b4f96959e68a1"
},
{
"Start": "09e54ee9cfd747148b697c51a8f41b0c",
"End": "96b8791395ee4b73becda6250fe286b3",
"Id": "dd7e49f98f8246f498b2587c8b76963e"
},
{
"Start": "3a95324797114e30a74f6778c8cf182a",
"End": "65bbdc05234640f5a07028a8e8bbc3c3",
"Id": "54b3870ee329467ba9661f27ac67e986"
},
{
"Start": "66a8bc7c404b4d658641ad5d0a86d5d0",
"End": "ccf10b4918ad46b4bf18f705db0fe4d1",
"Id": "5c582dc235004bb889b86a9ce3e04c30"
},
{
"Start": "6891116cda5a4da28c6c6dd627ad6244",
"End": "c8f9ff15342c4df79cda1f4527549a98",
"Id": "83dca4e5de1c484081450d2b3a866525"
},
{
"Start": "6891116cda5a4da28c6c6dd627ad6244",
"End": "bba74b17ba4c4eaea443685ccb644ff0",
"Id": "27fd511a97174c129caa43d1e43c1486"
},
{
"Start": "3a1fd3b292894d499d01ea834cfd7830",
"End": "d43abcef71c24224842816ae33301412",
"Id": "fe5870a9a33e412ba5d547b3e9dd6237"
},
{
"Start": "358991163b354bc1912e780cf189519b",
"End": "4856585117b24a92bff1c8927e1bdd25",
"Id": "eb0479bbe3c24441940c3374683de4aa"
},
{
"Start": "31dd7f2631c844ce980b919f606f6588",
"End": "b28b0f99c06244b69e1e3801cfab26a5",
"Id": "ab4be27d6bb0474281bea0bb9a411f73"
},
{
"Start": "7939b4a508ef4c38a5c6303fdd624ced",
"End": "24038cf6eae449898ddd71b3a6297467",
"Id": "0448e6ea2045423c847c4c50ae7ed441"
},
{
"Start": "e1673979691b44f99027dc0994f27892",
"End": "ef626ade2cc04fdd9b937e7020feacc4",
"Id": "38dea593d59b4d34869bdfa7b317f1a3"
},
{
"Start": "20aeafd72cce4f8fbefc21df6a9ec9c4",
"End": "9db49380a8e94401b5eec2225372c345",
"Id": "6e899ff69fcd4de18763a70ceba18f37"
},
{
"Start": "25e60eafd5a44919a67416fec3f45646",
"End": "c0c13936cca54b64bac074a8dad9f0ef",
"Id": "eb4cdf2394c14c8b916a04e2f6e71876"
},
{
"Start": "8cbf3dc58ba9420ca4a06427b654d56b",
"End": "c4e4140fd6a84419a267485637a5f4da",
"Id": "178dc9d2140e4e829164ebfa2bb2fec0"
},
{
"Start": "409ff3cd81b94bee9708831ed66c89bc",
"End": "02973f17261f4b72a082ec4336ae4adc",
"Id": "52516e487926441fab095f067accf7fb"
},
{
"Start": "003cb839b63d4d659dc97afa49de2571",
"End": "3e07905845f7460e823c3a161d477b06",
"Id": "40e829818a82499c8a0904358f8d6c58"
}
],
"Dependencies": [
"19ce6b9f-f4cf-4a3f-9788-1482e94528d6",
"ecce77dc-1290-438e-a056-970b256fd553",
"36593fbe-4737-4c56-8556-6289637f96b2",
"f4720f2a-ce11-4175-90b5-36127498a2ce"
],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": true,
"IsVisibleInDynamoLibrary": true,
"Version": "2.0.2.6826",
"RunType": "Automatic",
"RunPeriod": "1000"
},
"Camera": {
"Name": "Background Preview",
"EyeX": -1477.129638671875,
"EyeY": 3359.07763671875,
"EyeZ": -798.9140625,
"LookX": 1477.1419677734375,
"LookY": -2671.07470703125,
"LookZ": 1486.938720703125,
"UpX": 0.44828617572784424,
"UpY": 0.77162456512451172,
"UpZ": 0.4512593150138855
},
"NodeViews": [
{
"ShowGeometry": true,
"Name": "Document.Current",
"Id": "fa6f1cc19c8d4d7887ebda96cfbff009",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1650.9052131914079,
"Y": -715.43932119981514
},
{
"ShowGeometry": true,
"Name": "Document.FilePath",
"Id": "b9c3efa8838242f98b309f9249be0d88",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1430.2510484217346,
"Y": -924.06104174120992
},
{
"ShowGeometry": true,
"Name": "File extension",
"Id": "fda71e3cc5bb44918e58702305b55354",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1083.442680583177,
"Y": 333.24715772924793
},
{
"ShowGeometry": true,
"Name": "Document.SaveAs",
"Id": "59fd344917f44b0ea6ddbc168822b41c",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 3047.27166368231,
"Y": -2356.18140359219
},
{
"ShowGeometry": true,
"Name": "Passthrough",
"Id": "6f104a89e0ed4c9cbb2b38bcee1d6bc0",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2670.27166368231,
"Y": -2356.18140359219
},
{
"ShowGeometry": true,
"Name": "If",
"Id": "bdb9c577d0e943fc8a759e77b4bf1298",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -236.4281817281892,
"Y": -377.29935404116151
},
{
"ShowGeometry": true,
"Name": "FileSystem.ChangePathExtension",
"Id": "294304a0f9204a148ea84b11b1de9f76",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -929.24826845699761,
"Y": -854.37879478226694
},
{
"ShowGeometry": true,
"Name": "FileSystem.FileName",
"Id": "3de3276cbeea43e2b25b3f925500674d",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1021.2706964395516,
"Y": -1080.4810086890188
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "6c61f2187d4a4d7ca746e1e15fe36ea1",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1430.2510484217346,
"Y": -1032.9408913616189
},
{
"ShowGeometry": true,
"Name": "File Path",
"Id": "953d0c0a289847e782de8b039e664dc8",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1154.807190887223,
"Y": 34.523701312002572
},
{
"ShowGeometry": true,
"Name": "Autosave",
"Id": "1b5cd3d8885a4e63a9dc597dece04208",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1152.263901899732,
"Y": 148.75301570226725
},
{
"ShowGeometry": true,
"Name": "If",
"Id": "5f49a98762ed457faf9935ae642de91f",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2384.1859836382496,
"Y": -2370.0027791158568
},
{
"ShowGeometry": true,
"Name": "FileSystem.FileExists",
"Id": "3d87d1af2ffa47ee94b5b9516c3a2373",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -510.4281817281892,
"Y": -377.29935404116151
},
{
"ShowGeometry": true,
"Name": "Import DWG",
"Id": "571e41a77f104156ab2db7db28b3b3ea",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 364.65059631900147,
"Y": 207.56029722157996
},
{
"ShowGeometry": true,
"Name": "Document.ActiveView",
"Id": "5ba4312dc9954fadaeff411de0185b0e",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -149.50228238573504,
"Y": -760.36547387626251
},
{
"ShowGeometry": true,
"Name": "Import scale",
"Id": "fd10a790cff44675a7a9e75ad5b75607",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Excluded": false,
"X": -1065.4667074303038,
"Y": 428.2477033114202
},
{
"ShowGeometry": true,
"Name": "CAD.DetailCurvesFromCADLayers",
"Id": "68df0d43dbd240288b1c35761d6335eb",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1146.8060990977415,
"Y": -145.95479818976554
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "0c65170abc1343e8bf31477c1b878e89",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 785.520735895828,
"Y": -20.225756353978113
},
{
"ShowGeometry": true,
"Name": "Enumerate DWG import options",
"Id": "e1d442ab4c494511a4e078f42439781c",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": -223.36291873957578,
"Y": 372.58066373598541
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "3f66da1b25f346b1842988673b17ca92",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 96.343223955846156,
"Y": 376.66274555125494
},
{
"ShowGeometry": true,
"Name": "Code Block",
"Id": "a07313146765439887a78ffde66a56bc",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 2181.0,
"Y": -2276.0
}
],
"Annotations": [
{
"Id": "28a53acab2bb4ee382cb2d5ffaa52b2c",
"Title": "Input",
"Nodes": [
"fda71e3cc5bb44918e58702305b55354",
"fd10a790cff44675a7a9e75ad5b75607"
],
"Left": -1093.442680583177,
"Top": 287.24715772924793,
"Width": 125.97597315287317,
"Height": 209.00054558217226,
"FontSize": 30.0,
"InitialTop": 333.24715772924793,
"InitialHeight": 240.00054558217226,
"TextblockHeight": 36.0,
"Background": "#FFD4B6DB"
},
{
"Id": "70fa61069cef41559cbc1c8f48eb8010",
"Title": "Filepath",
"Nodes": [
"fa6f1cc19c8d4d7887ebda96cfbff009",
"b9c3efa8838242f98b309f9249be0d88",
"6c61f2187d4a4d7ca746e1e15fe36ea1",
"294304a0f9204a148ea84b11b1de9f76",
"3de3276cbeea43e2b25b3f925500674d"
],
"Left": -1660.9052131914079,
"Top": -1126.4810086890188,
"Width": 979.65694473441033,
"Height": 504.0416874892037,
"FontSize": 30.0,
"InitialTop": -1080.4810086890188,
"InitialHeight": 510.0416874892037,
"TextblockHeight": 36.0,
"Background": "#FFC1D676"
},
{
"Id": "4a1dc6a7ae814493a253467173422d19",
"Title": "Save file",
"Nodes": [
"59fd344917f44b0ea6ddbc168822b41c",
"6f104a89e0ed4c9cbb2b38bcee1d6bc0"
],
"Left": 2660.27166368231,
"Top": -2402.18140359219,
"Width": 648.0,
"Height": 191.0,
"FontSize": 30.0,
"InitialTop": -2356.18140359219,
"InitialHeight": 145.0,
"TextblockHeight": 36.0,
"Background": "#FFC1D676"
},
{
"Id": "73766b87329641d49c0c63ec041afbc7",
"Title": "Check if obj exists",
"Nodes": [
"bdb9c577d0e943fc8a759e77b4bf1298",
"3d87d1af2ffa47ee94b5b9516c3a2373"
],
"Left": -520.4281817281892,
"Top": -423.29935404116151,
"Width": 421.0,
"Height": 191.0,
"FontSize": 30.0,
"InitialTop": -377.29935404116151,
"InitialHeight": 145.0,
"TextblockHeight": 36.0,
"Background": "#FFC1D676"
},
{
"Id": "43cf3713de004bf9a593f2bea90609ab",
"Title": "Manual mode inputs",
"Nodes": [
"953d0c0a289847e782de8b039e664dc8",
"1b5cd3d8885a4e63a9dc597dece04208"
],
"Left": -1164.807190887223,
"Top": -47.476298687997428,
"Width": 182.0,
"Height": 264.22931439026468,
"FontSize": 30.0,
"InitialTop": 34.523701312002572,
"InitialHeight": 259.22931439026468,
"TextblockHeight": 72.0,
"Background": "#FFD4B6DB"
},
{
"Id": "a96842621b224b51b1630d8882f6b966",
"Title": "Import dwg",
"Nodes": [
"571e41a77f104156ab2db7db28b3b3ea"
],
"Left": 354.65059631900147,
"Top": 154.56029722157996,
"Width": 310.0,
"Height": 276.0,
"FontSize": 36.0,
"InitialTop": 207.56029722157996,
"InitialHeight": 145.0,
"TextblockHeight": 43.0,
"Background": "#FFC1D676"
},
{
"Id": "9086d808c0d34636b1d3ab5c34141a8f",
"Title": "Curves from import",
"Nodes": [
"68df0d43dbd240288b1c35761d6335eb"
],
"Left": 1136.8060990977415,
"Top": -198.95479818976554,
"Width": 319.0,
"Height": 224.0,
"FontSize": 36.0,
"InitialTop": -145.95479818976554,
"InitialHeight": 145.0,
"TextblockHeight": 43.0,
"Background": "#FFC1D676"
}
],
"X": 234.00509410524,
"Y": 725.99188880224847,
"Zoom": 0.19214781367789741
}
}