Skip to content

Commit

Permalink
#407 bye bye Booleans.AnyTrue
Browse files Browse the repository at this point in the history
  • Loading branch information
andydandy74 committed Oct 12, 2024
1 parent f94b8c8 commit 71ceb9f
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 196 deletions.
158 changes: 85 additions & 73 deletions nodes/3.x/Document.ContainsElementsOfCategory.dyf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,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 @@ -55,7 +55,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",
Expand All @@ -76,7 +76,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",
Expand All @@ -97,7 +97,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",
Expand All @@ -118,38 +118,7 @@
],
"Outputs": [],
"Replication": "Disabled",
"Description": "A function output, use with custom nodes"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "605e21d1-67ee-4465-8543-67f7781dd84d",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "b81fa77f7d134fccad23d506b666cec5",
"Inputs": [
{
"Id": "6387ea7d228a479e92335f05592f8ea6",
"Name": "seq",
"Description": "bool[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "68fc3f29e02b4bc3b6bc9436b008c945",
"Name": "bool",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Returns true if any item in a list of booleans is true."
"Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
Expand All @@ -172,7 +141,7 @@
{
"Id": "9534ac6eb95a4557a0b0deeafb47d96b",
"Name": "bool",
"Description": "return value",
"Description": "Rückgabewert",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
Expand All @@ -191,7 +160,7 @@
{
"Id": "bff2265e644647da84521e298d390cb8",
"Name": "list",
"Description": "List to be checked on whether all items are true.\n\nvar[]..[]",
"Description": "Liste, in der geprüft werden soll, ob alle Elemente den Wert True haben\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
Expand All @@ -202,15 +171,15 @@
{
"Id": "115a15b206ca49abbf60bc48dc4f6d24",
"Name": "bool",
"Description": "Whether all items are true.",
"Description": "True, wenn alle Elemente aus der Liste True sind; False, wenn mindestens ein Element nicht True ist",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Determines if all items in the given list is a boolean and has a true value.\n\nList.AllTrue (list: var[]..[]): bool"
"Description": "Ermittelt, ob alle Elemente in der angegebenen Liste boolesche Angaben mit dem Wert True sind.\n\nList.AllTrue (list: var[]..[]): bool"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
Expand Down Expand Up @@ -242,7 +211,7 @@
{
"Id": "bff53fbb8ecc4dafa697a0ff78fef35e",
"Name": "",
"Description": "return value",
"Description": "Rückgabewert",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
Expand Down Expand Up @@ -282,7 +251,7 @@
{
"Id": "0dd9f03928214bb7be6e5a8154ada60b",
"Name": "",
"Description": "return value",
"Description": "Rückgabewert",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
Expand Down Expand Up @@ -311,7 +280,7 @@
{
"Id": "df79e3e1c3324cd09cdf03a753738de2",
"Name": "toggle",
"Description": "bool\nDefault value : true",
"Description": "bool\nVorgabewert : true",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
Expand All @@ -320,7 +289,7 @@
{
"Id": "5a9a428cdf284a0fa6e759fbb9136b92",
"Name": "docOrRevitLinkInstance",
"Description": " Use only if you want to query a linked model\n\nvar\nDefault value : null",
"Description": " Use only if you want to query a linked model\n\nvar\nVorgabewert : null",
"UsingDefaultValue": true,
"Level": 2,
"UseLevels": false,
Expand All @@ -331,15 +300,15 @@
{
"Id": "2b27ee99287a419aac4352d24504271a",
"Name": "elements",
"Description": "return value",
"Description": "Rückgabewert",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Gets all placed elements of a given category in the model."
"Description": "Gets all placed elements of a given category in the model. Unlike the OOTB node it also supports linked models and a few more special categories (e.g. Legend Components)."
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
Expand All @@ -365,7 +334,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 @@ -391,7 +360,37 @@
}
],
"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.ZeroTouch.DSFunction, DynamoCore",
"NodeType": "FunctionNode",
"FunctionSignature": "DSCore.List.AnyTrue@var[]..[]",
"Id": "5883804e4cbc4179bac0ac762ec2683b",
"Inputs": [
{
"Id": "d881b93826894be59507875bf7e5046c",
"Name": "list",
"Description": "Liste, in der geprüft werden soll, ob ein Element den Wert True aufweist.\n\nvar[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "759d947a4f2645cfb7664042d1e70c72",
"Name": "bool",
"Description": "Gibt an, ob ein Element den Wert True hat.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Ermittelt, ob ein Element in der angegebenen Liste eine boolesche Angabe mit dem Wert True ist.\n\nList.AnyTrue (list: var[]..[]): bool"
}
],
"Connectors": [
Expand All @@ -410,25 +409,20 @@
"End": "0d4b989e9ed04af29834533ac06aacf8",
"Id": "e326c1ec937f42f49671feb583b0d9ef"
},
{
"Start": "68fc3f29e02b4bc3b6bc9436b008c945",
"End": "f1e2d779f68d4cf0be27b16682c6dd88",
"Id": "82763d1a42004fdeb6a5920a3130422d"
},
{
"Start": "9534ac6eb95a4557a0b0deeafb47d96b",
"End": "bff2265e644647da84521e298d390cb8",
"Id": "5d6111f2fcae48d9af8806df5bd89641"
},
{
"Start": "9534ac6eb95a4557a0b0deeafb47d96b",
"End": "6387ea7d228a479e92335f05592f8ea6",
"Id": "b4b944ed41a4492ebb5bad74f713961c"
"End": "a5e178a4c5674128af92b5d81497aa73",
"Id": "00a44d9381d64dc2bd2f4277b4e785fb"
},
{
"Start": "9534ac6eb95a4557a0b0deeafb47d96b",
"End": "a5e178a4c5674128af92b5d81497aa73",
"Id": "00a44d9381d64dc2bd2f4277b4e785fb"
"End": "d881b93826894be59507875bf7e5046c",
"Id": "c7cd087a3b3c40599c822e7aa8de9f05"
},
{
"Start": "115a15b206ca49abbf60bc48dc4f6d24",
Expand Down Expand Up @@ -464,26 +458,44 @@
"Start": "789ffbbc20fa4c6d95a601feeb25857c",
"End": "5a9a428cdf284a0fa6e759fbb9136b92",
"Id": "79955d7e3caa48d1916eea337bb8028e"
},
{
"Start": "759d947a4f2645cfb7664042d1e70c72",
"End": "f1e2d779f68d4cf0be27b16682c6dd88",
"Id": "8c99c1a33e4f41998eb310dbc9143179"
}
],
"Dependencies": [
"605e21d1-67ee-4465-8543-67f7781dd84d",
"cbc06bc3-4c8d-4b6a-bd05-e0f5b70427da",
"44ac4888-4aa4-49a9-9344-23b729c11df9",
"d2b11c37-6e44-4479-beca-578b82cfe32e"
],
"NodeLibraryDependencies": [
{
"Name": "Clockwork for Dynamo 2.x",
"Version": "2.12.0",
"ReferenceType": "Package",
"Nodes": [
"980220dff59e42bcbe2657ffcba46fa4",
"55bbd98d815f44f6af5f2fedf90f7708",
"e6f0b44aec184aa1b1357c83f40a2aa4",
"5e05bd742c1348b4808ba1f7b2128386"
]
}
],
"Author": "None provided",
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": false,
"IsVisibleInDynamoLibrary": true,
"Version": "2.0.3.8810",
"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 Down Expand Up @@ -545,16 +557,6 @@
"X": 1468.0522620904844,
"Y": 319.2789706786682
},
{
"ShowGeometry": true,
"Name": "Booleans.AnyTrue",
"Id": "b81fa77f7d134fccad23d506b666cec5",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1158.0522620904844,
"Y": 95.2789706786682
},
{
"ShowGeometry": true,
"Name": "List.IsNotEmpty",
Expand Down Expand Up @@ -624,11 +626,21 @@
"Excluded": false,
"X": -283.94773790951558,
"Y": 409.7789706786682
},
{
"ShowGeometry": true,
"Name": "List.AnyTrue",
"Id": "5883804e4cbc4179bac0ac762ec2683b",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Excluded": false,
"X": 1162.2836830591225,
"Y": 90.28237506609193
}
],
"Annotations": [],
"X": 443.21958404836209,
"Y": 200.13416483266636,
"Zoom": 0.68570894746787581
"X": -800.69405800290724,
"Y": 117.07357516609068,
"Zoom": 0.82105089481357252
}
}
Loading

0 comments on commit 71ceb9f

Please sign in to comment.