Skip to content

Commit 1291874

Browse files
committed
#62 worksharinglog actions nodes
1 parent f538de0 commit 1291874

File tree

2 files changed

+410
-0
lines changed

2 files changed

+410
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
{
2+
"Uuid": "1e569f04-3121-4f94-872a-b758aad2e2a0",
3+
"IsCustomNode": true,
4+
"Category": "Journalysis.Actions",
5+
"Description": "Determines whether all sessions of a given WorksharingLog use the same Revit build",
6+
"Name": "WorksharingLog.AllSessionsUseSameBuild",
7+
"ElementResolver": {
8+
"ResolutionMap": {
9+
"File": {
10+
"Key": "DSCore.IO.File",
11+
"Value": "DSCoreNodes.dll"
12+
},
13+
"System.IO.FileInfo": {
14+
"Key": "System.IO.FileInfo",
15+
"Value": ""
16+
},
17+
"List.Empty": {
18+
"Key": "DSCore.List",
19+
"Value": "DSCoreNodes.dll"
20+
}
21+
}
22+
},
23+
"Inputs": [],
24+
"Outputs": [],
25+
"Nodes": [
26+
{
27+
"ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels",
28+
"NodeType": "PythonScriptNode",
29+
"Code": "import clr\r\n\r\ndef process_input(func, input):\r\n\tif isinstance(input, list): return [func(x) for x in input]\r\n\telse: return func(input)\r\n\t\r\ndef WSLogAllSessionsUseSameBuild(wslog):\r\n\tif wslog.__repr__() == 'WorksharingLog': return wslog.AllSessionsUseSameBuild()\r\n\telse: return None\r\n\r\nOUT = process_input(WSLogAllSessionsUseSameBuild,IN[0])",
30+
"Engine": "CPython3",
31+
"VariableInputPorts": true,
32+
"Id": "f4cbc6c6fca04bbaae9986ecbcfa5aed",
33+
"Inputs": [
34+
{
35+
"Id": "7bdeef0e67c04052a9a72720ca52a45a",
36+
"Name": "IN[0]",
37+
"Description": "Input #0",
38+
"UsingDefaultValue": false,
39+
"Level": 2,
40+
"UseLevels": false,
41+
"KeepListStructure": false
42+
}
43+
],
44+
"Outputs": [
45+
{
46+
"Id": "ff0352ce821e4de9a05008148d1ad569",
47+
"Name": "OUT",
48+
"Description": "Result of the python script",
49+
"UsingDefaultValue": false,
50+
"Level": 2,
51+
"UseLevels": false,
52+
"KeepListStructure": false
53+
}
54+
],
55+
"Replication": "Disabled",
56+
"Description": "Führt ein eingebettetes Python-Skript aus."
57+
},
58+
{
59+
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Symbol, DynamoCore",
60+
"NodeType": "InputNode",
61+
"Parameter": {
62+
"Name": "worksharingLog",
63+
"TypeName": "var",
64+
"TypeRank": -1,
65+
"DefaultValue": null,
66+
"Description": ""
67+
},
68+
"Id": "20553ba5250f47038d830b798b26b0a2",
69+
"Inputs": [],
70+
"Outputs": [
71+
{
72+
"Id": "74cff230a86b4fd890c0d86297624afe",
73+
"Name": "",
74+
"Description": "Symbol",
75+
"UsingDefaultValue": false,
76+
"Level": 2,
77+
"UseLevels": false,
78+
"KeepListStructure": false
79+
}
80+
],
81+
"Replication": "Disabled",
82+
"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"
83+
},
84+
{
85+
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Output, DynamoCore",
86+
"NodeType": "OutputNode",
87+
"ElementResolver": null,
88+
"Symbol": "bool",
89+
"Id": "258941f8b4874f5a958e5e955e51a972",
90+
"Inputs": [
91+
{
92+
"Id": "076949ed33644c2789c0e26d9eeb537c",
93+
"Name": "",
94+
"Description": "",
95+
"UsingDefaultValue": false,
96+
"Level": 2,
97+
"UseLevels": false,
98+
"KeepListStructure": false
99+
}
100+
],
101+
"Outputs": [],
102+
"Replication": "Disabled",
103+
"Description": "Eine Funktionsausgabe zur Verwendung mit benutzerdefinierten Blöcken"
104+
}
105+
],
106+
"Connectors": [
107+
{
108+
"Start": "ff0352ce821e4de9a05008148d1ad569",
109+
"End": "076949ed33644c2789c0e26d9eeb537c",
110+
"Id": "79dfc1ed824f44979d454d9c2e824890"
111+
},
112+
{
113+
"Start": "74cff230a86b4fd890c0d86297624afe",
114+
"End": "7bdeef0e67c04052a9a72720ca52a45a",
115+
"Id": "74a7df4b0e204ac18f254f2c5c85e092"
116+
}
117+
],
118+
"Dependencies": [],
119+
"NodeLibraryDependencies": [],
120+
"Author": "None provided",
121+
"Bindings": [],
122+
"View": {
123+
"Dynamo": {
124+
"ScaleFactor": 1.0,
125+
"HasRunWithoutCrash": false,
126+
"IsVisibleInDynamoLibrary": true,
127+
"Version": "2.12.1.8246",
128+
"RunType": "Manual",
129+
"RunPeriod": "1000"
130+
},
131+
"Camera": {
132+
"Name": "Hintergrundvorschau",
133+
"EyeX": -17.0,
134+
"EyeY": 24.0,
135+
"EyeZ": 50.0,
136+
"LookX": 12.0,
137+
"LookY": -13.0,
138+
"LookZ": -58.0,
139+
"UpX": 0.0,
140+
"UpY": 1.0,
141+
"UpZ": 0.0
142+
},
143+
"NodeViews": [
144+
{
145+
"ShowGeometry": true,
146+
"Name": "Python Script",
147+
"Id": "f4cbc6c6fca04bbaae9986ecbcfa5aed",
148+
"IsSetAsInput": false,
149+
"IsSetAsOutput": false,
150+
"Excluded": false,
151+
"X": 250.0,
152+
"Y": 0.0
153+
},
154+
{
155+
"ShowGeometry": true,
156+
"Name": "Input",
157+
"Id": "20553ba5250f47038d830b798b26b0a2",
158+
"IsSetAsInput": false,
159+
"IsSetAsOutput": false,
160+
"Excluded": false,
161+
"X": 0.0,
162+
"Y": 0.0
163+
},
164+
{
165+
"ShowGeometry": true,
166+
"Name": "Output",
167+
"Id": "258941f8b4874f5a958e5e955e51a972",
168+
"IsSetAsInput": false,
169+
"IsSetAsOutput": false,
170+
"Excluded": false,
171+
"X": 449.0,
172+
"Y": 0.0
173+
}
174+
],
175+
"Annotations": [],
176+
"X": 0.0,
177+
"Y": 0.0,
178+
"Zoom": 1.0
179+
}
180+
}

0 commit comments

Comments
 (0)