Updated ImportObjBatch-DP

This commit is contained in:
2020-02-18 17:29:08 +01:00
parent 400cbe9552
commit 14b2c388bc
5 changed files with 176 additions and 304 deletions

View File

@@ -2,7 +2,7 @@
"Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209", "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
"IsCustomNode": false, "IsCustomNode": false,
"Description": "", "Description": "",
"Name": "ImportObjBatch_2.x", "Name": "ImportObjBatch-DP",
"ElementResolver": { "ElementResolver": {
"ResolutionMap": {} "ResolutionMap": {}
}, },
@@ -21,13 +21,6 @@
"Value": "false", "Value": "false",
"Description": "Selection between a true and false." "Description": "Selection between a true and false."
}, },
{
"Id": "fda71e3cc5bb44918e58702305b55354",
"Name": "File extension",
"Type": "string",
"Value": "OBJ",
"Description": "Creates a string."
},
{ {
"Id": "d1dda7b5c2a549fba1622824ff17314c", "Id": "d1dda7b5c2a549fba1622824ff17314c",
"Name": "Rotate", "Name": "Rotate",
@@ -50,15 +43,8 @@
"Id": "953d0c0a289847e782de8b039e664dc8", "Id": "953d0c0a289847e782de8b039e664dc8",
"Name": "File Path", "Name": "File Path",
"Type": "string", "Type": "string",
"Value": "E:\\Seafile\\Munka\\_EXOBIM\\SAV-003 - RDD\\03 - Work in Progress\\03 - Extra Works\\ventillator stp\\CMV560UNI_DA_LG90.obj", "Value": "..\\..\\..\\..\\Downloads\\model.dae",
"Description": "Allows you to select a file on the system to get its filename" "Description": "Allows you to select a file on the system to get its filename"
},
{
"Id": "1b5cd3d8885a4e63a9dc597dece04208",
"Name": "Autosave",
"Type": "boolean",
"Value": "false",
"Description": "Selection between a true and false."
} }
], ],
"Outputs": [], "Outputs": [],
@@ -897,7 +883,7 @@
"Inputs": [], "Inputs": [],
"Outputs": [ "Outputs": [
{ {
"Id": "2b3d88424d5448a18a9488b009a05193", "Id": "ea3a8bba11194911a534ae768ab4d345",
"Name": "", "Name": "",
"Description": "Value of expression at line 1", "Description": "Value of expression at line 1",
"UsingDefaultValue": false, "UsingDefaultValue": false,
@@ -911,8 +897,8 @@
}, },
{ {
"ConcreteType": "CoreNodeModels.Input.Filename, CoreNodeModels", "ConcreteType": "CoreNodeModels.Input.Filename, CoreNodeModels",
"HintPath": "E:\\Seafile\\Munka\\_EXOBIM\\SAV-003 - RDD\\03 - Work in Progress\\03 - Extra Works\\ventillator stp\\CMV560UNI_DA_LG90.obj", "HintPath": "C:\\Users\\gyetpet\\Downloads\\model.dae",
"InputValue": "E:\\Seafile\\Munka\\_EXOBIM\\SAV-003 - RDD\\03 - Work in Progress\\03 - Extra Works\\ventillator stp\\CMV560UNI_DA_LG90.obj", "InputValue": "..\\..\\..\\..\\Downloads\\model.dae",
"NodeType": "ExtensionNode", "NodeType": "ExtensionNode",
"Id": "953d0c0a289847e782de8b039e664dc8", "Id": "953d0c0a289847e782de8b039e664dc8",
"Inputs": [], "Inputs": [],
@@ -930,93 +916,6 @@
"Replication": "Disabled", "Replication": "Disabled",
"Description": "Allows you to select a file on the system to get its filename" "Description": "Allows you to select a file on the system to get its filename"
}, },
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "Autodesk.Dynamo.MeshToolkit.Mesh.ExportMeshes@string,var[]",
"Id": "0db307951c484062b746ba5326cece5b",
"Inputs": [
{
"Id": "3be3c9bde8d54cbf91d8353819b0b6a6",
"Name": "filename",
"Description": "string",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "c4af357079cc47008ef923b92d80cddb",
"Name": "meshes",
"Description": "var[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "ffaf8ccb3bc142408bf93d1b439b08d2",
"Name": "string",
"Description": "string",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Exports meshes to a format determined by file name: .mix -- Meshmixer .obj -- Wavefront .stl -- STL format .dae -- COLLADA .ply -- Polygon File Format This function returns the filename of the output file, which may need to be changed if it contains non-ascii characters\n\nMesh.ExportMeshes (filename: string, meshes: var[]): string"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "SketchUpForDynamo.SketchUp.WriteModel@string,Autodesk.DesignScript.Geometry.Surface[],Autodesk.DesignScript.Geometry.Curve[]",
"Id": "b6bf260994e544ad97e347f7a738dd5f",
"Inputs": [
{
"Id": "98032772a84e4b4d899e78bcec63a33d",
"Name": "path",
"Description": "string",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "c488dd47ba824cb793e458dce6e3ea79",
"Name": "surfaces",
"Description": "Surface[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "ee22f9287193408e8c816375a12731b6",
"Name": "curves",
"Description": "Curve[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "2eb75f93f8e240179b26e0974a9d329f",
"Name": "void",
"Description": "void",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "SketchUp.WriteModel (path: string, surfaces: Surface[], curves: Curve[]): void"
},
{ {
"ConcreteType": "CoreNodeModels.Input.BoolSelector, CoreNodeModels", "ConcreteType": "CoreNodeModels.Input.BoolSelector, CoreNodeModels",
"NodeType": "BooleanInputNode", "NodeType": "BooleanInputNode",
@@ -1249,7 +1148,7 @@
{ {
"Start": "f0e733eb45354cd8b0eab587a0716c3b", "Start": "f0e733eb45354cd8b0eab587a0716c3b",
"End": "ddf436e1d3184ad98239a0e9b6d48289", "End": "ddf436e1d3184ad98239a0e9b6d48289",
"Id": "dcac373065524b37a2638aaa8976560c" "Id": "cf15b4a0e4d448e5a85fbd683eeefe3f"
}, },
{ {
"Start": "68f35ff4bb1e4126880c608cd6c096ed", "Start": "68f35ff4bb1e4126880c608cd6c096ed",
@@ -1267,7 +1166,7 @@
"Id": "83237ab7663a4420a4abf890b841e5d3" "Id": "83237ab7663a4420a4abf890b841e5d3"
}, },
{ {
"Start": "2b3d88424d5448a18a9488b009a05193", "Start": "ea3a8bba11194911a534ae768ab4d345",
"End": "d295803d292e4998a845a07b5d005b7a", "End": "d295803d292e4998a845a07b5d005b7a",
"Id": "b760852a0cda4b02aa37f5c9482c002c" "Id": "b760852a0cda4b02aa37f5c9482c002c"
}, },
@@ -1297,20 +1196,13 @@
"19ce6b9f-f4cf-4a3f-9788-1482e94528d6", "19ce6b9f-f4cf-4a3f-9788-1482e94528d6",
"ecce77dc-1290-438e-a056-970b256fd553" "ecce77dc-1290-438e-a056-970b256fd553"
], ],
"Bindings": [ "Bindings": [],
{
"NodeId": "255971a5-8599-4308-b747-97e2eeac0aa9",
"Binding": {
"ByMesh_InClassDecl-1_InFunctionScope-1_Instance0_255971a5-8599-4308-b747-97e2eeac0aa9": "PFNPQVAtRU5WOkVudmVsb3BlIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOlNPQVAtRU5DPSJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy9zb2FwL2VuY29kaW5nLyIgeG1sbnM6U09BUC1FTlY9Imh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3NvYXAvZW52ZWxvcGUvIiB4bWxuczpjbHI9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc29hcC9lbmNvZGluZy9jbHIvMS4wIiBTT0FQLUVOVjplbmNvZGluZ1N0eWxlPSJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy9zb2FwL2VuY29kaW5nLyI+D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MUZUbFk2Ulc1MlpXeHZjR1UrRFFvPTwvQmFzZS0wLTBfRGF0YT4NCjxCYXNlLTAtMF9IYXNOZXN0ZWREYXRhPmZhbHNlPC9CYXNlLTAtMF9IYXNOZXN0ZWREYXRhPg0KPC9hMTpDYWxsU2l0ZV94MDAyQl9UcmFjZVNlcmlhbGlzZXJIZWxwZXI+DQo8L1NPQVAtRU5WOkJvZHk+DQo8L1NPQVAtRU5WOkVudmVsb3BlPg0K"
}
}
],
"View": { "View": {
"Dynamo": { "Dynamo": {
"ScaleFactor": 1.0, "ScaleFactor": 1.0,
"HasRunWithoutCrash": true, "HasRunWithoutCrash": true,
"IsVisibleInDynamoLibrary": true, "IsVisibleInDynamoLibrary": true,
"Version": "2.0.2.6826", "Version": "2.0.3.8810",
"RunType": "Manual", "RunType": "Manual",
"RunPeriod": "1000" "RunPeriod": "1000"
}, },
@@ -1328,324 +1220,304 @@
}, },
"NodeViews": [ "NodeViews": [
{ {
"ShowGeometry": false,
"Name": "Mesh.ImportFile",
"Id": "3f97021781a24848b525f84a69efe1ba", "Id": "3f97021781a24848b525f84a69efe1ba",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Mesh.ImportFile",
"ShowGeometry": false,
"Excluded": false, "Excluded": false,
"X": 88.2722972429077, "X": -130.26790812117758,
"Y": 252.289020697498 "Y": 54.908503660082232
}, },
{ {
"ShowGeometry": false,
"Name": "Mesh.Reduce",
"Id": "e78e3fff7b7a4a4da46c737b7bb5ad12", "Id": "e78e3fff7b7a4a4da46c737b7bb5ad12",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Mesh.Reduce",
"ShowGeometry": false,
"Excluded": false, "Excluded": false,
"X": 960.248235521884, "X": 911.30049716997519,
"Y": 121.389139613933 "Y": 200.82864543323637
}, },
{ {
"ShowGeometry": true,
"Name": "Mesh.TriangleCount",
"Id": "18cdf34eb5c44fb788a1fb8f9053be9b", "Id": "18cdf34eb5c44fb788a1fb8f9053be9b",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Mesh.TriangleCount",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 499.689019532487, "X": 450.7412811805782,
"Y": -70.3674014965351 "Y": 9.0721043227682685
}, },
{ {
"ShowGeometry": true,
"Name": "Springs.ToolkitMeshToMesh",
"Id": "225639b49bca46edac57025ec5e864cd", "Id": "225639b49bca46edac57025ec5e864cd",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Springs.ToolkitMeshToMesh",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 1762.40970040493, "X": 1533.558863646542,
"Y": 1371.73708697088 "Y": -517.39591591644921
}, },
{ {
"ShowGeometry": true,
"Name": "DirectShape.ByMesh",
"Id": "255971a585994308b74797e2eeac0aa9", "Id": "255971a585994308b74797e2eeac0aa9",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "DirectShape.ByMesh",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 2110.86003408971, "X": 1882.0091973313222,
"Y": 1489.97388896199 "Y": -399.15911392533917
}, },
{ {
"ShowGeometry": true,
"Name": "Material.ByName",
"Id": "d804a019f02b47129d659b5779aac356", "Id": "d804a019f02b47129d659b5779aac356",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Material.ByName",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 1743.80739384571, "X": 1514.9565570873222,
"Y": 1650.50738358709 "Y": -238.62561930023912
}, },
{ {
"ShowGeometry": true,
"Name": "Material name",
"Id": "d2a08fff77694ab2abd7031ea48eb52f", "Id": "d2a08fff77694ab2abd7031ea48eb52f",
"IsSetAsInput": true, "IsSetAsInput": true,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Material name",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": -1035.17174770993, "X": -1595.12238227181,
"Y": 710.121808446601 "Y": 489.90955957003007
}, },
{ {
"ShowGeometry": true,
"Name": "Categories",
"Id": "93148737800d4389b8cf3ee67c37bbb4", "Id": "93148737800d4389b8cf3ee67c37bbb4",
"IsSetAsInput": true, "IsSetAsInput": true,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Categories",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 1759.40709202738, "X": 1530.5562552689921,
"Y": 1507.00038709015 "Y": -382.13261579717914
}, },
{ {
"ShowGeometry": true,
"Name": "Mesh.Rotate",
"Id": "cc4cbe204bc6454280dfe0fb5752166a", "Id": "cc4cbe204bc6454280dfe0fb5752166a",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Mesh.Rotate",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 1076.56837047564, "X": 1429.6236291882353,
"Y": 1031.77522208212 "Y": 1067.0807479533798
}, },
{ {
"ShowGeometry": true,
"Name": "Reduce mesh",
"Id": "67926e188f6a428e9fa09655c5fa307d", "Id": "67926e188f6a428e9fa09655c5fa307d",
"IsSetAsInput": true, "IsSetAsInput": true,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Reduce mesh",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": -1033.17642404018, "X": -1595.12238227181,
"Y": 465.022063559771 "Y": 239.73883498834826
}, },
{ {
"ShowGeometry": true,
"Name": "If",
"Id": "5caaaa49fb35454cbe2d52db75079f4e", "Id": "5caaaa49fb35454cbe2d52db75079f4e",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "If",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 827.182208525908, "X": 1204.8999618760715,
"Y": 597.364163924714 "Y": 566.59871428190206
}, },
{ {
"ShowGeometry": true,
"Name": "Vector.XAxis",
"Id": "1c1719fd1d9846f88982d2c0598e7fd7", "Id": "1c1719fd1d9846f88982d2c0598e7fd7",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Vector.XAxis",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 885.568370475644, "X": 1238.6236291882392,
"Y": 1018.77522208212 "Y": 1054.0807479533796
}, },
{ {
"ShowGeometry": true,
"Name": "Code Block",
"Id": "a61b0c621f3b498f92a6338de7d8698e", "Id": "a61b0c621f3b498f92a6338de7d8698e",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Code Block",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 885.568370475644, "X": 1238.6236291882392,
"Y": 1126.98855541545 "Y": 1162.2940812867098
}, },
{ {
"ShowGeometry": true,
"Name": "Document.Current",
"Id": "fa6f1cc19c8d4d7887ebda96cfbff009", "Id": "fa6f1cc19c8d4d7887ebda96cfbff009",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Document.Current",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": -1658.2510484217387, "X": -1640.39221905186,
"Y": -924.06104174120992 "Y": -616.339674137172
}, },
{ {
"ShowGeometry": true,
"Name": "Document.FilePath",
"Id": "b9c3efa8838242f98b309f9249be0d88", "Id": "b9c3efa8838242f98b309f9249be0d88",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Document.FilePath",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": -1430.2510484217346, "X": -1412.39221905186,
"Y": -924.06104174120992 "Y": -616.339674137172
}, },
{ {
"Id": "fda71e3cc5bb44918e58702305b55354", "ShowGeometry": true,
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Name": "File extension", "Name": "File extension",
"ShowGeometry": true, "Id": "fda71e3cc5bb44918e58702305b55354",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false, "Excluded": false,
"X": -1033.17642404018, "X": -1595.12238227181,
"Y": 376.560842337692 "Y": 156.348593461121
}, },
{ {
"ShowGeometry": true,
"Name": "Rotate",
"Id": "d1dda7b5c2a549fba1622824ff17314c", "Id": "d1dda7b5c2a549fba1622824ff17314c",
"IsSetAsInput": true, "IsSetAsInput": true,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Rotate",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": -1031.78435182837, "X": -1595.12238227181,
"Y": 623.086895372417 "Y": 406.51931804280281
}, },
{ {
"ShowGeometry": true,
"Name": "If",
"Id": "e3b1627c4d3b44db983c2fbff7c987ef", "Id": "e3b1627c4d3b44db983c2fbff7c987ef",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "If",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 1350.40091312561, "X": 1703.4561718382054,
"Y": 870.38707318412 "Y": 905.69259905537979
}, },
{ {
"ShowGeometry": true,
"Name": "Percent of remaining tris",
"Id": "25b7684e51f542418c2a4881b4b982fd", "Id": "25b7684e51f542418c2a4881b4b982fd",
"IsSetAsInput": true, "IsSetAsInput": true,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Percent of remaining tris",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": -1033.17642404018, "X": -1595.12238227181,
"Y": 554.243956659812 "Y": 323.12907651557555
}, },
{ {
"ShowGeometry": true,
"Name": "Code Block",
"Id": "86ba9b6a86e54e9a8859331f8b0c9902", "Id": "86ba9b6a86e54e9a8859331f8b0c9902",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Code Block",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 769.853493014361, "X": 720.90575466245218,
"Y": 14.1946020861159 "Y": 93.634107905419256
}, },
{ {
"ShowGeometry": true,
"Name": "Document.SaveAs",
"Id": "59fd344917f44b0ea6ddbc168822b41c", "Id": "59fd344917f44b0ea6ddbc168822b41c",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Document.SaveAs",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 3047.27166368231, "X": 3047.27166368231,
"Y": -2356.18140359219 "Y": -2356.18140359219
}, },
{ {
"ShowGeometry": true,
"Name": "Passthrough",
"Id": "6f104a89e0ed4c9cbb2b38bcee1d6bc0", "Id": "6f104a89e0ed4c9cbb2b38bcee1d6bc0",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Passthrough",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 2670.27166368231, "X": 2670.27166368231,
"Y": -2356.18140359219 "Y": -2356.18140359219
}, },
{ {
"ShowGeometry": true,
"Name": "If",
"Id": "bdb9c577d0e943fc8a759e77b4bf1298", "Id": "bdb9c577d0e943fc8a759e77b4bf1298",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "If",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": -236.4281817281892, "X": -422.20118546677577,
"Y": -377.29935404116151 "Y": 57.703096148904649
}, },
{ {
"ShowGeometry": true,
"Name": "FileSystem.ChangePathExtension",
"Id": "294304a0f9204a148ea84b11b1de9f76", "Id": "294304a0f9204a148ea84b11b1de9f76",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "FileSystem.ChangePathExtension",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": -929.24826845699761, "X": -911.38943908712,
"Y": -854.37879478226694 "Y": -546.657427178229
}, },
{ {
"ShowGeometry": true,
"Name": "FileSystem.FileName",
"Id": "3de3276cbeea43e2b25b3f925500674d", "Id": "3de3276cbeea43e2b25b3f925500674d",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "FileSystem.FileName",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": -1021.2706964395516, "X": -1003.41186706967,
"Y": -1080.4810086890188 "Y": -772.759641084981
}, },
{ {
"ShowGeometry": true,
"Name": "Code Block",
"Id": "6c61f2187d4a4d7ca746e1e15fe36ea1", "Id": "6c61f2187d4a4d7ca746e1e15fe36ea1",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "Code Block",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": -1430.2510484217346, "X": -1412.39221905186,
"Y": -1032.9408913616189 "Y": -725.219523757581
}, },
{ {
"ShowGeometry": true,
"Name": "File Path",
"Id": "953d0c0a289847e782de8b039e664dc8", "Id": "953d0c0a289847e782de8b039e664dc8",
"IsSetAsInput": true, "IsSetAsInput": true,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "File Path",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": -1154.807190887223, "X": -1595.12238227181,
"Y": 34.523701312002572 "Y": -117.162572147005
}, },
{ {
"Id": "0db307951c484062b746ba5326cece5b",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Mesh.ExportMeshes",
"ShowGeometry": true, "ShowGeometry": true,
"Excluded": false,
"X": 1563.2867904229,
"Y": 387.93961733195
},
{
"Id": "b6bf260994e544ad97e347f7a738dd5f",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "SketchUp.WriteModel",
"ShowGeometry": true,
"Excluded": false,
"X": 1775.71826331957,
"Y": 618.358189834784
},
{
"Id": "1b5cd3d8885a4e63a9dc597dece04208",
"IsSetAsInput": true,
"IsSetAsOutput": false,
"Name": "Autosave", "Name": "Autosave",
"ShowGeometry": true, "Id": "1b5cd3d8885a4e63a9dc597dece04208",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false, "Excluded": false,
"X": -1027.5875571114912, "X": -1595.12238227181,
"Y": 150.41536696611047 "Y": -1.27090649289744
}, },
{ {
"ShowGeometry": true,
"Name": "If",
"Id": "5f49a98762ed457faf9935ae642de91f", "Id": "5f49a98762ed457faf9935ae642de91f",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "If",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": 2384.1859836382496, "X": 2384.1859836382496,
"Y": -2370.0027791158568 "Y": -2370.0027791158568
}, },
{ {
"ShowGeometry": true,
"Name": "FileSystem.FileExists",
"Id": "3d87d1af2ffa47ee94b5b9516c3a2373", "Id": "3d87d1af2ffa47ee94b5b9516c3a2373",
"IsSetAsInput": false, "IsSetAsInput": false,
"IsSetAsOutput": false, "IsSetAsOutput": false,
"Name": "FileSystem.FileExists",
"ShowGeometry": true,
"Excluded": false, "Excluded": false,
"X": -510.4281817281892, "X": -773.13152736778534,
"Y": -377.29935404116151 "Y": 71.440657202656382
} }
], ],
"Annotations": [ "Annotations": [
@@ -1659,12 +1531,12 @@
"d1dda7b5c2a549fba1622824ff17314c", "d1dda7b5c2a549fba1622824ff17314c",
"25b7684e51f542418c2a4881b4b982fd" "25b7684e51f542418c2a4881b4b982fd"
], ],
"Left": -1045.17174770993, "Left": -1605.12238227181,
"Top": 330.560842337692, "Top": 110.348593461121,
"Width": 320.99532366974995, "Width": 319.0,
"Height": 447.560966108909, "Height": 447.56096610890904,
"FontSize": 30.0, "FontSize": 30.0,
"InitialTop": 376.560842337692, "InitialTop": 156.348593461121,
"InitialHeight": 478.560966108909, "InitialHeight": 478.560966108909,
"TextblockHeight": 36.0, "TextblockHeight": 36.0,
"Background": "#FFD4B6DB" "Background": "#FFD4B6DB"
@@ -1677,12 +1549,12 @@
"18cdf34eb5c44fb788a1fb8f9053be9b", "18cdf34eb5c44fb788a1fb8f9053be9b",
"86ba9b6a86e54e9a8859331f8b0c9902" "86ba9b6a86e54e9a8859331f8b0c9902"
], ],
"Left": 489.689019532487, "Left": 440.7412811805782,
"Top": -116.36740149653509, "Top": -36.927895677231731,
"Width": 716.559215989397, "Width": 716.559215989397,
"Height": 356.75654111046811, "Height": 356.75654111046811,
"FontSize": 30.0, "FontSize": 30.0,
"InitialTop": -70.3674014965351, "InitialTop": 9.0721043227682685,
"InitialHeight": 336.75654111046811, "InitialHeight": 336.75654111046811,
"TextblockHeight": 36.0, "TextblockHeight": 36.0,
"Background": "#FFC1D676" "Background": "#FFC1D676"
@@ -1696,12 +1568,12 @@
"d804a019f02b47129d659b5779aac356", "d804a019f02b47129d659b5779aac356",
"93148737800d4389b8cf3ee67c37bbb4" "93148737800d4389b8cf3ee67c37bbb4"
], ],
"Left": 1733.80739384571, "Left": 1504.9565570873222,
"Top": 1325.73708697088, "Top": -563.39591591644921,
"Width": 632.052640244, "Width": 632.052640244,
"Height": 417.77029661621009, "Height": 417.77029661621009,
"FontSize": 30.0, "FontSize": 30.0,
"InitialTop": 1371.73708697088, "InitialTop": -517.39591591644921,
"InitialHeight": 423.77029661621009, "InitialHeight": 423.77029661621009,
"TextblockHeight": 36.0, "TextblockHeight": 36.0,
"Background": "#FFC1D676" "Background": "#FFC1D676"
@@ -1715,12 +1587,12 @@
"a61b0c621f3b498f92a6338de7d8698e", "a61b0c621f3b498f92a6338de7d8698e",
"e3b1627c4d3b44db983c2fbff7c987ef" "e3b1627c4d3b44db983c2fbff7c987ef"
], ],
"Left": 875.568370475644, "Left": 1228.6236291882392,
"Top": 824.38707318412, "Top": 859.69259905537979,
"Width": 611.83254264996606, "Width": 611.83254264996617,
"Height": 395.60148223133, "Height": 395.60148223133,
"FontSize": 30.0, "FontSize": 30.0,
"InitialTop": 870.38707318412, "InitialTop": 905.69259905537979,
"InitialHeight": 401.60148223133, "InitialHeight": 401.60148223133,
"TextblockHeight": 36.0, "TextblockHeight": 36.0,
"Background": "#FFC1D676" "Background": "#FFC1D676"
@@ -1731,12 +1603,12 @@
"Nodes": [ "Nodes": [
"5caaaa49fb35454cbe2d52db75079f4e" "5caaaa49fb35454cbe2d52db75079f4e"
], ],
"Left": 817.182208525908, "Left": 1194.8999618760715,
"Top": 551.364163924714, "Top": 520.59871428190206,
"Width": 147.0, "Width": 147.0,
"Height": 191.0, "Height": 191.0,
"FontSize": 30.0, "FontSize": 30.0,
"InitialTop": 597.364163924714, "InitialTop": 566.59871428190206,
"InitialHeight": 145.0, "InitialHeight": 145.0,
"TextblockHeight": 36.0, "TextblockHeight": 36.0,
"Background": "#FFC1D676" "Background": "#FFC1D676"
@@ -1751,12 +1623,12 @@
"294304a0f9204a148ea84b11b1de9f76", "294304a0f9204a148ea84b11b1de9f76",
"3de3276cbeea43e2b25b3f925500674d" "3de3276cbeea43e2b25b3f925500674d"
], ],
"Left": -1668.2510484217387, "Left": -1650.39221905186,
"Top": -1126.4810086890188, "Top": -818.759641084981,
"Width": 987.00277996474108, "Width": 987.00277996474,
"Height": 391.1022139067519, "Height": 391.102213906752,
"FontSize": 30.0, "FontSize": 30.0,
"InitialTop": -1080.4810086890188, "InitialTop": -772.759641084981,
"InitialHeight": 371.1022139067519, "InitialHeight": 371.1022139067519,
"TextblockHeight": 36.0, "TextblockHeight": 36.0,
"Background": "#FFC1D676" "Background": "#FFC1D676"
@@ -1784,12 +1656,12 @@
"Nodes": [ "Nodes": [
"3f97021781a24848b525f84a69efe1ba" "3f97021781a24848b525f84a69efe1ba"
], ],
"Left": 78.2722972429077, "Left": -140.26790812117758,
"Top": 206.289020697498, "Top": 8.908503660082232,
"Width": 222.0, "Width": 222.0,
"Height": 139.0, "Height": 139.0,
"FontSize": 30.0, "FontSize": 30.0,
"InitialTop": 252.289020697498, "InitialTop": 54.908503660082232,
"InitialHeight": 145.0, "InitialHeight": 145.0,
"TextblockHeight": 36.0, "TextblockHeight": 36.0,
"Background": "#FFC1D676" "Background": "#FFC1D676"
@@ -1801,13 +1673,13 @@
"bdb9c577d0e943fc8a759e77b4bf1298", "bdb9c577d0e943fc8a759e77b4bf1298",
"3d87d1af2ffa47ee94b5b9516c3a2373" "3d87d1af2ffa47ee94b5b9516c3a2373"
], ],
"Left": -520.4281817281892, "Left": -783.13152736778534,
"Top": -423.29935404116151, "Top": 11.703096148904649,
"Width": 421.0, "Width": 497.93034190100957,
"Height": 191.0, "Height": 191.0,
"FontSize": 30.0, "FontSize": 30.0,
"InitialTop": -377.29935404116151, "InitialTop": 57.703096148904649,
"InitialHeight": 282.095418061624, "InitialHeight": 145.0,
"TextblockHeight": 36.0, "TextblockHeight": 36.0,
"Background": "#FFC1D676" "Background": "#FFC1D676"
}, },
@@ -1818,22 +1690,22 @@
"953d0c0a289847e782de8b039e664dc8", "953d0c0a289847e782de8b039e664dc8",
"1b5cd3d8885a4e63a9dc597dece04208" "1b5cd3d8885a4e63a9dc597dece04208"
], ],
"Left": -1164.807190887223, "Left": -1605.12238227181,
"Top": -11.476298687997428, "Top": -199.162572147005,
"Width": 392.0, "Width": 189.0,
"Height": 229.8916656541079, "Height": 265.89166565410756,
"FontSize": 30.0, "FontSize": 30.0,
"InitialTop": 34.523701312002572, "InitialTop": -117.162572147005,
"InitialHeight": 288.09352130733748, "InitialHeight": 260.8916656541079,
"TextblockHeight": 36.0, "TextblockHeight": 72.0,
"Background": "#FFD4B6DB" "Background": "#FFD4B6DB"
}, },
{ {
"Id": "1d85dc6597904d95a28f3fe450ea10cf", "Id": "3d6f482359694df0b71300cd9774da3b",
"Title": "Required:\r\nMeshtoolkit\r\nSprings\r\nClockwork", "Title": "Script Name: ImportObjBatch-DP.dyn\n\nPackages used in this script: \nMeshToolkit version: 2.0.1\n\nTimeStamp : 2020/2/18 16:9",
"Nodes": [], "Nodes": [],
"Left": -927.519380865383, "Left": -1636.458540890397,
"Top": 288.151234164281, "Top": -973.35781359079147,
"Width": 0.0, "Width": 0.0,
"Height": 0.0, "Height": 0.0,
"FontSize": 36.0, "FontSize": 36.0,
@@ -1843,8 +1715,8 @@
"Background": "#FFC1D676" "Background": "#FFC1D676"
} }
], ],
"X": 471.247049162426, "X": 1150.44759147803,
"Y": 623.46560327965858, "Y": 641.31066469422228,
"Zoom": 0.32310956205448971 "Zoom": 0.5710891475008526
} }
} }

View File

@@ -166,18 +166,18 @@ Places all floor types in the project
State: same as importobj, just with dwg State: same as importobj, just with dwg
### ImportObjBatch ✅ 🚧 ### ImportObjBatch-DP
Imports all objs from a folder to separate rfa files. Designed to be used with Revit Batch Processor Imports all objs from a folder to separate rfa files. Designed to be used with Revit Batch Processor. Also works with DinamoPlayer
<details> <details>
<summary>More info</summary> <summary>More info</summary>
Script for batch importing obj files to separate revit families #### Required Packages
Written for Revit 2016 - MeshToolkit
#### Usage #### Batch usage
1. Copy the .bat and the .rfa to the same folder as the objs 1. Copy the .bat and the .rfa to the same folder as the objs
2. Run obj-copy.bat 2. Run obj-copy.bat