From c3bc4219ae63147d3a55e966f5815244209d6545 Mon Sep 17 00:00:00 2001 From: Andreas Dieckmann Date: Sat, 9 Nov 2024 07:44:03 +0100 Subject: [PATCH] #416 --- ...ConvertTemporaryHideIsolateToPermanent.dyf | 35 +++--- .../3.x/View.DisableTemporaryHideIsolate.dyf | 53 +++++---- .../3.x/View.OverrideElementTransparency.dyf | 109 ++++++++--------- nodes/3.x/View.ResetElementOverrides.dyf | 91 +++++++------- nodes/3.x/View.ResizeCropBox.dyf | 109 ++++++++--------- .../View.SetSolarStudyActiveFrameNumber.dyf | 49 ++++---- .../3.x/dynamo/Revit.Views.View.Actions.dyn | 112 +++++++++--------- 7 files changed, 288 insertions(+), 270 deletions(-) diff --git a/nodes/3.x/View.ConvertTemporaryHideIsolateToPermanent.dyf b/nodes/3.x/View.ConvertTemporaryHideIsolateToPermanent.dyf index 35975c6e..5a70aca2 100644 --- a/nodes/3.x/View.ConvertTemporaryHideIsolateToPermanent.dyf +++ b/nodes/3.x/View.ConvertTemporaryHideIsolateToPermanent.dyf @@ -39,7 +39,7 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -60,7 +60,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -81,12 +81,13 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels", "NodeType": "PythonScriptNode", "Code": "import clr\r\nclr.AddReference('RevitAPI')\r\nfrom Autodesk.Revit.DB import *\r\n\r\nclr.AddReference(\"RevitServices\")\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\nfrom RevitServices.Transactions import TransactionManager\r\n\r\ndef TempHideIsolateToPerm(view):\r\n\ttry:\r\n\t\tview.ConvertTemporaryHideIsolateToPermanent()\r\n\t\treturn True\r\n\texcept: return False\r\n\r\ndoc = DocumentManager.Instance.CurrentDBDocument\r\nviews = UnwrapElement(IN[0])\r\n\r\nTransactionManager.Instance.EnsureInTransaction(doc)\r\nif isinstance(IN[0], list): OUT = [TempHideIsolateToPerm(x) for x in views]\r\nelse: OUT = TempHideIsolateToPerm(views)\r\nTransactionManager.Instance.TransactionTaskDone()", + "Engine": "CPython3", "VariableInputPorts": true, "Id": "c70fe12573c54797a3ff23934222aba7", "Inputs": [ @@ -112,7 +113,7 @@ } ], "Replication": "Disabled", - "Description": "Runs an embedded IronPython script." + "Description": "Führt ein eingebettetes Python-Skript aus." } ], "Connectors": [ @@ -133,18 +134,20 @@ } ], "Dependencies": [], + "NodeLibraryDependencies": [], + "Author": "None provided", "Bindings": [], "View": { "Dynamo": { "ScaleFactor": 1.0, "HasRunWithoutCrash": false, "IsVisibleInDynamoLibrary": true, - "Version": "2.0.1.5055", + "Version": "2.12.1.8246", "RunType": "Manual", "RunPeriod": "1000" }, "Camera": { - "Name": "Background Preview", + "Name": "Hintergrundvorschau", "EyeX": -17.0, "EyeY": 24.0, "EyeZ": 50.0, @@ -157,49 +160,49 @@ }, "NodeViews": [ { + "ShowGeometry": true, + "Name": "Input", "Id": "de36aed23fbe431b992d3347f37d5570", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, "X": 72.5, "Y": 65.7891674238156 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "3c4a3b2f907e4868a06d72623db07c60", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 459.5, "Y": 23.7891674238156 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "eaf78ea2fbd344b59b14bcaf5f5aed0a", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 459.5, "Y": 107.789167423816 }, { + "ShowGeometry": true, + "Name": "Python Script", "Id": "c70fe12573c54797a3ff23934222aba7", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Python Script", - "ShowGeometry": true, "Excluded": false, "X": 235.5, "Y": 107.789167423816 } ], "Annotations": [], - "X": 515.358954652376, - "Y": 402.331394628425, + "X": -39.041045347623935, + "Y": 228.731394628425, "Zoom": 1.53934758073422 } } \ No newline at end of file diff --git a/nodes/3.x/View.DisableTemporaryHideIsolate.dyf b/nodes/3.x/View.DisableTemporaryHideIsolate.dyf index c4730e34..4ec99348 100644 --- a/nodes/3.x/View.DisableTemporaryHideIsolate.dyf +++ b/nodes/3.x/View.DisableTemporaryHideIsolate.dyf @@ -19,6 +19,7 @@ "ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels", "NodeType": "PythonScriptNode", "Code": "import clr\r\nclr.AddReference('RevitAPI')\r\nfrom Autodesk.Revit.DB import *\r\n\r\nclr.AddReference(\"RevitServices\")\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\nfrom RevitServices.Transactions import TransactionManager\r\n\r\ndoc = DocumentManager.Instance.CurrentDBDocument\r\nview = UnwrapElement(IN[0])\r\nTransactionManager.Instance.EnsureInTransaction(doc)\r\ntry:\r\n\tif view.IsTemporaryHideIsolateActive() == True:\r\n\t\tview.DisableTemporaryViewMode(TemporaryViewMode.TemporaryHideIsolate)\r\n\t\tOUT = (view,True)\r\n\telse: OUT = (view, False)\r\nexcept: OUT = (view, False)\r\nTransactionManager.Instance.TransactionTaskDone()", + "Engine": "CPython3", "VariableInputPorts": true, "Id": "36d4220c566a42438ddec1fbb15b490d", "Inputs": [ @@ -44,7 +45,7 @@ } ], "Replication": "Disabled", - "Description": "Runs an embedded IronPython script." + "Description": "Führt ein eingebettetes Python-Skript aus." }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", @@ -70,7 +71,7 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -91,7 +92,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", @@ -102,7 +103,7 @@ { "Id": "4602a1080c8741258856e9ca7416ee4f", "Name": "list", - "Description": "List to get the first item from.\n\nvar[]..[]", + "Description": "Liste, deren erstes Element abgerufen werden soll\n\nvar[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -113,7 +114,7 @@ { "Id": "ae265406ac6045aaa40b1c469a9bfcb7", "Name": "item", - "Description": "First item in the list.", + "Description": "Das erste Element in der Liste", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -121,7 +122,7 @@ } ], "Replication": "Auto", - "Description": "Returns the first item in a list.\n\nList.FirstItem (list: var[]..[]): var[]..[]" + "Description": "Gibt das erste Element in einer Liste zurück.\n\nList.FirstItem (list: var[]..[]): var[]..[]" }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", @@ -132,7 +133,7 @@ { "Id": "a5a9a15f827d4ceb950fbe7b493baac0", "Name": "list", - "Description": "List to get the last item of.\n\nvar[]..[]", + "Description": "Liste, deren letztes Element abgerufen werden soll\n\nvar[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -142,8 +143,8 @@ "Outputs": [ { "Id": "34d2bb6d912e419b9ce36936babca7eb", - "Name": "last", - "Description": "Last item in the list.", + "Name": "item", + "Description": "Das letzte Element in der Liste", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -151,7 +152,7 @@ } ], "Replication": "Auto", - "Description": "Retrieves the last item in a list.\n\nList.LastItem (list: var[]..[]): var[]..[]" + "Description": "Ruft das letzte Element in einer Liste ab.\n\nList.LastItem (list: var[]..[]): var[]..[]" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -172,7 +173,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" } ], "Connectors": [ @@ -203,18 +204,20 @@ } ], "Dependencies": [], + "NodeLibraryDependencies": [], + "Author": "None provided", "Bindings": [], "View": { "Dynamo": { "ScaleFactor": 1.0, "HasRunWithoutCrash": false, "IsVisibleInDynamoLibrary": true, - "Version": "2.0.1.5055", + "Version": "2.12.1.8246", "RunType": "Manual", "RunPeriod": "1000" }, "Camera": { - "Name": "Background Preview", + "Name": "Hintergrundvorschau", "EyeX": -17.0, "EyeY": 24.0, "EyeZ": 50.0, @@ -227,61 +230,61 @@ }, "NodeViews": [ { + "ShowGeometry": true, + "Name": "Python Script", "Id": "36d4220c566a42438ddec1fbb15b490d", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Python Script", - "ShowGeometry": true, "Excluded": false, "X": 104.0, "Y": 135.878122535377 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "3db5f638e94142e68df91e5e083e94b2", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, "X": -59.0, "Y": 135.878122535377 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "bc7a880a0d9c48a1b73514eecb125d64", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 591.0, "Y": 93.8781225353771 }, { + "ShowGeometry": true, + "Name": "List.FirstItem", "Id": "51657a00ce1a41bba05941fa690c467c", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "List.FirstItem", - "ShowGeometry": true, "Excluded": false, "X": 328.0, "Y": 81.8781225353771 }, { + "ShowGeometry": true, + "Name": "List.LastItem", "Id": "15ed4d9b6dd54ecb88b8d358452a9848", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "List.LastItem", - "ShowGeometry": true, "Excluded": false, "X": 328.0, "Y": 189.878122535377 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "ab016141d8474a418f3604b788dbd62d", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 591.0, "Y": 177.878122535377 diff --git a/nodes/3.x/View.OverrideElementTransparency.dyf b/nodes/3.x/View.OverrideElementTransparency.dyf index 94870dc7..b6929b8c 100644 --- a/nodes/3.x/View.OverrideElementTransparency.dyf +++ b/nodes/3.x/View.OverrideElementTransparency.dyf @@ -19,6 +19,7 @@ "ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels", "NodeType": "PythonScriptNode", "Code": "import clr\r\nclr.AddReference('RevitAPI')\r\nfrom Autodesk.Revit.DB import *\r\n\r\nclr.AddReference(\"RevitNodes\")\r\nimport Revit\r\nclr.ImportExtensions(Revit.Elements)\r\n\r\nclr.AddReference(\"RevitServices\")\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\nfrom RevitServices.Transactions import TransactionManager\r\n\r\ndoc = DocumentManager.Instance.CurrentDBDocument\r\nitems = UnwrapElement(IN[0])\r\nview = UnwrapElement(IN[1])\r\ntrans = IN[2]\r\nbooleans = []\r\n\r\noverride = OverrideGraphicSettings()\r\noverride.SetSurfaceTransparency(trans)\r\n\r\nTransactionManager.Instance.EnsureInTransaction(doc)\r\nfor item in items:\r\n\ttry:\r\n\t\tview.SetElementOverrides(item.Id, override)\r\n\t\tbooleans.append(True)\r\n\texcept: booleans.append(False)\r\nTransactionManager.Instance.TransactionTaskDone()\r\nOUT = (items,view,booleans)", + "Engine": "CPython3", "VariableInputPorts": true, "Id": "33608f63df914c61a7bcc03e546e9c02", "Inputs": [ @@ -62,7 +63,7 @@ } ], "Replication": "Disabled", - "Description": "Runs an embedded IronPython script." + "Description": "Führt ein eingebettetes Python-Skript aus." }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", @@ -74,7 +75,7 @@ { "Id": "d710992393af45ffa369807f9d9e80bf", "Name": "unknownItem", - "Description": "Input #1", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -83,7 +84,7 @@ { "Id": "db446b8acac84686baa3cc250a5a14cd", "Name": "seq", - "Description": "Input #2", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -94,7 +95,7 @@ { "Id": "027f679ce6334eb3b98e2b45025dd89b", "Name": "", - "Description": "Output #1", + "Description": "Rückgabewert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -102,7 +103,7 @@ } ], "Replication": "Auto", - "Description": "If the item in input #1 is not a list, only the first item of the list in input #2 will be returned." + "Description": "If the unknown item is not a list but rather a single item, only the first item of the list (input \"seq\") will be returned." }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", @@ -125,7 +126,7 @@ { "Id": "ecc69c7652504f6ca80a2f9ca43bfd3f", "Name": "seq", - "Description": "return value", + "Description": "Rückgabewert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -159,7 +160,7 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -180,7 +181,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", @@ -206,7 +207,7 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", @@ -232,7 +233,7 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -253,7 +254,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", @@ -275,7 +276,7 @@ { "Id": "20637d0d50584ee1a64e99102657e1be", "Name": "", - "Description": "Value of expression at line 1", + "Description": "Wert des Ausdrucks in Zeile 1", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -284,7 +285,7 @@ { "Id": "b0186e9e7263433faad79f94d73ed535", "Name": "", - "Description": "Value of expression at line 2", + "Description": "Wert des Ausdrucks in Zeile 2", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -293,7 +294,7 @@ { "Id": "9bdcde25f5bf498ab3488e9ed694b723", "Name": "", - "Description": "Value of expression at line 3", + "Description": "Wert des Ausdrucks in Zeile 3", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -301,7 +302,7 @@ } ], "Replication": "Disabled", - "Description": "Allows for DesignScript code to be authored directly" + "Description": "Ermöglicht die direkte Erstellung von DesignScript-Code." }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -322,7 +323,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", @@ -334,7 +335,7 @@ { "Id": "70871c3ee67f46acaddadabdb81660f0", "Name": "unknownItem", - "Description": "Input #1", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -343,7 +344,7 @@ { "Id": "f55d5063fb6149aba918116bb270172e", "Name": "seq", - "Description": "Input #2", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -354,7 +355,7 @@ { "Id": "a8e4f68270ab42f4933c4790b42845c0", "Name": "", - "Description": "Output #1", + "Description": "Rückgabewert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -362,7 +363,7 @@ } ], "Replication": "Auto", - "Description": "If the item in input #1 is not a list, only the first item of the list in input #2 will be returned." + "Description": "If the unknown item is not a list but rather a single item, only the first item of the list (input \"seq\") will be returned." } ], "Connectors": [ @@ -431,18 +432,20 @@ "44ac4888-4aa4-49a9-9344-23b729c11df9", "cd09ad33-8c34-4850-ac26-24448d92c38f" ], + "NodeLibraryDependencies": [], + "Author": "None provided", "Bindings": [], "View": { "Dynamo": { "ScaleFactor": 1.0, "HasRunWithoutCrash": false, "IsVisibleInDynamoLibrary": true, - "Version": "2.0.1.5055", + "Version": "2.12.1.8246", "RunType": "Manual", "RunPeriod": "1000" }, "Camera": { - "Name": "Background Preview", + "Name": "Hintergrundvorschau", "EyeX": -17.0, "EyeY": 24.0, "EyeZ": 50.0, @@ -455,119 +458,119 @@ }, "NodeViews": [ { + "ShowGeometry": true, + "Name": "Python Script", "Id": "33608f63df914c61a7bcc03e546e9c02", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Python Script", - "ShowGeometry": true, "Excluded": false, "X": 572.78329488088, "Y": 337.468799453677 }, { + "ShowGeometry": true, + "Name": "ReturnListOrSingleValue", "Id": "f8a44af630514a519cc513a0598dd54c", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "ReturnListOrSingleValue", - "ShowGeometry": true, "Excluded": false, "X": 1017.78329488088, "Y": 220.042132787011 }, { + "ShowGeometry": true, + "Name": "TurnIntoList", "Id": "3e27ded4d3d04b88be04dc132ccf782e", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "TurnIntoList", - "ShowGeometry": true, "Excluded": false, - "X": 261.78329488088, - "Y": 280.468799453677 + "X": 312.92686035513907, + "Y": 255.34564448386544 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "b0f9c934e1e44ee1974e4df344c09da5", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, "X": 73.7832948808799, "Y": 304.755466120344 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "43691e64ec9e43a6a7ade7d88b5f9803", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 1280.78329488088, "Y": 246.042132787011 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "085902b2c3d4446f8ee9830e3aaed37e", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, - "X": 261.78329488088, - "Y": 363.468799453677 + "X": 147.83184198209216, + "Y": 390.38646549276064 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "0e475176f17b49caa189b304713dc3dd", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, - "X": 261.78329488088, - "Y": 446.468799453677 + "X": 147.83184198209216, + "Y": 473.38646549276064 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "2ee282a02ad345789df0aee919ff74d4", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 1280.78329488088, "Y": 329.042132787011 }, { + "ShowGeometry": true, + "Name": "Code Block", "Id": "1fb359f0967a4746ba38f614d902cdfd", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Code Block", - "ShowGeometry": true, "Excluded": false, "X": 796.78329488088, "Y": 341.682132787011 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "c34619f974414c939505a3a5791fc5b7", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 1280.78329488088, "Y": 412.042132787011 }, { + "ShowGeometry": true, + "Name": "ReturnListOrSingleValue", "Id": "43405ae592c54f339ae558d1c1e5b147", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "ReturnListOrSingleValue", - "ShowGeometry": true, "Excluded": false, "X": 1017.78329488088, "Y": 438.042132787011 } ], "Annotations": [], - "X": -164.885762779015, - "Y": 90.8018681776267, - "Zoom": 0.845182145611066 + "X": -101.0089770482644, + "Y": 34.722823468972422, + "Zoom": 0.89160776291498034 } } \ No newline at end of file diff --git a/nodes/3.x/View.ResetElementOverrides.dyf b/nodes/3.x/View.ResetElementOverrides.dyf index 983e62a8..4ab7f7a8 100644 --- a/nodes/3.x/View.ResetElementOverrides.dyf +++ b/nodes/3.x/View.ResetElementOverrides.dyf @@ -19,6 +19,7 @@ "ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels", "NodeType": "PythonScriptNode", "Code": "import clr\r\nclr.AddReference('RevitAPI')\r\nfrom Autodesk.Revit.DB import *\r\n\r\nclr.AddReference(\"RevitNodes\")\r\nimport Revit\r\nclr.ImportExtensions(Revit.Elements)\r\n\r\nclr.AddReference(\"RevitServices\")\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\nfrom RevitServices.Transactions import TransactionManager\r\n\r\ndoc = DocumentManager.Instance.CurrentDBDocument\r\nitems = UnwrapElement(IN[0])\r\nview = UnwrapElement(IN[1])\r\nbooleans = []\r\n\r\noverride = OverrideGraphicSettings()\r\n\r\nTransactionManager.Instance.EnsureInTransaction(doc)\r\nfor item in items:\r\n\ttry:\r\n\t\tview.SetElementOverrides(item.Id, override)\r\n\t\tbooleans.append(True)\r\n\texcept: booleans.append(False)\r\nTransactionManager.Instance.TransactionTaskDone()\r\nOUT = (items,view,booleans)", + "Engine": "CPython3", "VariableInputPorts": true, "Id": "33608f63df914c61a7bcc03e546e9c02", "Inputs": [ @@ -53,7 +54,7 @@ } ], "Replication": "Disabled", - "Description": "Runs an embedded IronPython script." + "Description": "Führt ein eingebettetes Python-Skript aus." }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", @@ -65,7 +66,7 @@ { "Id": "0bc645d7aeff4cc39205337fe332a6ec", "Name": "unknownItem", - "Description": "Input #1", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -74,7 +75,7 @@ { "Id": "e3ac334e3e564ae284d0863060423ddc", "Name": "seq", - "Description": "Input #2", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -85,7 +86,7 @@ { "Id": "087657bfd42c4d989bafe9ae130e1ccf", "Name": "", - "Description": "Output #1", + "Description": "Rückgabewert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -93,7 +94,7 @@ } ], "Replication": "Auto", - "Description": "If the item in input #1 is not a list, only the first item of the list in input #2 will be returned." + "Description": "If the unknown item is not a list but rather a single item, only the first item of the list (input \"seq\") will be returned." }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", @@ -116,7 +117,7 @@ { "Id": "332f0c72807740f4b9d50c6abc4451cc", "Name": "seq", - "Description": "return value", + "Description": "Rückgabewert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -150,7 +151,7 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -171,7 +172,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", @@ -197,7 +198,7 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -218,7 +219,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore", @@ -240,7 +241,7 @@ { "Id": "30845d6cf28043b99d3a811103f79236", "Name": "", - "Description": "Value of expression at line 1", + "Description": "Wert des Ausdrucks in Zeile 1", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -249,7 +250,7 @@ { "Id": "e2f3706047f24ea8a6860f4ba8206722", "Name": "", - "Description": "Value of expression at line 2", + "Description": "Wert des Ausdrucks in Zeile 2", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -258,7 +259,7 @@ { "Id": "b3c6867df36d4a7881cdefc68e68047f", "Name": "", - "Description": "Value of expression at line 3", + "Description": "Wert des Ausdrucks in Zeile 3", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -266,7 +267,7 @@ } ], "Replication": "Disabled", - "Description": "Allows for DesignScript code to be authored directly" + "Description": "Ermöglicht die direkte Erstellung von DesignScript-Code." }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", @@ -278,7 +279,7 @@ { "Id": "52bffffb03354efc9baedd5fb5140b66", "Name": "unknownItem", - "Description": "Input #1", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -287,7 +288,7 @@ { "Id": "c61c2e291b044c2d8c9d741209348797", "Name": "seq", - "Description": "Input #2", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -298,7 +299,7 @@ { "Id": "5067724de4af403c85e1b475aae05add", "Name": "", - "Description": "Output #1", + "Description": "Rückgabewert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -306,7 +307,7 @@ } ], "Replication": "Auto", - "Description": "If the item in input #1 is not a list, only the first item of the list in input #2 will be returned." + "Description": "If the unknown item is not a list but rather a single item, only the first item of the list (input \"seq\") will be returned." }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -327,7 +328,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" } ], "Connectors": [ @@ -391,18 +392,20 @@ "44ac4888-4aa4-49a9-9344-23b729c11df9", "cd09ad33-8c34-4850-ac26-24448d92c38f" ], + "NodeLibraryDependencies": [], + "Author": "None provided", "Bindings": [], "View": { "Dynamo": { "ScaleFactor": 1.0, "HasRunWithoutCrash": false, "IsVisibleInDynamoLibrary": true, - "Version": "2.0.1.5055", + "Version": "2.12.1.8246", "RunType": "Manual", "RunPeriod": "1000" }, "Camera": { - "Name": "Background Preview", + "Name": "Hintergrundvorschau", "EyeX": -17.0, "EyeY": 24.0, "EyeZ": 50.0, @@ -415,109 +418,109 @@ }, "NodeViews": [ { + "ShowGeometry": true, + "Name": "Python Script", "Id": "33608f63df914c61a7bcc03e546e9c02", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Python Script", - "ShowGeometry": true, "Excluded": false, "X": 396.621611179692, "Y": 263.632601562522 }, { + "ShowGeometry": true, + "Name": "ReturnListOrSingleValue", "Id": "f8a44af630514a519cc513a0598dd54c", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "ReturnListOrSingleValue", - "ShowGeometry": true, "Excluded": false, "X": 883.621611179692, "Y": 182.632601562522 }, { + "ShowGeometry": true, + "Name": "TurnIntoList", "Id": "3e27ded4d3d04b88be04dc132ccf782e", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "TurnIntoList", - "ShowGeometry": true, "Excluded": false, "X": 127.621611179692, "Y": 234.632601562522 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "b0f9c934e1e44ee1974e4df344c09da5", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, "X": -60.3783888203081, "Y": 234.632601562522 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "43691e64ec9e43a6a7ade7d88b5f9803", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 1146.62161117969, "Y": 195.632601562522 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "085902b2c3d4446f8ee9830e3aaed37e", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, "X": 127.621611179692, "Y": 318.632601562522 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "9da92769471642aa86b852bf2ab078d5", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 1146.62161117969, "Y": 279.632601562522 }, { + "ShowGeometry": true, + "Name": "Code Block", "Id": "fbd6a7309d964d199916e3f18bfa925b", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Code Block", - "ShowGeometry": true, "Excluded": false, "X": 577.0, "Y": 123.0 }, { + "ShowGeometry": true, + "Name": "ReturnListOrSingleValue", "Id": "52c24fa0f1644f528e77ce6782fd5ac6", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "ReturnListOrSingleValue", - "ShowGeometry": true, "Excluded": false, "X": 912.423430884129, "Y": 418.511890718764 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "cde05de3dc1f43908061c0dff65ca05b", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 1175.42343088413, "Y": 405.511890718764 } ], "Annotations": [], - "X": 36.360479062843, - "Y": 346.555983631386, - "Zoom": 0.979846512088699 + "X": -24.359751691122767, + "Y": 101.67131318007085, + "Zoom": 1.0091680929477136 } } \ No newline at end of file diff --git a/nodes/3.x/View.ResizeCropBox.dyf b/nodes/3.x/View.ResizeCropBox.dyf index 73b4d872..a48135b5 100644 --- a/nodes/3.x/View.ResizeCropBox.dyf +++ b/nodes/3.x/View.ResizeCropBox.dyf @@ -44,7 +44,7 @@ { "Id": "2344c519b1754a62a323cafae20c4984", "Name": "seq", - "Description": "return value", + "Description": "Rückgabewert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -78,7 +78,7 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", @@ -104,7 +104,7 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -125,7 +125,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", @@ -137,7 +137,7 @@ { "Id": "05b61288c0ff4712af8e1b724f8e9d1c", "Name": "unknownItem", - "Description": "Input #1", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -146,7 +146,7 @@ { "Id": "aa305ccaa72042379a6ce2a764b727c6", "Name": "seq", - "Description": "Input #2", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -157,7 +157,7 @@ { "Id": "53d1b97ebb304d90bf2183ff5e6bc7d8", "Name": "", - "Description": "Output #1", + "Description": "Rückgabewert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -165,12 +165,13 @@ } ], "Replication": "Auto", - "Description": "If the item in input #1 is not a list, only the first item of the list in input #2 will be returned." + "Description": "If the unknown item is not a list but rather a single item, only the first item of the list (input \"seq\") will be returned." }, { "ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels", "NodeType": "PythonScriptNode", "Code": "import clr\r\nclr.AddReference('RevitAPI')\r\nfrom Autodesk.Revit.DB import *\r\n\r\nclr.AddReference(\"RevitNodes\")\r\nimport Revit\r\nclr.ImportExtensions(Revit.GeometryConversion)\r\n\r\nclr.AddReference(\"RevitServices\")\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\nfrom RevitServices.Transactions import TransactionManager\r\n\r\ndoc = DocumentManager.Instance.CurrentDBDocument\r\nviews = UnwrapElement(IN[0])\r\nmargin = IN[1].ToXyz()\r\nbooleans = []\r\n\r\nTransactionManager.Instance.EnsureInTransaction(doc)\r\nfor item in views:\r\n\ttry:\r\n\t\tnewmax = item.CropBox.Max.Add(margin)\r\n\t\tnewmin = item.CropBox.Min.Subtract(margin)\r\n\t\tnewbox = BoundingBoxXYZ()\r\n\t\tnewbox.Max = newmax\r\n\t\tnewbox.Min = newmin\r\n\t\titem.CropBox = newbox\r\n\t\tbooleans.append(True)\r\n\texcept:\r\n\t\tbooleans.append(False)\r\nTransactionManager.Instance.TransactionTaskDone()\r\n\r\nOUT = (views,booleans)", + "Engine": "CPython3", "VariableInputPorts": true, "Id": "80cb025487a94a668f1fe17003055bb6", "Inputs": [ @@ -205,7 +206,7 @@ } ], "Replication": "Disabled", - "Description": "Runs an embedded IronPython script." + "Description": "Führt ein eingebettetes Python-Skript aus." }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", @@ -216,7 +217,7 @@ { "Id": "a5af06cba55446fc82bf2ade027fbae8", "Name": "x", - "Description": "double\nDefault value : 0", + "Description": "X coordinate\n\ndouble\nVorgabewert : 0", "UsingDefaultValue": true, "Level": 2, "UseLevels": false, @@ -225,7 +226,7 @@ { "Id": "54f28eeccb4148a489bb7acfceff5979", "Name": "y", - "Description": "double\nDefault value : 0", + "Description": "Y coordinate\n\ndouble\nVorgabewert : 0", "UsingDefaultValue": true, "Level": 2, "UseLevels": false, @@ -234,7 +235,7 @@ { "Id": "fbeca4cd61d24cdba54179798e1ae978", "Name": "z", - "Description": "double\nDefault value : 0", + "Description": "Z coordinate\n\ndouble\nVorgabewert : 0", "UsingDefaultValue": true, "Level": 2, "UseLevels": false, @@ -245,7 +246,7 @@ { "Id": "e5749df5faf746528476c31cd0180cc5", "Name": "Point", - "Description": "Point", + "Description": "Point created by coordinates", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -253,7 +254,7 @@ } ], "Replication": "Auto", - "Description": "Form a Point given 3 cartesian coordinates\n\nPoint.ByCoordinates (x: double = 0, y: double = 0, z: double = 0): Point" + "Description": "Legt einen Punkt nach Angabe dreier kartesischer Koordinaten fest.\n\nPoint.ByCoordinates (x: double = 0, y: double = 0, z: double = 0): Point" }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", @@ -264,7 +265,7 @@ { "Id": "77f94fe465f94dd9ac62e1fb00f6cbcb", "Name": "list", - "Description": "List to get the first item from.\n\nvar[]..[]", + "Description": "Liste, deren erstes Element abgerufen werden soll\n\nvar[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -275,7 +276,7 @@ { "Id": "8387ff4a8fc2476c8501ebd35e75fb39", "Name": "item", - "Description": "First item in the list.", + "Description": "Das erste Element in der Liste", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -283,7 +284,7 @@ } ], "Replication": "Auto", - "Description": "Returns the first item in a list.\n\nList.FirstItem (list: var[]..[]): var[]..[]" + "Description": "Gibt das erste Element in einer Liste zurück.\n\nList.FirstItem (list: var[]..[]): var[]..[]" }, { "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore", @@ -294,7 +295,7 @@ { "Id": "f94cddbd9d9345f9ac3d03d3db9fdd86", "Name": "list", - "Description": "List to get the last item of.\n\nvar[]..[]", + "Description": "Liste, deren letztes Element abgerufen werden soll\n\nvar[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -304,8 +305,8 @@ "Outputs": [ { "Id": "058be0fa3da64340a379f5a7239c00f9", - "Name": "last", - "Description": "Last item in the list.", + "Name": "item", + "Description": "Das letzte Element in der Liste", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -313,7 +314,7 @@ } ], "Replication": "Auto", - "Description": "Retrieves the last item in a list.\n\nList.LastItem (list: var[]..[]): var[]..[]" + "Description": "Ruft das letzte Element in einer Liste ab.\n\nList.LastItem (list: var[]..[]): var[]..[]" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -334,7 +335,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore", @@ -346,7 +347,7 @@ { "Id": "e36c8a09092c4398b8d099e0fee35b8d", "Name": "unknownItem", - "Description": "Input #1", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -355,7 +356,7 @@ { "Id": "9071ef91e54d4e68a6e9417b642c81a8", "Name": "seq", - "Description": "Input #2", + "Description": "var[]..[]", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -366,7 +367,7 @@ { "Id": "7e3e46c934e5490289feaf4066ceb4c2", "Name": "", - "Description": "Output #1", + "Description": "Rückgabewert", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -374,7 +375,7 @@ } ], "Replication": "Auto", - "Description": "If the item in input #1 is not a list, only the first item of the list in input #2 will be returned." + "Description": "If the unknown item is not a list but rather a single item, only the first item of the list (input \"seq\") will be returned." } ], "Connectors": [ @@ -453,18 +454,20 @@ "cd09ad33-8c34-4850-ac26-24448d92c38f", "44ac4888-4aa4-49a9-9344-23b729c11df9" ], + "NodeLibraryDependencies": [], + "Author": "None provided", "Bindings": [], "View": { "Dynamo": { "ScaleFactor": 1.0, "HasRunWithoutCrash": false, "IsVisibleInDynamoLibrary": true, - "Version": "2.0.1.5055", + "Version": "2.12.1.8246", "RunType": "Manual", "RunPeriod": "1000" }, "Camera": { - "Name": "Background Preview", + "Name": "Hintergrundvorschau", "EyeX": -17.0, "EyeY": 24.0, "EyeZ": 50.0, @@ -477,119 +480,119 @@ }, "NodeViews": [ { + "ShowGeometry": true, + "Name": "TurnIntoList", "Id": "cf916ebd8d18458abb06d05e6ebc74bf", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "TurnIntoList", - "ShowGeometry": true, "Excluded": false, "X": 342.762704844066, "Y": 101.109705521047 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "edaf9b72508f4e35a8cdacefe7bc2c1e", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, "X": 113.762704844066, "Y": 211.109705521047 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "585a7471478d4484973fb2689064144b", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, "X": 113.762704844066, "Y": 101.109705521047 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "73bac2d8b3194f94b962745484a0821c", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 1361.76270484407, "Y": 62.1097055210469 }, { + "ShowGeometry": true, + "Name": "ReturnListOrSingleValue", "Id": "57d53136189049cebbf8a3597d569f51", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "ReturnListOrSingleValue", - "ShowGeometry": true, "Excluded": false, "X": 1098.76270484407, "Y": 49.1097055210469 }, { + "ShowGeometry": true, + "Name": "Python Script", "Id": "80cb025487a94a668f1fe17003055bb6", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Python Script", - "ShowGeometry": true, "Excluded": false, "X": 611.762704844066, "Y": 130.109705521047 }, { + "ShowGeometry": true, + "Name": "Point.ByCoordinates", "Id": "d5d7f931579644a09a2e7d39ba109288", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Point.ByCoordinates", - "ShowGeometry": true, "Excluded": false, "X": 342.762704844066, "Y": 185.109705521047 }, { + "ShowGeometry": true, + "Name": "List.FirstItem", "Id": "b171fa4f1e3e4f15b5f8afb5e586ee02", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "List.FirstItem", - "ShowGeometry": true, "Excluded": false, "X": 835.762704844066, "Y": 75.1097055210469 }, { + "ShowGeometry": true, + "Name": "List.LastItem", "Id": "2186fdb2a6e84adda14bea267f64b890", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "List.LastItem", - "ShowGeometry": true, "Excluded": false, "X": 835.762704844066, "Y": 185.109705521047 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "dcbdf1405e07482eb71b0852d6b64404", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 1361.76270484407, "Y": 146.109705521047 }, { + "ShowGeometry": true, + "Name": "ReturnListOrSingleValue", "Id": "29bf0e13b3074dbeb3a4320073a7be6b", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "ReturnListOrSingleValue", - "ShowGeometry": true, "Excluded": false, "X": 1098.76270484407, "Y": 159.109705521047 } ], "Annotations": [], - "X": 32.9960101404056, - "Y": 406.722237735553, - "Zoom": 0.863625099920064 + "X": -41.675633689386132, + "Y": 218.992497291854, + "Zoom": 0.69633839166103062 } } \ No newline at end of file diff --git a/nodes/3.x/View.SetSolarStudyActiveFrameNumber.dyf b/nodes/3.x/View.SetSolarStudyActiveFrameNumber.dyf index fb29ab10..3fcda235 100644 --- a/nodes/3.x/View.SetSolarStudyActiveFrameNumber.dyf +++ b/nodes/3.x/View.SetSolarStudyActiveFrameNumber.dyf @@ -35,7 +35,7 @@ { "Id": "8e22eeb8912147998544a3d117b17228", "Name": "", - "Description": "Value of expression at line 1", + "Description": "Wert des Ausdrucks in Zeile 1", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -44,7 +44,7 @@ { "Id": "fc8641438cb941b6a0d137bafdcc9fef", "Name": "", - "Description": "Value of expression at line 2", + "Description": "Wert des Ausdrucks in Zeile 2", "UsingDefaultValue": false, "Level": 2, "UseLevels": false, @@ -52,12 +52,13 @@ } ], "Replication": "Disabled", - "Description": "Allows for DesignScript code to be authored directly" + "Description": "Ermöglicht die direkte Erstellung von DesignScript-Code." }, { "ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels", "NodeType": "PythonScriptNode", "Code": "import clr\r\nclr.AddReference('RevitAPI')\r\nfrom Autodesk.Revit.DB import *\r\n\r\nclr.AddReference(\"RevitServices\")\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\nfrom RevitServices.Transactions import TransactionManager\r\n\r\ndoc = DocumentManager.Instance.CurrentDBDocument\r\nview = UnwrapElement(IN[0])\r\nframe = IN[1]\r\nTransactionManager.Instance.EnsureInTransaction(doc)\r\ntry:\r\n\tview.SunAndShadowSettings.ActiveFrame = frame\r\n\tsuccess = True\r\nexcept:\r\n\tsuccess = False\r\nTransactionManager.Instance.TransactionTaskDone()\r\nOUT = (view,success)", + "Engine": "CPython3", "VariableInputPorts": true, "Id": "f571b3da911d451fbe3ce7769eec5fba", "Inputs": [ @@ -92,7 +93,7 @@ } ], "Replication": "Disabled", - "Description": "Runs an embedded IronPython script." + "Description": "Führt ein eingebettetes Python-Skript aus." }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", @@ -118,7 +119,7 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore", @@ -144,7 +145,7 @@ } ], "Replication": "Disabled", - "Description": "A function parameter, use with custom nodes.\r\n\r\nYou can specify the type and default value for parameter. E.g.,\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" + "Description": "Ein Funktionsparameter zur Verwendung mit benutzerdefinierten Blöcken.\r\n\r\nSie können den Typ und den Vorgabewert für den Parameter angeben, z. B.\r\n\r\ninput : var[]..[]\r\nvalue : bool = false" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -165,7 +166,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" }, { "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore", @@ -186,7 +187,7 @@ ], "Outputs": [], "Replication": "Disabled", - "Description": "A function output, use with custom nodes" + "Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken" } ], "Connectors": [ @@ -217,18 +218,20 @@ } ], "Dependencies": [], + "NodeLibraryDependencies": [], + "Author": "None provided", "Bindings": [], "View": { "Dynamo": { "ScaleFactor": 1.0, "HasRunWithoutCrash": false, "IsVisibleInDynamoLibrary": true, - "Version": "2.0.1.5055", + "Version": "2.12.1.8246", "RunType": "Manual", "RunPeriod": "1000" }, "Camera": { - "Name": "Background Preview", + "Name": "Hintergrundvorschau", "EyeX": -17.0, "EyeY": 24.0, "EyeZ": 50.0, @@ -241,61 +244,61 @@ }, "NodeViews": [ { + "ShowGeometry": true, + "Name": "Code Block", "Id": "5ac13f45c04b43c7864dfde072a99846", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Code Block", - "ShowGeometry": true, "Excluded": false, "X": 498.0, "Y": 37.4266666666667 }, { + "ShowGeometry": true, + "Name": "Python Script", "Id": "f571b3da911d451fbe3ce7769eec5fba", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Python Script", - "ShowGeometry": true, "Excluded": false, "X": 274.0, - "Y": 33.2133333333333 + "Y": 33.21333333333331 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "65fe15662c5648cea22036b2b25c038b", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, "X": 0.0, "Y": 4.21333333333335 }, { + "ShowGeometry": true, + "Name": "Input", "Id": "293e1d05bf31413dacac00783aaa9e4a", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Input", - "ShowGeometry": true, "Excluded": false, "X": 0.0, "Y": 88.2133333333333 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "7a7d3021654c41ed8b81c59e4085dca3", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 726.0, "Y": 0.0 }, { + "ShowGeometry": true, + "Name": "Output", "Id": "4c5b8936dc494c3ba72b90b14c0fc47b", "IsSetAsInput": false, "IsSetAsOutput": false, - "Name": "Output", - "ShowGeometry": true, "Excluded": false, "X": 726.0, "Y": 84.0 diff --git a/package_samples/3.x/dynamo/Revit.Views.View.Actions.dyn b/package_samples/3.x/dynamo/Revit.Views.View.Actions.dyn index 83524fdd..9ec11063 100644 --- a/package_samples/3.x/dynamo/Revit.Views.View.Actions.dyn +++ b/package_samples/3.x/dynamo/Revit.Views.View.Actions.dyn @@ -2789,7 +2789,7 @@ "NodeLibraryDependencies": [ { "Name": "Clockwork for Dynamo 2.x", - "Version": "2.12.0", + "Version": "2.12.2", "ReferenceType": "Package", "Nodes": [ "6ff54825b1c249ad9fc6c883f81fd15a", @@ -3610,13 +3610,13 @@ "628fa7f0dc434934ba507d59b627e42d" ], "Left": -1652.2996144802223, - "Top": -2368.4734371424884, + "Top": -2345.2734371424885, "Width": 320.0, - "Height": 102.59999999999991, + "Height": 79.400000000000091, "FontSize": 36.0, "InitialTop": -2315.2734371424885, "InitialHeight": 145.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FF848484" }, { @@ -3629,13 +3629,13 @@ "6200889c7bd54ef4b5d9d9b9685760e3" ], "Left": 332.79883004858459, - "Top": -3688.7396920984693, + "Top": -3665.5396920984695, "Width": 991.99999999999989, - "Height": 644.59999999999991, + "Height": 621.40000000000009, "FontSize": 36.0, "InitialTop": -3635.5396920984695, "InitialHeight": 459.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3647,13 +3647,13 @@ "1d8e4587da1b4f1c8243aa2b84624812" ], "Left": 330.16655945655282, - "Top": -2942.3936028879161, + "Top": -2919.1936028879163, "Width": 772.50333333333333, - "Height": 482.59999999999991, + "Height": 459.40000000000009, "FontSize": 36.0, "InitialTop": -2889.1936028879163, "InitialHeight": 297.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3678,13 +3678,13 @@ "9c28e112f15c44e2a9abcb90ca251adc" ], "Left": -1658.9021104235308, - "Top": -2202.1338939807074, + "Top": -2178.9338939807076, "Width": 444.13927980460812, - "Height": 2416.459213247701, + "Height": 2393.2592132477012, "FontSize": 36.0, "InitialTop": -2148.9338939807076, - "InitialHeight": 2562.9303195249158, - "TextblockHeight": 43.2, + "InitialHeight": 2415.6592132477012, + "TextblockHeight": 0.0, "Background": "#FF848484" }, { @@ -3696,13 +3696,13 @@ "99c0ad429ccb42dbb95357221d08b8aa" ], "Left": 330.40031265310927, - "Top": -2508.1823395968636, + "Top": -2484.9823395968638, "Width": 565.60000000000014, - "Height": 624.59999999999991, + "Height": 601.40000000000009, "FontSize": 36.0, "InitialTop": -2454.9823395968638, "InitialHeight": 439.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3713,13 +3713,13 @@ "0dd3a1e417e8487bb4631d153fb407f7" ], "Left": 345.1493595523151, - "Top": -1007.7041800559937, + "Top": -984.50418005599363, "Width": 632.0, - "Height": 330.6, + "Height": 307.4, "FontSize": 36.0, "InitialTop": -954.50418005599363, "InitialHeight": 145.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3730,13 +3730,13 @@ "8861e15a814846629edbf17b4bd27ae3" ], "Left": 330.09248900968521, - "Top": -649.39878887382224, + "Top": -626.1987888738222, "Width": 632.0, - "Height": 330.6, + "Height": 307.4, "FontSize": 36.0, "InitialTop": -596.1987888738222, "InitialHeight": 145.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3747,13 +3747,13 @@ "a1170e696987401599b5dd7848d98b32" ], "Left": 314.05505492216059, - "Top": -1860.6083194492517, + "Top": -1837.4083194492516, "Width": 632.0, - "Height": 330.59999999999991, + "Height": 307.39999999999986, "FontSize": 36.0, "InitialTop": -1807.4083194492516, "InitialHeight": 145.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3765,13 +3765,13 @@ "a067be36d3694a388823fddd5ccfff17" ], "Left": 1225.6471093960465, - "Top": -1869.8712054308535, + "Top": -1846.6712054308534, "Width": 559.60000000000014, - "Height": 624.59999999999991, + "Height": 601.39999999999986, "FontSize": 36.0, "InitialTop": -1816.6712054308534, "InitialHeight": 439.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3783,13 +3783,13 @@ "d0196b7911864a1eacb630d6973f5375" ], "Left": 315.20031265310934, - "Top": 1686.7372125754598, + "Top": 1709.9372125754599, "Width": 552.0, - "Height": 482.60000000000014, + "Height": 459.40000000000009, "FontSize": 36.0, "InitialTop": 1739.9372125754599, "InitialHeight": 297.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3801,13 +3801,13 @@ "8446984b362441fa99ec189c12aa471d" ], "Left": 2651.9285006176706, - "Top": 391.98093148499606, + "Top": 415.18093148499605, "Width": 582.40000000000009, - "Height": 482.6, + "Height": 459.40000000000003, "FontSize": 36.0, "InitialTop": 445.18093148499605, "InitialHeight": 297.00000000000006, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3819,13 +3819,13 @@ "715e971b6bea4333b863a55d9b7922df" ], "Left": 2650.2285006176703, - "Top": 1047.9809314849961, + "Top": 1071.1809314849961, "Width": 540.79999999999973, - "Height": 482.60000000000014, + "Height": 459.40000000000009, "FontSize": 36.0, "InitialTop": 1101.1809314849961, "InitialHeight": 297.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3837,13 +3837,13 @@ "017a1b7ecd8646d89a6e88da42db13d5" ], "Left": 2601.9285006176706, - "Top": 1702.9809314849961, + "Top": 1726.1809314849961, "Width": 702.40000000000009, - "Height": 482.60000000000014, + "Height": 459.40000000000009, "FontSize": 36.0, "InitialTop": 1756.1809314849961, "InitialHeight": 297.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3856,13 +3856,13 @@ "4d2282d703c844b081beb5104da2910a" ], "Left": 319.3003126531093, - "Top": -147.39878887382218, + "Top": -124.1987888738222, "Width": 668.8, - "Height": 634.59999999999991, + "Height": 611.4, "FontSize": 36.0, "InitialTop": -94.1987888738222, "InitialHeight": 449.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3875,13 +3875,13 @@ "3b05e0d68e354a56927f9efcb1be67f3" ], "Left": 299.06233278345246, - "Top": 797.22653103928246, + "Top": 820.42653103928251, "Width": 618.40000000000009, - "Height": 634.60000000000014, + "Height": 611.40000000000009, "FontSize": 36.0, "InitialTop": 850.42653103928251, "InitialHeight": 449.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3894,13 +3894,13 @@ "734301d3e3f04fdcb61b8330b5124ef4" ], "Left": 2540.6980530681572, - "Top": -2284.9963290673873, + "Top": -2261.7963290673874, "Width": 652.0, - "Height": 634.59999999999991, + "Height": 611.40000000000009, "FontSize": 36.0, "InitialTop": -2231.7963290673874, "InitialHeight": 449.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3913,13 +3913,13 @@ "022e5eeb76ea46da8a93b9aef8646543" ], "Left": 2586.6851685694896, - "Top": -1450.1687996811486, + "Top": -1426.9687996811485, "Width": 656.79999999999973, - "Height": 634.6, + "Height": 611.4, "FontSize": 36.0, "InitialTop": -1396.9687996811485, "InitialHeight": 449.0, - "TextblockHeight": 43.2, + "TextblockHeight": 0.0, "Background": "#FFFF7BAC" }, { @@ -3937,8 +3937,8 @@ "Background": "#FFC1D676" } ], - "X": 351.434889030794, - "Y": 403.69015025823921, - "Zoom": 0.10278808152484825 + "X": 458.02821347893666, + "Y": 538.9399365447332, + "Zoom": 0.13999020218397562 } } \ No newline at end of file