Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andydandy74 committed Oct 11, 2024
1 parent 9138e6d commit e045681
Show file tree
Hide file tree
Showing 2 changed files with 65 additions and 79 deletions.
25 changes: 14 additions & 11 deletions nodes/3.x/FillPatternElement.IsSolidFill.dyf
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -60,12 +60,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\ndef IsSolidFill(fp):\r\n\treturn fp.GetFillPattern().IsSolidFill\r\n\r\nfillpatterns = UnwrapElement(IN[0])\r\n\r\nif isinstance(IN[0], list): OUT = [IsSolidFill(x) for x in fillpatterns]\r\nelse: OUT = IsSolidFill(fillpatterns)",
"Engine": "CPython3",
"VariableInputPorts": true,
"Id": "1ad6eca8d0ae4f8da78f5f7e3994928d",
"Inputs": [
Expand All @@ -91,7 +92,7 @@
}
],
"Replication": "Disabled",
"Description": "Runs an embedded IronPython script."
"Description": "Führt ein eingebettetes Python-Skript aus."
}
],
"Connectors": [
Expand All @@ -107,18 +108,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,
Expand All @@ -131,31 +134,31 @@
},
"NodeViews": [
{
"ShowGeometry": true,
"Name": "Input",
"Id": "b79d38b9f73e4b6996249c8de26f01fe",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Input",
"ShowGeometry": true,
"Excluded": false,
"X": 17.8845553822155,
"Y": 360.811841065646
},
{
"ShowGeometry": true,
"Name": "Output",
"Id": "11d45308e3464f77a93e51097b2b42df",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Output",
"ShowGeometry": true,
"Excluded": false,
"X": 693.884555382215,
"Y": 360.811841065646
},
{
"ShowGeometry": true,
"Name": "Python Script",
"Id": "1ad6eca8d0ae4f8da78f5f7e3994928d",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Python Script",
"ShowGeometry": true,
"Excluded": false,
"X": 469.884555382216,
"Y": 360.811841065646
Expand Down
Loading

0 comments on commit e045681

Please sign in to comment.