forked from PremTalreja/Prem-Talreja_Dynamo-Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathElements Level Change.dyn
185 lines (185 loc) · 5.36 KB
/
Elements Level Change.dyn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
{
"Uuid": "06c6d711-e9e7-4f69-adee-b8c221fd2f5c",
"IsCustomNode": false,
"Description": null,
"Name": "Elements Level Change",
"ElementResolver": {
"ResolutionMap": {}
},
"Inputs": [],
"Outputs": [],
"Nodes": [
{
"ConcreteType": "Dynamo.Nodes.DSModelElementsSelection, DSRevitNodesUI",
"NodeType": "ExtensionNode",
"InstanceId": [
"dca32b8f-7451-4dd8-b22d-280e26616c0a-000e04b0",
"dca32b8f-7451-4dd8-b22d-280e26616c0a-000e0510",
"dca32b8f-7451-4dd8-b22d-280e26616c0a-000e051e",
"dca32b8f-7451-4dd8-b22d-280e26616c0a-000e0522",
"dca32b8f-7451-4dd8-b22d-280e26616c0a-000e0529",
"dca32b8f-7451-4dd8-b22d-280e26616c0a-000e052e",
"dca32b8f-7451-4dd8-b22d-280e26616c0a-000e0535"
],
"Id": "83d388f3ac624f89a4e0a6c7ee852f59",
"Inputs": [],
"Outputs": [
{
"Id": "f5f6c5a16412425597c15dd99c0a7079",
"Name": "Elements",
"Description": "The selected elements.",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled"
},
{
"ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
"FunctionSignature": "1ad046da-824d-44a1-b168-3fbe0c012b3f",
"FunctionType": "Graph",
"NodeType": "FunctionNode",
"Id": "2cf6930c7789475f973dfb9aa73c3bf3",
"Inputs": [
{
"Id": "33a7028d5d714909b5d5aa8de127aed6",
"Name": "element",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
},
{
"Id": "a2ef1cf38dd34ddf9831ced4d9849370",
"Name": "level",
"Description": "var[]..[]",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Outputs": [
{
"Id": "dd187ee0b3984b08b034cc6daf4a2745",
"Name": "Result",
"Description": "return value",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Auto",
"Description": "Change the element to the selected level without moving the element.\r\nDoesn't work with hosted family (Wall Based) and Work Plane based family (without Reference Level or with read-only Schedule Level)."
},
{
"ConcreteType": "DSRevitNodesUI.Levels, DSRevitNodesUI",
"SelectedIndex": 1,
"SelectedString": "Level 2",
"NodeType": "ExtensionNode",
"Id": "70413f5bf30148ce9f6bf00f3a7b043b",
"Inputs": [],
"Outputs": [
{
"Id": "7e6031e2fb2e4d10869735ef711de9f6",
"Name": "Levels",
"Description": "The selected Levels",
"UsingDefaultValue": false,
"Level": 2,
"UseLevels": false,
"KeepListStructure": false
}
],
"Replication": "Disabled",
"Description": "Select a level in the active document"
}
],
"Connectors": [
{
"Start": "f5f6c5a16412425597c15dd99c0a7079",
"End": "33a7028d5d714909b5d5aa8de127aed6",
"Id": "ff1094494dec4a9380788b2fdadad811"
},
{
"Start": "7e6031e2fb2e4d10869735ef711de9f6",
"End": "a2ef1cf38dd34ddf9831ced4d9849370",
"Id": "eace4dd4d9e94c7987e6081b5a487630"
}
],
"Dependencies": [
"1ad046da-824d-44a1-b168-3fbe0c012b3f"
],
"NodeLibraryDependencies": [
{
"Name": "Genius Loci",
"Version": "2021.11.10",
"ReferenceType": "Package",
"Nodes": [
"2cf6930c7789475f973dfb9aa73c3bf3"
]
}
],
"Bindings": [],
"View": {
"Dynamo": {
"ScaleFactor": 1.0,
"HasRunWithoutCrash": true,
"IsVisibleInDynamoLibrary": true,
"Version": "2.3.0.5885",
"RunType": "Manual",
"RunPeriod": "1000"
},
"Camera": {
"Name": "Background Preview",
"EyeX": -17.0,
"EyeY": 24.0,
"EyeZ": 50.0,
"LookX": 12.0,
"LookY": -13.0,
"LookZ": -58.0,
"UpX": 0.0,
"UpY": 1.0,
"UpZ": 0.0
},
"NodeViews": [
{
"Id": "83d388f3ac624f89a4e0a6c7ee852f59",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Select Model Elements",
"ShowGeometry": true,
"Excluded": false,
"X": 128.80000000000007,
"Y": 289.6
},
{
"Id": "2cf6930c7789475f973dfb9aa73c3bf3",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Element Change Level",
"ShowGeometry": true,
"Excluded": false,
"X": 537.05695784024215,
"Y": 328.45408488014687
},
{
"Id": "70413f5bf30148ce9f6bf00f3a7b043b",
"IsSetAsInput": false,
"IsSetAsOutput": false,
"Name": "Levels",
"ShowGeometry": true,
"Excluded": false,
"X": 267.99944181424758,
"Y": 443.02040509214476
}
],
"Annotations": [],
"X": 68.204982925846366,
"Y": -0.95176396174070987,
"Zoom": 0.8887892282971559
}
}