Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andydandy74 committed Oct 12, 2024
1 parent 4c2b481 commit a124a2c
Show file tree
Hide file tree
Showing 2 changed files with 489 additions and 578 deletions.
46 changes: 29 additions & 17 deletions nodes/3.x/DividedSurface.AddIntersect.dyf
Original file line number Diff line number Diff line change
Expand Up @@ -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\ndivsurf = UnwrapElement(IN[0])\r\nintersects = UnwrapElement(IN[1])\r\n\r\nTransactionManager.Instance.EnsureInTransaction(doc)\r\nfor item in intersects:\r\n\tdivsurf.AddIntersectionElement(item.Id)\r\nTransactionManager.Instance.TransactionTaskDone()\r\n\r\nOUT = divsurf",
"Engine": "CPython3",
"VariableInputPorts": true,
"Id": "e6b304b0b0fa43f6baf8aeb169192087",
"Inputs": [
Expand Down Expand Up @@ -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.Symbol, DynamoCore",
Expand All @@ -79,7 +80,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",
Expand All @@ -105,7 +106,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",
Expand All @@ -126,7 +127,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",
Expand All @@ -149,7 +150,7 @@
{
"Id": "54b88ade3e8044ebba8c7671b1cbddad",
"Name": "seq",
"Description": "return value",
"Description": "Rückgabewert",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
Expand Down Expand Up @@ -185,18 +186,29 @@
"Dependencies": [
"cd09ad33-8c34-4850-ac26-24448d92c38f"
],
"NodeLibraryDependencies": [
{
"Name": "Clockwork for Dynamo 2.x",
"Version": "2.12.0",
"ReferenceType": "Package",
"Nodes": [
"6f3b3fed6f4342da95cd107b883c43b3"
]
}
],
"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,
Expand All @@ -209,51 +221,51 @@
},
"NodeViews": [
{
"ShowGeometry": true,
"Name": "Python Script",
"Id": "e6b304b0b0fa43f6baf8aeb169192087",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Python Script",
"ShowGeometry": true,
"Excluded": false,
"X": 263.353040043528,
"Y": 88.9121601741104
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "251115e52e534f4a96a3f6b8c07be1fe",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Input",
"ShowGeometry": true,
"Excluded": false,
"X": -78.000616485379,
"Y": 59.2088250816143
},
{
"ShowGeometry": true,
"Name": "Input",
"Id": "4ac14baa42814e3e9f78e81303cb130c",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Input",
"ShowGeometry": true,
"Excluded": false,
"X": -124.323789842554,
"Y": 153.14451260185
},
{
"ShowGeometry": true,
"Name": "Output",
"Id": "972c5d4256dd4db7833077ef221a318a",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Output",
"ShowGeometry": true,
"Excluded": false,
"X": 467.451654352527,
"Y": 87.9121601741104
},
{
"ShowGeometry": true,
"Name": "TurnIntoList",
"Id": "6f3b3fed6f4342da95cd107b883c43b3",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "TurnIntoList",
"ShowGeometry": true,
"Excluded": false,
"X": -7.63727126921603,
"Y": 149.379899514499
Expand Down
Loading

0 comments on commit a124a2c

Please sign in to comment.