├── .gitignore
├── LICENSE
├── README.md
├── _package
├── theDAM.zip
└── theDAM
│ ├── extra
│ ├── Categorization
│ │ ├── ExportExternal.dyn
│ │ ├── ImportExternal.dyn
│ │ ├── ReadfromRevit-ElementParameters.dyn
│ │ ├── ReadfromRevit-Levels.dyn
│ │ ├── ReadfromRevit-Parameters.dyn
│ │ ├── ReadfromRevit-Rooms.dyn
│ │ ├── ReadfromRevit-SelectElements.dyn
│ │ ├── ReadfromRevit-Sheets.dyn
│ │ ├── ReadfromRevit-Views.dyn
│ │ ├── ReadfromRevit-Walls.dyn
│ │ ├── WritetoRevit-ElementParameters.dyn
│ │ ├── WritetoRevit-Parameters.dyn
│ │ ├── WritetoRevit-Rooms.dyn
│ │ ├── WritetoRevit-Sheets.dyn
│ │ ├── WritetoRevit-Views.dyn
│ │ └── WritetoRevit-Walls.dyn
│ └── theDAM_ViewExtensionDefinition.xml
│ └── pkg.json
├── _src
├── theDAM.sln
└── theDAM
│ ├── About
│ ├── About.Designer.cs
│ ├── About.cs
│ ├── About.resx
│ ├── DAM-Logo _Small.png
│ └── theD.ico
│ ├── AnalyzeGraphs
│ ├── AnalyzeGraphs.xaml
│ ├── AnalyzeGraphs.xaml.cs
│ └── DAM-Logo _Small.png
│ ├── GraphBrowser
│ ├── GraphBrowser.xaml
│ └── GraphBrowser.xaml.cs
│ ├── NodeDescriptions
│ ├── NodeDescription.cs
│ └── nodedesc.cs
│ ├── Properties
│ ├── AssemblyInfo.cs
│ ├── Resources.Designer.cs
│ └── Resources.resx
│ ├── Utilities
│ └── Utilities.cs
│ ├── packages.config
│ ├── theDAM.csproj
│ ├── theDAMViewExtension.cs
│ └── theDAM_ViewExtensionDefinition.xml
└── resources
├── 20190724-theDAM-Revisions.gif
├── Presentation
├── DAM Hack_V4.pdf
├── Hack in Black Song.txt
├── images
│ ├── DAM-Logo _Small.png
│ ├── DAM-Logo.png
│ ├── designtech_findnodes.PNG
│ ├── theD.ico
│ └── theD.png
├── theDAM Presentation.txt
├── theDAM.mp4
├── theDAM.txt
└── theDAM_presentation.pptx
├── organization_logic
├── Descriptions.txt
├── HumanNodeDefs.xlsx
├── ML test
│ ├── ALIGN_OFFSET_BM_TO_WALL_FINAL.txt
│ ├── ALIGN_OFFSET_FINAL.txt
│ ├── BEAM_AREA_FINAL.txt
│ ├── BEAM_ORIENTATION.txt
│ └── CHANGE_BM_TYPE_FINAL.txt
├── ML training
│ ├── ExportExternal.txt
│ ├── ReadfromRevit-ElementParameters.txt
│ ├── ReadfromRevit-Levels.txt
│ ├── ReadfromRevit-Parameters.txt
│ ├── ReadfromRevit-Rooms.txt
│ ├── ReadfromRevit-SelectElements.txt
│ ├── ReadfromRevit-Sheets.txt
│ ├── ReadfromRevit-Views.txt
│ ├── ReadfromRevit-Walls.txt
│ ├── WritetoRevit-ElementParameters.txt
│ ├── WritetoRevit-Parameters.txt
│ ├── WritetoRevit-Rooms.txt
│ ├── WritetoRevit-Sheets.txt
│ ├── WritetoRevit-Views.txt
│ └── WritetoRevit-Walls.txt
├── ML_test.dyn
├── Names.txt
├── dyn queries
│ ├── ExportExternal.dyn
│ ├── ImportExternal.dyn
│ ├── ReadfromRevit-ElementParameters.dyn
│ ├── ReadfromRevit-Levels.dyn
│ ├── ReadfromRevit-Parameters.dyn
│ ├── ReadfromRevit-Rooms.dyn
│ ├── ReadfromRevit-SelectElements.dyn
│ ├── ReadfromRevit-Sheets.dyn
│ ├── ReadfromRevit-Views.dyn
│ ├── ReadfromRevit-Walls.dyn
│ ├── ReadfromRevit.dyn
│ ├── WritetoRevit-ElementParameters.dyn
│ ├── WritetoRevit-Parameters.dyn
│ ├── WritetoRevit-Rooms.dyn
│ ├── WritetoRevit-Sheets.dyn
│ ├── WritetoRevit-Views.dyn
│ ├── WritetoRevit-Walls.dyn
│ └── WritetoRevit.dyn
└── sorting_logic.docx
└── sampleDynamoGraphs
├── ALIGN_OFFSET_BM_TO_WALL_FINAL.dyn
├── ALIGN_OFFSET_FINAL.dyn
├── AllNodes.dyn
├── BEAMS_AC_LINES.dyn
├── BEAM_AREA_FINAL.dyn
├── BEAM_AREA_START.dyn
├── BEAM_EDGE.dyn
├── BEAM_ORIENTATION.dyn
├── BMDEPTH_START.dyn
├── BOT_OF_PIPE.dyn
├── CANOPY_BEAMS_TO_REVIT_FINAL.dyn
├── CANOPY_BEAMS_TO_REVIT_FINAL_NOW.dyn
├── CANOPY_BEAM_FINAL.dyn
├── CANOPY_PROJECT.dyn
├── CHANGE_BM_TYPE_FINAL.dyn
├── CHANGE_BM_TYPE_LOGIC_FINAL.dyn
├── COL_CENTERLINE_FINAL.dyn
├── CUBIOD.dyn
├── CUBIOD_2_0.dyn
├── CUBIOD_CENTEROFMASS.dyn
├── CUBIOD_EDGE_CURVES.dyn
├── CUBIOD_PTS_AT_VERTICES.dyn
├── CUBIOD_SURFACES_FROM.dyn
├── CUBIOD_SURFACE_AREAS.dyn
├── CUBIOD_VOLUME.dyn
├── CURVE_MULTIPLE_POINTS_AT_PARAMETER.dyn
├── CURVE_OFFSET_DEFAULT_DIR.dyn
├── CURVE_POINT_AT_PARAMETER_START_END.dyn
├── CURVE_START_END_POINTS.dyn
├── DWG_IMPORT_OR_LINK.dyn
├── FIREPROOFING_PIPE_FINAL.dyn
├── FIREPROOFING_PIPE_MID.dyn
├── FIREPROOFING_WIDE_FLANGE_FINAL.dyn
├── FLATFRAMING.dyn
├── GET_SET_PARAMETERS_FINAL.dyn
├── GET_SET_PARAMETERS_LINK_FINAL.dyn
├── GRIDS_FINAL.dyn
├── John
├── 2018-UKDynamoDay_01.1_DynamoPlayer_End.dyn
├── 2018-UKDynamoDay_01.2_DynamoPlayer_End.dyn
├── 2018-UKDynamoDay_01.3_DynamoPlayer_End.dyn
├── 2018-UKDynamoDay_02.1_ListEfficiency_End.dyn
├── 2018-UKDynamoDay_02.2_ListEfficiency_End.dyn
├── 2018-UKDynamoDay_04.1_CustomPackages_End.dyn
├── 2018-UKDynamoDay_04.2_CustomPackages_End.dyn
├── 2018-UKDynamoDay_04.2_CustomPackages_Start.dyn
├── 2018-UKDynamoDay_04.3_CustomPackages_End.dyn
├── 2018-UKDynamoDay_04.4_CustomPackages_End.dyn
├── 2018-UKDynamoDay_05.1_Animation_End.dyn
├── 2018-UKDynamoDay_05.2_Animation_End.dyn
├── 2018-UKDynamoDay_05.3_Animation_End.dyn
├── 2018-UKDynamoDay_05.4_Animation_End.dyn
├── 2018-UKDynamoDay_05.5_BONUS-generativeBIMZ.dyn
├── DynamoLearnTutorial_02_AnatomyOfADefinition.dyn
├── DynamoLearnTutorial_03_DataManagement.dyn
├── DynamoLearnTutorial_04_NestedListManagement.dyn
├── DynamoLearnTutorial_05_ComputationalLogic1.dyn
├── DynamoLearnTutorial_09_CodeBlocks.dyn
├── DynamoLearnTutorial_10_CustomNodes.dyn
├── DynamoLearnTutorial_7_RevitToExcel.dyn
├── DynamoLearnTutorial_8_ExcelToRevit.dyn
├── DynamoLearnTutorial_Column Size Script_Computational Logic II.dyn
└── DynamoLearnTutorial_Getting Started with Dynamo.dyn
├── LEVELS_FINAL.dyn
├── LINE.dyn
├── MESHFAMILYEMBED.dyn
├── NORTH_ARROW.dyn
├── ONE_WAY_BEAM_SLAB_SYSTEM_END.dyn
├── ONE_WAY_BEAM_SLAB_SYSTEM_START.dyn
├── PIPE_TOPO_FINAL.dyn
├── PIPE_TOPO_MID.dyn
├── PIPE_TOPO_START.dyn
├── PIPE_TOPO_threequarters.dyn
├── POINT.dyn
├── PROFILEORDER_FINAL.dyn
├── PROPERTYLINES_3D_FINAL.dyn
├── PROPERTYLINES_3D_MID.dyn
├── PROPERTYLINES_3D_START.dyn
├── PYRAMID.dyn
├── RAMP_AREA_LINK_START.dyn
├── RAMP_AREA_MID.dyn
├── RAMP_AREA_START.dyn
├── REPEATER_LIMIT_300.dyn
├── REVIT_LINE.dyn
├── REVIT_MODEL_LINE.dyn
├── REVIT_POINT.dyn
├── REVIT_WALL_BY_CURVE_AND_HT.dyn
├── REVIT_WALL_BY_CURVE_AND_HT_MULTIPLE.dyn
├── REVIT_WALL_BY_CURVE_AND_LV.dyn
├── REVIT_WALL_BY_FACE_FINAL.dyn
├── SET_TYPE_PARAMETER.dyn
├── SOLID_BY_SURFACE_THICKEN.dyn
├── SOLID_BY_SURFACE_THICKEN1_side.dyn
├── SOLID_BY_SURFACE_THICKEN1_sideNEG.dyn
├── SOLID_SWEEP_PROFILE.dyn
├── STACKING_DIAGRAMS.dyn
├── SURFACE_AREA_ROBOT.dyn
├── SURFACE_BY_CURVE_EXTRUDE.dyn
├── SURFACE_BY_CURVE_OFFSET_DEFAULT_DIR.dyn
├── SURFACE_BY_PATCH_CLOSEDCURVES.dyn
├── SURFACE_MULTIPLE_POINTATPARAMETER_LACE_LONG.dyn
├── SURFACE_MULTIPLE_POINTATPARAMETER_LACE_SHORT.dyn
├── SURFACE_MULTIPLE_POINTATPARAMETER_LIST_AT_LEVEL_L1_U.dyn
├── SURFACE_MULTIPLE_POINTATPARAMETER_LIST_AT_LEVEL_L1_V.dyn
├── SURFACE_NORMAL_AT_PARAMETER55.dyn
├── SURFACE_NORMAL_AT_POINT00.dyn
├── SURFACE_SINGLE_POINTATPARAMETER_00.dyn
├── SURFACE_SINGLE_POINTATPARAMETER_01.dyn
├── SURFACE_SINGLE_POINTATPARAMETER_10.dyn
├── SURFACE_SINGLE_POINTATPARAMETER_11.dyn
├── SURFACE_SINGLE_POINTATPARAMETER_55.dyn
├── SURFACE_UVPARAMETER_AT_POINT55.dyn
├── TEXTNOTETESTING.dyn
├── TEXT_TO_UPPERCASE_PLAN_VIEW_NAMES.dyn
├── TEXT_TO_UPPERCASE_SHEET_NAMES.dyn
├── TEXT_TO_UPPERCASE_TEXT_NOTE.dyn
├── UPPERCASEEXAMPLEROOMS.dyn
├── dwggrid.dyn
├── dynamotoenscapeanalyticalmodel.dyn
├── dynamotoenscapeanalyticalmodel2.dyn
├── dynamotoenscapeanalyticalmodel_final.dyn
├── dynamotoenscapeanalyticalmodel_final_color.dyn
├── dynamotoenscapeanalyticalmodel_final_spheretesting.dyn
├── dynamotoenscapeanalyticalmodel_mid.dyn
├── dynamotoenscapeanalyticalmodel_start.dyn
├── firEPROOFING_w flange.dyn
├── firEPROOFING_working_.dyn
├── firEPROOFING_working_optimize_now_02.dyn
├── firEPROOFING_working_pipe.dyn
├── importeddwgfamilylist.dyn
├── pipe_centerline+and Ocol_and_duct.dyn
├── pipe_centerline.dyn
├── pipe_centerline2.dyn
├── pipe_centerline2true.dyn
├── revvsdyn.dyn
├── true beam curve location.dyn
└── upperupper.dyn
/.gitignore:
--------------------------------------------------------------------------------
1 |
2 | ## Ignore Visual Studio temporary files, build results, and
3 | ## files generated by popular Visual Studio add-ons.
4 |
5 | # User-specific files
6 | *.suo
7 | *.user
8 | *.userosscache
9 | *.sln.docstates
10 |
11 | # User-specific files (MonoDevelop/Xamarin Studio)
12 | *.userprefs
13 |
14 | # Build results
15 | [Dd]ebug/
16 | [Dd]ebugPublic/
17 | [Rr]elease/
18 | [Rr]eleases/
19 | x64/
20 | x86/
21 | bld/
22 | [Bb]in/
23 | [Oo]bj/
24 | [Ll]og/
25 |
26 | # Visual Studio 2015 cache/options directory
27 | .vs/
28 | # Uncomment if you have tasks that create the project's static files in wwwroot
29 | #wwwroot/
30 |
31 | # MSTest test Results
32 | [Tt]est[Rr]esult*/
33 | [Bb]uild[Ll]og.*
34 |
35 | # NUNIT
36 | *.VisualState.xml
37 | TestResult.xml
38 |
39 | # Build Results of an ATL Project
40 | [Dd]ebugPS/
41 | [Rr]eleasePS/
42 | dlldata.c
43 |
44 | # DNX
45 | project.lock.json
46 | artifacts/
47 |
48 | *_i.c
49 | *_p.c
50 | *_i.h
51 | *.ilk
52 | *.meta
53 | *.obj
54 | *.pch
55 | *.pdb
56 | *.pgc
57 | *.pgd
58 | *.rsp
59 | *.sbr
60 | *.tlb
61 | *.tli
62 | *.tlh
63 | *.tmp
64 | *.tmp_proj
65 | *.log
66 | *.vspscc
67 | *.vssscc
68 | .builds
69 | *.pidb
70 | *.svclog
71 | *.scc
72 |
73 | # Chutzpah Test files
74 | _Chutzpah*
75 |
76 | # Visual C++ cache files
77 | ipch/
78 | *.aps
79 | *.ncb
80 | *.opendb
81 | *.opensdf
82 | *.sdf
83 | *.cachefile
84 | *.VC.db
85 | *.VC.VC.opendb
86 |
87 | # Visual Studio profiler
88 | *.psess
89 | *.vsp
90 | *.vspx
91 | *.sap
92 |
93 | # TFS 2012 Local Workspace
94 | $tf/
95 |
96 | # Guidance Automation Toolkit
97 | *.gpState
98 |
99 | # ReSharper is a .NET coding add-in
100 | _ReSharper*/
101 | *.[Rr]e[Ss]harper
102 | *.DotSettings.user
103 |
104 | # JustCode is a .NET coding add-in
105 | .JustCode
106 |
107 | # TeamCity is a build add-in
108 | _TeamCity*
109 |
110 | # DotCover is a Code Coverage Tool
111 | *.dotCover
112 |
113 | # NCrunch
114 | _NCrunch_*
115 | .*crunch*.local.xml
116 | nCrunchTemp_*
117 |
118 | # MightyMoose
119 | *.mm.*
120 | AutoTest.Net/
121 |
122 | # Web workbench (sass)
123 | .sass-cache/
124 |
125 | # Installshield output folder
126 | [Ee]xpress/
127 |
128 | # DocProject is a documentation generator add-in
129 | DocProject/buildhelp/
130 | DocProject/Help/*.HxT
131 | DocProject/Help/*.HxC
132 | DocProject/Help/*.hhc
133 | DocProject/Help/*.hhk
134 | DocProject/Help/*.hhp
135 | DocProject/Help/Html2
136 | DocProject/Help/html
137 |
138 | # Click-Once directory
139 | publish/
140 |
141 | # Publish Web Output
142 | *.[Pp]ublish.xml
143 | *.azurePubxml
144 | # TODO: Comment the next line if you want to checkin your web deploy settings
145 | # but database connection strings (with potential passwords) will be unencrypted
146 | *.pubxml
147 | *.publishproj
148 |
149 | # Microsoft Azure Web App publish settings. Comment the next line if you want to
150 | # checkin your Azure Web App publish settings, but sensitive information contained
151 | # in these scripts will be unencrypted
152 | PublishScripts/
153 |
154 | # NuGet Packages
155 | *.nupkg
156 | # The packages folder can be ignored because of Package Restore
157 | **/packages/*
158 | # except build/, which is used as an MSBuild target.
159 | !**/packages/build/
160 | # Uncomment if necessary however generally it will be regenerated when needed
161 | #!**/packages/repositories.config
162 | # NuGet v3's project.json files produces more ignoreable files
163 | *.nuget.props
164 | *.nuget.targets
165 |
166 | # Microsoft Azure Build Output
167 | csx/
168 | *.build.csdef
169 |
170 | # Microsoft Azure Emulator
171 | ecf/
172 | rcf/
173 |
174 | # Windows Store app package directories and files
175 | AppPackages/
176 | BundleArtifacts/
177 | Package.StoreAssociation.xml
178 | _pkginfo.txt
179 |
180 | # Visual Studio cache files
181 | # files ending in .cache can be ignored
182 | *.[Cc]ache
183 | # but keep track of directories ending in .cache
184 | !*.[Cc]ache/
185 |
186 | # Others
187 | ClientBin/
188 | ~$*
189 | *~
190 | *.dbmdl
191 | *.dbproj.schemaview
192 | *.pfx
193 | *.publishsettings
194 | node_modules/
195 | orleans.codegen.cs
196 |
197 | # Since there are multiple workflows, uncomment next line to ignore bower_components
198 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
199 | #bower_components/
200 |
201 | # RIA/Silverlight projects
202 | Generated_Code/
203 |
204 | # Backup & report files from converting an old project file
205 | # to a newer Visual Studio version. Backup files are not needed,
206 | # because we have git ;-)
207 | _UpgradeReport_Files/
208 | Backup*/
209 | UpgradeLog*.XML
210 | UpgradeLog*.htm
211 |
212 | # SQL Server files
213 | *.mdf
214 | *.ldf
215 |
216 | # Business Intelligence projects
217 | *.rdl.data
218 | *.bim.layout
219 | *.bim_*.settings
220 |
221 | # Microsoft Fakes
222 | FakesAssemblies/
223 |
224 | # GhostDoc plugin setting file
225 | *.GhostDoc.xml
226 |
227 | # Node.js Tools for Visual Studio
228 | .ntvs_analysis.dat
229 |
230 | # Visual Studio 6 build log
231 | *.plg
232 |
233 | # Visual Studio 6 workspace options file
234 | *.opt
235 |
236 | # Visual Studio LightSwitch build output
237 | **/*.HTMLClient/GeneratedArtifacts
238 | **/*.DesktopClient/GeneratedArtifacts
239 | **/*.DesktopClient/ModelManifest.xml
240 | **/*.Server/GeneratedArtifacts
241 | **/*.Server/ModelManifest.xml
242 | _Pvt_Extensions
243 |
244 | # Paket dependency manager
245 | .paket/paket.exe
246 | paket-files/
247 |
248 | # FAKE - F# Make
249 | .fake/
250 |
251 | # JetBrains Rider
252 | .idea/
253 | *.sln.iml
254 |
255 | # =========================
256 | # Operating System Files
257 | # =========================
258 |
259 | # OSX
260 | # =========================
261 |
262 | .DS_Store
263 | .AppleDouble
264 | .LSOverride
265 |
266 | # Thumbnails
267 | ._*
268 |
269 | # Files that might appear in the root of a volume
270 | .DocumentRevisions-V100
271 | .fseventsd
272 | .Spotlight-V100
273 | .TemporaryItems
274 | .Trashes
275 | .VolumeIcon.icns
276 |
277 | # Directories potentially created on remote AFP share
278 | .AppleDB
279 | .AppleDesktop
280 | Network Trash Folder
281 | Temporary Items
282 | .apdisk
283 |
284 | # Windows
285 | # =========================
286 |
287 | # Windows image file caches
288 | Thumbs.db
289 | ehthumbs.db
290 |
291 | # Folder config file
292 | Desktop.ini
293 |
294 | # Recycle Bin used on file shares
295 | $RECYCLE.BIN/
296 |
297 | # Windows Installer files
298 | *.cab
299 | *.msi
300 | *.msm
301 | *.msp
302 |
303 | # Windows shortcuts
304 | *.lnk
305 | *.dll
306 | *.dll
307 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2019 John
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | theDAM for Dynamo
6 |
7 |
8 |
9 | A custom view extension for Dynamo 2.0.
10 |
11 | ## Repository Information
12 | This repository houses the code for the, theDAM View Extension.
13 |
14 | ## Disclaimer
15 | This view extension was made at the DBEIhackathon at BILT North America 2019.
16 |
17 | ## Team
18 | - [Jason Boehning](https://github.com/jboehning)
19 | - [John Pierson](https://github.com/johnpierson)
20 | - [Marcello Sgambelluri](https://github.com/marcellosgamb)
21 | - [Carl Storms](https://github.com/TheBIMsider)
22 | - [Adam Thomas](https://twitter.com/jadamthomas)
23 |
24 | ## In Action
25 |
26 |
27 | ## License
28 | This project is licensed under the [MIT](https://github.com/johnpierson/theDAM/blob/master/LICENSE) License. By using this project you agree to the terms and conditions of the license. A simplified summary of this license is available at [TLDR Legal](https://tldrlegal.com/license/mit-license).
29 |
--------------------------------------------------------------------------------
/_package/theDAM.zip:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/_package/theDAM.zip
--------------------------------------------------------------------------------
/_package/theDAM/extra/Categorization/ReadfromRevit-ElementParameters.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "ReadfromRevit-GetParameters",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Element.GetParameterValueByName@string",
16 | "Id": "50b6d61bc09143a7916b7fa2c4904339",
17 | "Inputs": [
18 | {
19 | "Id": "4976396b86214929bcade39b86bada95",
20 | "Name": "element",
21 | "Description": "Revit.Elements.Element",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "685af6ab80234ae3be890170655a0be9",
29 | "Name": "parameterName",
30 | "Description": "The name of the parameter whose value you want to obtain.\n\nstring",
31 | "UsingDefaultValue": false,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | }
36 | ],
37 | "Outputs": [
38 | {
39 | "Id": "183282d8e1184016940bf092aa6f2efa",
40 | "Name": "var[]..[]",
41 | "Description": "var[]..[]",
42 | "UsingDefaultValue": false,
43 | "Level": 2,
44 | "UseLevels": false,
45 | "KeepListStructure": false
46 | }
47 | ],
48 | "Replication": "Auto",
49 | "Description": "Get the value of one of the element's parameters.\n\nElement.GetParameterValueByName (parameterName: string): var[]..[]"
50 | }
51 | ],
52 | "Connectors": [],
53 | "Dependencies": [],
54 | "Bindings": [],
55 | "View": {
56 | "Dynamo": {
57 | "ScaleFactor": 1.0,
58 | "HasRunWithoutCrash": true,
59 | "IsVisibleInDynamoLibrary": true,
60 | "Version": "2.1.0.7500",
61 | "RunType": "Manual",
62 | "RunPeriod": "1000"
63 | },
64 | "Camera": {
65 | "Name": "Background Preview",
66 | "EyeX": -17.0,
67 | "EyeY": 24.0,
68 | "EyeZ": 50.0,
69 | "LookX": 12.0,
70 | "LookY": -13.0,
71 | "LookZ": -58.0,
72 | "UpX": 0.0,
73 | "UpY": 1.0,
74 | "UpZ": 0.0
75 | },
76 | "NodeViews": [
77 | {
78 | "ShowGeometry": true,
79 | "Name": "Element.GetParameterValueByName",
80 | "Id": "50b6d61bc09143a7916b7fa2c4904339",
81 | "IsSetAsInput": false,
82 | "IsSetAsOutput": false,
83 | "Excluded": true,
84 | "X": 1008.7723168833325,
85 | "Y": -518.99956602556517
86 | }
87 | ],
88 | "Annotations": [],
89 | "X": -3853.08926753333,
90 | "Y": 2248.9982641022607,
91 | "Zoom": 4.0
92 | }
93 | }
--------------------------------------------------------------------------------
/_package/theDAM/extra/Categorization/ReadfromRevit-Levels.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "ReadfromRevit-Levels",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Level.Elevation",
16 | "Id": "42c2a92991ae4f53b77c764363fe52d9",
17 | "Inputs": [
18 | {
19 | "Id": "4ab7deb0a78f437d952ab4bba201dbb2",
20 | "Name": "level",
21 | "Description": "Revit.Elements.Level",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | }
27 | ],
28 | "Outputs": [
29 | {
30 | "Id": "eb9fac7fc06b4b5e81a6a98a9e09e137",
31 | "Name": "double",
32 | "Description": "double",
33 | "UsingDefaultValue": false,
34 | "Level": 2,
35 | "UseLevels": false,
36 | "KeepListStructure": false
37 | }
38 | ],
39 | "Replication": "Auto",
40 | "Description": "The elevation of the level above ground level\n\nLevel.Elevation: double"
41 | },
42 | {
43 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
44 | "NodeType": "FunctionNode",
45 | "FunctionSignature": "Revit.Elements.Level.Name",
46 | "Id": "dcf0f90b63d94023bab5768b776e7d5c",
47 | "Inputs": [
48 | {
49 | "Id": "e132eea72cb54992abe04caaef9cbec8",
50 | "Name": "level",
51 | "Description": "Revit.Elements.Level",
52 | "UsingDefaultValue": false,
53 | "Level": 2,
54 | "UseLevels": false,
55 | "KeepListStructure": false
56 | }
57 | ],
58 | "Outputs": [
59 | {
60 | "Id": "b6d519a8831c40e5a54a1615ee3c2e1b",
61 | "Name": "string",
62 | "Description": "string",
63 | "UsingDefaultValue": false,
64 | "Level": 2,
65 | "UseLevels": false,
66 | "KeepListStructure": false
67 | }
68 | ],
69 | "Replication": "Auto",
70 | "Description": "The name of the level\n\nLevel.Name: string"
71 | },
72 | {
73 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
74 | "NodeType": "FunctionNode",
75 | "FunctionSignature": "Revit.Elements.Level.ProjectElevation",
76 | "Id": "cf4ed53ddd32420bab85a567466e700b",
77 | "Inputs": [
78 | {
79 | "Id": "c2ad50327c4e405283bd5b648c7478f5",
80 | "Name": "level",
81 | "Description": "Revit.Elements.Level",
82 | "UsingDefaultValue": false,
83 | "Level": 2,
84 | "UseLevels": false,
85 | "KeepListStructure": false
86 | }
87 | ],
88 | "Outputs": [
89 | {
90 | "Id": "b65d707ece7048cebe19c41f61c3cdaa",
91 | "Name": "double",
92 | "Description": "double",
93 | "UsingDefaultValue": false,
94 | "Level": 2,
95 | "UseLevels": false,
96 | "KeepListStructure": false
97 | }
98 | ],
99 | "Replication": "Auto",
100 | "Description": "Elevation relative to the Project origin\n\nLevel.ProjectElevation: double"
101 | },
102 | {
103 | "ConcreteType": "DSRevitNodesUI.Levels, DSRevitNodesUI",
104 | "SelectedIndex": -1,
105 | "SelectedString": "",
106 | "NodeType": "ExtensionNode",
107 | "Id": "3d6b869a2bd24d89872da0f6c88d807e",
108 | "Inputs": [],
109 | "Outputs": [
110 | {
111 | "Id": "db428d44baa7422b83198227a288f43b",
112 | "Name": "Levels",
113 | "Description": "The selected Levels",
114 | "UsingDefaultValue": false,
115 | "Level": 2,
116 | "UseLevels": false,
117 | "KeepListStructure": false
118 | }
119 | ],
120 | "Replication": "Disabled",
121 | "Description": "Select a level in the active document"
122 | }
123 | ],
124 | "Connectors": [],
125 | "Dependencies": [],
126 | "Bindings": [],
127 | "View": {
128 | "Dynamo": {
129 | "ScaleFactor": 1.0,
130 | "HasRunWithoutCrash": true,
131 | "IsVisibleInDynamoLibrary": true,
132 | "Version": "2.1.0.7500",
133 | "RunType": "Manual",
134 | "RunPeriod": "1000"
135 | },
136 | "Camera": {
137 | "Name": "Background Preview",
138 | "EyeX": -17.0,
139 | "EyeY": 24.0,
140 | "EyeZ": 50.0,
141 | "LookX": 12.0,
142 | "LookY": -13.0,
143 | "LookZ": -58.0,
144 | "UpX": 0.0,
145 | "UpY": 1.0,
146 | "UpZ": 0.0
147 | },
148 | "NodeViews": [
149 | {
150 | "ShowGeometry": true,
151 | "Name": "Level.Elevation",
152 | "Id": "42c2a92991ae4f53b77c764363fe52d9",
153 | "IsSetAsInput": false,
154 | "IsSetAsOutput": false,
155 | "Excluded": true,
156 | "X": 1359.70855990098,
157 | "Y": -427.38623305443974
158 | },
159 | {
160 | "ShowGeometry": true,
161 | "Name": "Level.Name",
162 | "Id": "dcf0f90b63d94023bab5768b776e7d5c",
163 | "IsSetAsInput": false,
164 | "IsSetAsOutput": false,
165 | "Excluded": true,
166 | "X": 1371.52937175698,
167 | "Y": -331.77094128113072
168 | },
169 | {
170 | "ShowGeometry": true,
171 | "Name": "Level.ProjectElevation",
172 | "Id": "cf4ed53ddd32420bab85a567466e700b",
173 | "IsSetAsInput": false,
174 | "IsSetAsOutput": false,
175 | "Excluded": true,
176 | "X": 1364.26736847256,
177 | "Y": -522.88053483187173
178 | },
179 | {
180 | "ShowGeometry": true,
181 | "Name": "Levels",
182 | "Id": "3d6b869a2bd24d89872da0f6c88d807e",
183 | "IsSetAsInput": false,
184 | "IsSetAsOutput": false,
185 | "Excluded": true,
186 | "X": 1382.0845469551848,
187 | "Y": -223.19358331884712
188 | }
189 | ],
190 | "Annotations": [],
191 | "X": -1999.1481997541368,
192 | "Y": 1001.868723506366,
193 | "Zoom": 1.8586821630659152
194 | }
195 | }
--------------------------------------------------------------------------------
/_package/theDAM/extra/Categorization/ReadfromRevit-Sheets.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "ReadfromRevit-Sheets",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Views.Sheet.SheetName",
16 | "Id": "f854f2c38fb54e36ae9169994c03e672",
17 | "Inputs": [
18 | {
19 | "Id": "ba779440647e443ea4a1bd1f75fee02c",
20 | "Name": "sheet",
21 | "Description": "Revit.Elements.Views.Sheet",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | }
27 | ],
28 | "Outputs": [
29 | {
30 | "Id": "d38533e0798d44b2b4b57954d907bdae",
31 | "Name": "string",
32 | "Description": "string",
33 | "UsingDefaultValue": false,
34 | "Level": 2,
35 | "UseLevels": false,
36 | "KeepListStructure": false
37 | }
38 | ],
39 | "Replication": "Auto",
40 | "Description": "Get the SheetName of the Sheet\n\nSheet.SheetName: string"
41 | },
42 | {
43 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
44 | "NodeType": "FunctionNode",
45 | "FunctionSignature": "Revit.Elements.Views.Sheet.SheetNumber",
46 | "Id": "8edebad129694c749066d1bc39eb4a3f",
47 | "Inputs": [
48 | {
49 | "Id": "6029b9d1c20c4d478c531edda6d2b6f1",
50 | "Name": "sheet",
51 | "Description": "Revit.Elements.Views.Sheet",
52 | "UsingDefaultValue": false,
53 | "Level": 2,
54 | "UseLevels": false,
55 | "KeepListStructure": false
56 | }
57 | ],
58 | "Outputs": [
59 | {
60 | "Id": "758a459fdbee489d834ca230008ec1c2",
61 | "Name": "string",
62 | "Description": "string",
63 | "UsingDefaultValue": false,
64 | "Level": 2,
65 | "UseLevels": false,
66 | "KeepListStructure": false
67 | }
68 | ],
69 | "Replication": "Auto",
70 | "Description": "Get the SheetNumber of the Sheet\n\nSheet.SheetNumber: string"
71 | },
72 | {
73 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
74 | "NodeType": "FunctionNode",
75 | "FunctionSignature": "Revit.Elements.Views.Sheet.Views",
76 | "Id": "6b2635a830e343b28af4ed6389084567",
77 | "Inputs": [
78 | {
79 | "Id": "b5c511bbea9b4059bc0a79c9e0ccbbed",
80 | "Name": "sheet",
81 | "Description": "Revit.Elements.Views.Sheet",
82 | "UsingDefaultValue": false,
83 | "Level": 2,
84 | "UseLevels": false,
85 | "KeepListStructure": false
86 | }
87 | ],
88 | "Outputs": [
89 | {
90 | "Id": "530ccdb549a34bd885935516e806939c",
91 | "Name": "View[]",
92 | "Description": "View[]",
93 | "UsingDefaultValue": false,
94 | "Level": 2,
95 | "UseLevels": false,
96 | "KeepListStructure": false
97 | }
98 | ],
99 | "Replication": "Auto",
100 | "Description": "Get the Views on a Sheet\n\nSheet.Views: View[]"
101 | }
102 | ],
103 | "Connectors": [],
104 | "Dependencies": [],
105 | "Bindings": [],
106 | "View": {
107 | "Dynamo": {
108 | "ScaleFactor": 1.0,
109 | "HasRunWithoutCrash": false,
110 | "IsVisibleInDynamoLibrary": true,
111 | "Version": "2.1.0.7500",
112 | "RunType": "Manual",
113 | "RunPeriod": "1000"
114 | },
115 | "Camera": {
116 | "Name": "Background Preview",
117 | "EyeX": -17.0,
118 | "EyeY": 24.0,
119 | "EyeZ": 50.0,
120 | "LookX": 12.0,
121 | "LookY": -13.0,
122 | "LookZ": -58.0,
123 | "UpX": 0.0,
124 | "UpY": 1.0,
125 | "UpZ": 0.0
126 | },
127 | "NodeViews": [
128 | {
129 | "ShowGeometry": true,
130 | "Name": "Sheet.SheetName",
131 | "Id": "f854f2c38fb54e36ae9169994c03e672",
132 | "IsSetAsInput": false,
133 | "IsSetAsOutput": false,
134 | "Excluded": true,
135 | "X": 2248.9226999402877,
136 | "Y": 352.0381397159025
137 | },
138 | {
139 | "ShowGeometry": true,
140 | "Name": "Sheet.SheetNumber",
141 | "Id": "8edebad129694c749066d1bc39eb4a3f",
142 | "IsSetAsInput": false,
143 | "IsSetAsOutput": false,
144 | "Excluded": true,
145 | "X": 2252.857684832984,
146 | "Y": 253.66351739850268
147 | },
148 | {
149 | "ShowGeometry": true,
150 | "Name": "Sheet.Views",
151 | "Id": "6b2635a830e343b28af4ed6389084567",
152 | "IsSetAsInput": false,
153 | "IsSetAsOutput": false,
154 | "Excluded": true,
155 | "X": 2253.8414310561575,
156 | "Y": 154.30514885792866
157 | }
158 | ],
159 | "Annotations": [],
160 | "X": -5264.477957227833,
161 | "Y": -362.85184613277255,
162 | "Zoom": 2.5459412666422288
163 | }
164 | }
--------------------------------------------------------------------------------
/_package/theDAM/extra/Categorization/ReadfromRevit-Walls.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "ReadfromRevit-Walls",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Wall.ByFace@string,Revit.Elements.WallType,Autodesk.DesignScript.Geometry.Surface",
16 | "Id": "dccad69fbfbb478c865dd123c0b3cb59",
17 | "Inputs": [
18 | {
19 | "Id": "c1bd03be563341ce84cb7d3301a9782f",
20 | "Name": "locationLine",
21 | "Description": "string",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "0d14afe95fb74d04891a288aeca68080",
29 | "Name": "wallType",
30 | "Description": "WallType",
31 | "UsingDefaultValue": false,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | },
36 | {
37 | "Id": "b266252cda5244f5abfbbd596cf35f76",
38 | "Name": "surface",
39 | "Description": "Surface",
40 | "UsingDefaultValue": false,
41 | "Level": 2,
42 | "UseLevels": false,
43 | "KeepListStructure": false
44 | }
45 | ],
46 | "Outputs": [
47 | {
48 | "Id": "bed91bd0943a4adbb6e186146fec7c78",
49 | "Name": "Element",
50 | "Description": "Element",
51 | "UsingDefaultValue": false,
52 | "Level": 2,
53 | "UseLevels": false,
54 | "KeepListStructure": false
55 | }
56 | ],
57 | "Replication": "Auto",
58 | "Description": "Creates a Wall following the geometry of a surface. Walls by Faces cannot be updated, any geometry change will create a new wall and delete the old one.\n\nWall.ByFace (locationLine: string, wallType: WallType, surface: Surface): Element"
59 | },
60 | {
61 | "ConcreteType": "DSRevitNodesUI.WallLocation, DSRevitNodesUI",
62 | "SelectedIndex": -1,
63 | "SelectedString": "",
64 | "NodeType": "ExtensionNode",
65 | "Id": "5668fc486f034b35a628fff40fd383fd",
66 | "Inputs": [],
67 | "Outputs": [
68 | {
69 | "Id": "767beb6c7a0641cfb8aa33a6ce95e166",
70 | "Name": "Wall Location",
71 | "Description": "The selected Wall Location",
72 | "UsingDefaultValue": false,
73 | "Level": 2,
74 | "UseLevels": false,
75 | "KeepListStructure": false
76 | }
77 | ],
78 | "Replication": "Disabled",
79 | "Description": "Wall locations."
80 | },
81 | {
82 | "ConcreteType": "DSRevitNodesUI.WallTypes, DSRevitNodesUI",
83 | "SelectedIndex": -1,
84 | "SelectedString": "",
85 | "NodeType": "ExtensionNode",
86 | "Id": "42a117ee18c2451a989c60f1acdb4a4b",
87 | "Inputs": [],
88 | "Outputs": [
89 | {
90 | "Id": "af82114ef31047ac93982f6be3a4ce62",
91 | "Name": "Wall Type",
92 | "Description": "The selected Wall Type",
93 | "UsingDefaultValue": false,
94 | "Level": 2,
95 | "UseLevels": false,
96 | "KeepListStructure": false
97 | }
98 | ],
99 | "Replication": "Disabled",
100 | "Description": "All wall types available in the document."
101 | }
102 | ],
103 | "Connectors": [],
104 | "Dependencies": [],
105 | "Bindings": [],
106 | "View": {
107 | "Dynamo": {
108 | "ScaleFactor": 1.0,
109 | "HasRunWithoutCrash": false,
110 | "IsVisibleInDynamoLibrary": true,
111 | "Version": "2.1.0.7500",
112 | "RunType": "Manual",
113 | "RunPeriod": "1000"
114 | },
115 | "Camera": {
116 | "Name": "Background Preview",
117 | "EyeX": -17.0,
118 | "EyeY": 24.0,
119 | "EyeZ": 50.0,
120 | "LookX": 12.0,
121 | "LookY": -13.0,
122 | "LookZ": -58.0,
123 | "UpX": 0.0,
124 | "UpY": 1.0,
125 | "UpZ": 0.0
126 | },
127 | "NodeViews": [
128 | {
129 | "ShowGeometry": true,
130 | "Name": "Wall.ByFace",
131 | "Id": "dccad69fbfbb478c865dd123c0b3cb59",
132 | "IsSetAsInput": false,
133 | "IsSetAsOutput": false,
134 | "Excluded": true,
135 | "X": 1926.3884129936109,
136 | "Y": 295.55484424617566
137 | },
138 | {
139 | "ShowGeometry": true,
140 | "Name": "Wall Location",
141 | "Id": "5668fc486f034b35a628fff40fd383fd",
142 | "IsSetAsInput": false,
143 | "IsSetAsOutput": false,
144 | "Excluded": true,
145 | "X": 1940.2757783556517,
146 | "Y": 195.32416638697612
147 | },
148 | {
149 | "ShowGeometry": true,
150 | "Name": "Wall Types",
151 | "Id": "42a117ee18c2451a989c60f1acdb4a4b",
152 | "IsSetAsInput": false,
153 | "IsSetAsOutput": false,
154 | "Excluded": true,
155 | "X": 1976.0179530434575,
156 | "Y": 451.65045604450029
157 | }
158 | ],
159 | "Annotations": [],
160 | "X": -3592.04373091382,
161 | "Y": -380.13096799571809,
162 | "Zoom": 2.0997451343689182
163 | }
164 | }
--------------------------------------------------------------------------------
/_package/theDAM/extra/Categorization/WritetoRevit-ElementParameters.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "WritetoRevit-SetParameters",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Element.SetParameterByName@string,var",
16 | "Id": "b5e3174f3cc344979cbe1c4d14e20fac",
17 | "Inputs": [
18 | {
19 | "Id": "ede282aab2a447189502792ac6373ef7",
20 | "Name": "element",
21 | "Description": "Revit.Elements.Element",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "1abe249e95f34d5ca60c7f95a361d455",
29 | "Name": "parameterName",
30 | "Description": "The name of the parameter to set.\n\nstring",
31 | "UsingDefaultValue": false,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | },
36 | {
37 | "Id": "ff44705484374f82951b1780eeddd74b",
38 | "Name": "value",
39 | "Description": "The value.\n\nvar",
40 | "UsingDefaultValue": false,
41 | "Level": 2,
42 | "UseLevels": false,
43 | "KeepListStructure": false
44 | }
45 | ],
46 | "Outputs": [
47 | {
48 | "Id": "8e67a5c964c44ea7b6f37b48e5de6819",
49 | "Name": "Element",
50 | "Description": "Element",
51 | "UsingDefaultValue": false,
52 | "Level": 2,
53 | "UseLevels": false,
54 | "KeepListStructure": false
55 | }
56 | ],
57 | "Replication": "Auto",
58 | "Description": "Set one of the element's parameters.\n\nElement.SetParameterByName (parameterName: string, value: var): Element"
59 | },
60 | {
61 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
62 | "NodeType": "FunctionNode",
63 | "FunctionSignature": "Revit.Elements.Parameter.SetValue@Revit.Elements.Parameter,var",
64 | "Id": "91cce361e63c4cd48af57e7a5bdfafcf",
65 | "Inputs": [
66 | {
67 | "Id": "a7b25d9e5a0a4d278237537fff90ca83",
68 | "Name": "parameter",
69 | "Description": "Parameter",
70 | "UsingDefaultValue": false,
71 | "Level": 2,
72 | "UseLevels": false,
73 | "KeepListStructure": false
74 | },
75 | {
76 | "Id": "9c95830674394271b545102318080a2a",
77 | "Name": "value",
78 | "Description": "var",
79 | "UsingDefaultValue": false,
80 | "Level": 2,
81 | "UseLevels": false,
82 | "KeepListStructure": false
83 | }
84 | ],
85 | "Outputs": [
86 | {
87 | "Id": "af17e090853b441d93da1401cd1c7d58",
88 | "Name": "void",
89 | "Description": "void",
90 | "UsingDefaultValue": false,
91 | "Level": 2,
92 | "UseLevels": false,
93 | "KeepListStructure": false
94 | }
95 | ],
96 | "Replication": "Auto",
97 | "Description": "Set the value of the parameter\n\nParameter.SetValue (parameter: Parameter, value: var): void"
98 | }
99 | ],
100 | "Connectors": [],
101 | "Dependencies": [],
102 | "Bindings": [],
103 | "View": {
104 | "Dynamo": {
105 | "ScaleFactor": 1.0,
106 | "HasRunWithoutCrash": false,
107 | "IsVisibleInDynamoLibrary": true,
108 | "Version": "2.1.0.7500",
109 | "RunType": "Manual",
110 | "RunPeriod": "1000"
111 | },
112 | "Camera": {
113 | "Name": "Background Preview",
114 | "EyeX": -17.0,
115 | "EyeY": 24.0,
116 | "EyeZ": 50.0,
117 | "LookX": 12.0,
118 | "LookY": -13.0,
119 | "LookZ": -58.0,
120 | "UpX": 0.0,
121 | "UpY": 1.0,
122 | "UpZ": 0.0
123 | },
124 | "NodeViews": [
125 | {
126 | "ShowGeometry": true,
127 | "Name": "Element.SetParameterByName",
128 | "Id": "b5e3174f3cc344979cbe1c4d14e20fac",
129 | "IsSetAsInput": false,
130 | "IsSetAsOutput": false,
131 | "Excluded": true,
132 | "X": 2900.3123973479519,
133 | "Y": -659.50530810813484
134 | },
135 | {
136 | "ShowGeometry": true,
137 | "Name": "Parameter.SetValue",
138 | "Id": "91cce361e63c4cd48af57e7a5bdfafcf",
139 | "IsSetAsInput": false,
140 | "IsSetAsOutput": false,
141 | "Excluded": true,
142 | "X": 2930.5538468726404,
143 | "Y": -478.47354016684682
144 | }
145 | ],
146 | "Annotations": [],
147 | "X": -6767.6204135714815,
148 | "Y": 1654.284653026029,
149 | "Zoom": 2.4628833658450335
150 | }
151 | }
--------------------------------------------------------------------------------
/_package/theDAM/extra/Categorization/WritetoRevit-Sheets.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "WritetoRevit-Sheets",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Views.Sheet.ByNameNumberTitleBlockAndView@string,string,Revit.Elements.FamilyType,Revit.Elements.Views.View",
16 | "Id": "0fcea3e831214deeae8ff01e8c132302",
17 | "Inputs": [
18 | {
19 | "Id": "ccfca141ee4a4b19b46045baa597f5a2",
20 | "Name": "sheetName",
21 | "Description": "Sheet Name as String.\n\nstring",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "c847a60c93bc48e49ec14abe2e79c0e4",
29 | "Name": "sheetNumber",
30 | "Description": "Sheet Number as String.\n\nstring",
31 | "UsingDefaultValue": false,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | },
36 | {
37 | "Id": "e6e0bca8cfa740c29004f075b4c39b11",
38 | "Name": "titleBlockFamilyType",
39 | "Description": "Titleblock that will be assigned to created Sheet.\n\nFamilyType",
40 | "UsingDefaultValue": false,
41 | "Level": 2,
42 | "UseLevels": false,
43 | "KeepListStructure": false
44 | },
45 | {
46 | "Id": "db66229de79a4f5e82a9f997404ecedd",
47 | "Name": "view",
48 | "Description": "Views to be placed on Sheet.\n\nView",
49 | "UsingDefaultValue": false,
50 | "Level": 2,
51 | "UseLevels": false,
52 | "KeepListStructure": false
53 | }
54 | ],
55 | "Outputs": [
56 | {
57 | "Id": "2b2350ce16c2445bbb92d6c412a86285",
58 | "Name": "Sheet",
59 | "Description": "Sheet",
60 | "UsingDefaultValue": false,
61 | "Level": 2,
62 | "UseLevels": false,
63 | "KeepListStructure": false
64 | }
65 | ],
66 | "Replication": "Auto",
67 | "Description": "Create a Revit Sheet by the sheet name, number, a title block FamilyType, and a collection of views. This method will automatically pack the view onto the sheet.\n\nSheet.ByNameNumberTitleBlockAndView (sheetName: string, sheetNumber: string, titleBlockFamilyType: FamilyType, view: View): Sheet"
68 | },
69 | {
70 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
71 | "NodeType": "FunctionNode",
72 | "FunctionSignature": "Revit.Elements.Views.Sheet.ByNameNumberTitleBlockAndViews@string,string,Revit.Elements.FamilyType,Revit.Elements.Views.View[]",
73 | "Id": "b0767bb0d4f5475d8ac16647e35f7804",
74 | "Inputs": [
75 | {
76 | "Id": "ee11fb52c09a4d5aa57c800eec039026",
77 | "Name": "sheetName",
78 | "Description": "Sheet Name as String.\n\nstring",
79 | "UsingDefaultValue": false,
80 | "Level": 2,
81 | "UseLevels": false,
82 | "KeepListStructure": false
83 | },
84 | {
85 | "Id": "bef25dbd89dc424db01305bbe3772a9d",
86 | "Name": "sheetNumber",
87 | "Description": "Sheet Number as String.\n\nstring",
88 | "UsingDefaultValue": false,
89 | "Level": 2,
90 | "UseLevels": false,
91 | "KeepListStructure": false
92 | },
93 | {
94 | "Id": "6da4bf681e06418db76fc3603124920c",
95 | "Name": "titleBlockFamilyType",
96 | "Description": "Titleblock that will be assigned to created Sheet.\n\nFamilyType",
97 | "UsingDefaultValue": false,
98 | "Level": 2,
99 | "UseLevels": false,
100 | "KeepListStructure": false
101 | },
102 | {
103 | "Id": "34749d5fa87c4170aeb5f492a2dc2106",
104 | "Name": "views",
105 | "Description": "Views to be placed on Sheet.\n\nView[]",
106 | "UsingDefaultValue": false,
107 | "Level": 2,
108 | "UseLevels": false,
109 | "KeepListStructure": false
110 | }
111 | ],
112 | "Outputs": [
113 | {
114 | "Id": "b3aeae5cb82d462aa46879b35da1f884",
115 | "Name": "Sheet",
116 | "Description": "Sheet",
117 | "UsingDefaultValue": false,
118 | "Level": 2,
119 | "UseLevels": false,
120 | "KeepListStructure": false
121 | }
122 | ],
123 | "Replication": "Auto",
124 | "Description": "Create a Revit Sheet by the sheet name, number, a title block FamilyType, and a collection of views. This method will automatically pack the views onto the sheet.\n\nSheet.ByNameNumberTitleBlockAndViews (sheetName: string, sheetNumber: string, titleBlockFamilyType: FamilyType, views: View[]): Sheet"
125 | }
126 | ],
127 | "Connectors": [],
128 | "Dependencies": [],
129 | "Bindings": [],
130 | "View": {
131 | "Dynamo": {
132 | "ScaleFactor": 1.0,
133 | "HasRunWithoutCrash": false,
134 | "IsVisibleInDynamoLibrary": true,
135 | "Version": "2.1.0.7500",
136 | "RunType": "Manual",
137 | "RunPeriod": "1000"
138 | },
139 | "Camera": {
140 | "Name": "Background Preview",
141 | "EyeX": -17.0,
142 | "EyeY": 24.0,
143 | "EyeZ": 50.0,
144 | "LookX": 12.0,
145 | "LookY": -13.0,
146 | "LookZ": -58.0,
147 | "UpX": 0.0,
148 | "UpY": 1.0,
149 | "UpZ": 0.0
150 | },
151 | "NodeViews": [
152 | {
153 | "ShowGeometry": true,
154 | "Name": "Sheet.ByNameNumberTitleBlockAndView",
155 | "Id": "0fcea3e831214deeae8ff01e8c132302",
156 | "IsSetAsInput": false,
157 | "IsSetAsOutput": false,
158 | "Excluded": true,
159 | "X": 2874.681709799188,
160 | "Y": 170.58875460288817
161 | },
162 | {
163 | "ShowGeometry": true,
164 | "Name": "Sheet.ByNameNumberTitleBlockAndViews",
165 | "Id": "b0767bb0d4f5475d8ac16647e35f7804",
166 | "IsSetAsInput": false,
167 | "IsSetAsOutput": false,
168 | "Excluded": true,
169 | "X": 2873.3583996266825,
170 | "Y": 341.29576685614865
171 | }
172 | ],
173 | "Annotations": [],
174 | "X": -5765.0446519131146,
175 | "Y": -336.54648121967995,
176 | "Zoom": 2.1487142108104358
177 | }
178 | }
--------------------------------------------------------------------------------
/_package/theDAM/extra/Categorization/WritetoRevit-Walls.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "WritetoRevit-Walls",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Wall.ByCurveAndHeight@Autodesk.DesignScript.Geometry.Curve,double,Revit.Elements.Level,Revit.Elements.WallType",
16 | "Id": "beae8d060eda4bf481c32f18ad8a03eb",
17 | "Inputs": [
18 | {
19 | "Id": "b8db8eb9e999491796e0d4ae8f124928",
20 | "Name": "curve",
21 | "Description": "Curve",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "39f7d113a2b845578d3d1a3c7711746a",
29 | "Name": "height",
30 | "Description": "double",
31 | "UsingDefaultValue": false,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | },
36 | {
37 | "Id": "40a70f5f51cf401c999d4b7edd9df4e5",
38 | "Name": "level",
39 | "Description": "Level",
40 | "UsingDefaultValue": false,
41 | "Level": 2,
42 | "UseLevels": false,
43 | "KeepListStructure": false
44 | },
45 | {
46 | "Id": "4da41d906fdb44939c9e3ec8062dec64",
47 | "Name": "wallType",
48 | "Description": "WallType",
49 | "UsingDefaultValue": false,
50 | "Level": 2,
51 | "UseLevels": false,
52 | "KeepListStructure": false
53 | }
54 | ],
55 | "Outputs": [
56 | {
57 | "Id": "3973bd0731f44423ac30ae120955b57b",
58 | "Name": "Wall",
59 | "Description": "Wall",
60 | "UsingDefaultValue": false,
61 | "Level": 2,
62 | "UseLevels": false,
63 | "KeepListStructure": false
64 | }
65 | ],
66 | "Replication": "Auto",
67 | "Description": "Create a Revit Wall from a guiding Curve, height, Level, and WallType\n\nWall.ByCurveAndHeight (curve: Curve, height: double, level: Level, wallType: WallType): Wall"
68 | },
69 | {
70 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
71 | "NodeType": "FunctionNode",
72 | "FunctionSignature": "Revit.Elements.Wall.ByCurveAndLevels@Autodesk.DesignScript.Geometry.Curve,Revit.Elements.Level,Revit.Elements.Level,Revit.Elements.WallType",
73 | "Id": "53dccb613363435da79f33b702f9a6e8",
74 | "Inputs": [
75 | {
76 | "Id": "465535578cd24d6cad2d0ce235aa33f1",
77 | "Name": "c",
78 | "Description": "Curve",
79 | "UsingDefaultValue": false,
80 | "Level": 2,
81 | "UseLevels": false,
82 | "KeepListStructure": false
83 | },
84 | {
85 | "Id": "0d15e4cb4a3145029b2392816ba282fe",
86 | "Name": "startLevel",
87 | "Description": "Level",
88 | "UsingDefaultValue": false,
89 | "Level": 2,
90 | "UseLevels": false,
91 | "KeepListStructure": false
92 | },
93 | {
94 | "Id": "f0e45f7b6a404f6e9768d1b85959decd",
95 | "Name": "endLevel",
96 | "Description": "Level",
97 | "UsingDefaultValue": false,
98 | "Level": 2,
99 | "UseLevels": false,
100 | "KeepListStructure": false
101 | },
102 | {
103 | "Id": "fe7c9ab23be045549360046ff1807304",
104 | "Name": "wallType",
105 | "Description": "WallType",
106 | "UsingDefaultValue": false,
107 | "Level": 2,
108 | "UseLevels": false,
109 | "KeepListStructure": false
110 | }
111 | ],
112 | "Outputs": [
113 | {
114 | "Id": "d3ce9f5d628b4543a4444f26b9db8d5b",
115 | "Name": "Wall",
116 | "Description": "Wall",
117 | "UsingDefaultValue": false,
118 | "Level": 2,
119 | "UseLevels": false,
120 | "KeepListStructure": false
121 | }
122 | ],
123 | "Replication": "Auto",
124 | "Description": "Create a Revit Wall from a guiding Curve, start Level, end Level, and WallType\n\nWall.ByCurveAndLevels (c: Curve, startLevel: Level, endLevel: Level, wallType: WallType): Wall"
125 | }
126 | ],
127 | "Connectors": [],
128 | "Dependencies": [],
129 | "Bindings": [],
130 | "View": {
131 | "Dynamo": {
132 | "ScaleFactor": 1.0,
133 | "HasRunWithoutCrash": false,
134 | "IsVisibleInDynamoLibrary": true,
135 | "Version": "2.1.0.7500",
136 | "RunType": "Manual",
137 | "RunPeriod": "1000"
138 | },
139 | "Camera": {
140 | "Name": "Background Preview",
141 | "EyeX": -17.0,
142 | "EyeY": 24.0,
143 | "EyeZ": 50.0,
144 | "LookX": 12.0,
145 | "LookY": -13.0,
146 | "LookZ": -58.0,
147 | "UpX": 0.0,
148 | "UpY": 1.0,
149 | "UpZ": 0.0
150 | },
151 | "NodeViews": [
152 | {
153 | "ShowGeometry": true,
154 | "Name": "Wall.ByCurveAndHeight",
155 | "Id": "beae8d060eda4bf481c32f18ad8a03eb",
156 | "IsSetAsInput": false,
157 | "IsSetAsOutput": false,
158 | "Excluded": true,
159 | "X": 3223.0475344917436,
160 | "Y": 79.3292786329439
161 | },
162 | {
163 | "ShowGeometry": true,
164 | "Name": "Wall.ByCurveAndLevels",
165 | "Id": "53dccb613363435da79f33b702f9a6e8",
166 | "IsSetAsInput": false,
167 | "IsSetAsOutput": false,
168 | "Excluded": true,
169 | "X": 3222.8172037851773,
170 | "Y": 267.33489550780541
171 | }
172 | ],
173 | "Annotations": [],
174 | "X": -6076.8359519845835,
175 | "Y": -131.88443115039192,
176 | "Zoom": 2.0406643541967679
177 | }
178 | }
--------------------------------------------------------------------------------
/_package/theDAM/extra/theDAM_ViewExtensionDefinition.xml:
--------------------------------------------------------------------------------
1 |
2 | ..\bin\theDam.dll
3 | theDAM.theDAM
4 |
5 |
--------------------------------------------------------------------------------
/_package/theDAM/pkg.json:
--------------------------------------------------------------------------------
1 | {"license":"","file_hash":null,"name":"theDAM","version":"0.0.1","description":"A view extension to help organize your DYNs","group":"","keywords":null,"dependencies":[],"contents":"","engine_version":"2.1.0.7733","engine":"dynamo","engine_metadata":"","site_url":"","repository_url":"","contains_binaries":true,"node_libraries":[]}
--------------------------------------------------------------------------------
/_src/theDAM.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 15
4 | VisualStudioVersion = 15.0.28307.136
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "theDAM", "theDAM\theDAM.csproj", "{248F588D-090F-4697-97C3-31AA1145C5E4}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {248F588D-090F-4697-97C3-31AA1145C5E4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {248F588D-090F-4697-97C3-31AA1145C5E4}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {248F588D-090F-4697-97C3-31AA1145C5E4}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {248F588D-090F-4697-97C3-31AA1145C5E4}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {A0395ECA-D8D2-49F9-88AE-CDCDEC1A3498}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/_src/theDAM/About/About.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.ComponentModel;
4 | using System.Data;
5 | using System.Drawing;
6 | using System.IO;
7 | using System.Linq;
8 | using System.Reflection;
9 | using System.Text;
10 | using System.Threading.Tasks;
11 | using System.Windows.Forms;
12 |
13 | namespace theDAM.About
14 | {
15 | public partial class About : Form
16 | {
17 | public About()
18 | {
19 | //Version version = Assembly.GetEntryAssembly().GetName().Version;
20 | //this.txtVersion.Text= version.ToString() + "";
21 |
22 | InitializeComponent();
23 | }
24 |
25 | private void linkLabel1_LinkClicked_1(object sender, LinkLabelLinkClickedEventArgs e)
26 | {
27 | // Specify that the link was visited.
28 | this.linkLabel1.LinkVisited = true;
29 |
30 | // Navigate to a URL.
31 | System.Diagnostics.Process.Start("https://github.com/johnpierson/theDAM");
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/_src/theDAM/About/DAM-Logo _Small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/_src/theDAM/About/DAM-Logo _Small.png
--------------------------------------------------------------------------------
/_src/theDAM/About/theD.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/_src/theDAM/About/theD.ico
--------------------------------------------------------------------------------
/_src/theDAM/AnalyzeGraphs/AnalyzeGraphs.xaml:
--------------------------------------------------------------------------------
1 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
--------------------------------------------------------------------------------
/_src/theDAM/AnalyzeGraphs/AnalyzeGraphs.xaml.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Windows;
6 | using System.Windows.Controls;
7 | using System.Windows.Forms;
8 | using Dynamo.Graph.Nodes;
9 | using Dynamo.Graph.Workspaces;
10 | using TextBox = System.Windows.Controls.TextBox;
11 |
12 | namespace theDAM.AnalyzeGraphs
13 | {
14 | ///
15 | /// Interaction logic for AnalyzeGraphs.xaml
16 | ///
17 | public partial class AnalyzeGraphs : Window
18 | {
19 | public class TheDamGraph
20 | {
21 | public WorkspaceModel WorkspaceModel { get; set; }
22 | public string GraphName { get; set; }
23 | public string GraphPurpose { get; set; }
24 | public int NodeCount { get; set; }
25 | public string FilePath { get; set;}
26 | }
27 |
28 | private List _filePaths;
29 | private Dictionary _categoryDictionary = new Dictionary();
30 | public AnalyzeGraphs()
31 | {
32 | LoadCategorizationGraphs();
33 | InitializeComponent();
34 | }
35 |
36 | private void ButtonDirectory_Click(object sender, RoutedEventArgs e)
37 | {
38 | using (var fbd = new FolderBrowserDialog())
39 | {
40 | DialogResult result = fbd.ShowDialog();
41 |
42 | if (result == System.Windows.Forms.DialogResult.OK && !string.IsNullOrWhiteSpace(fbd.SelectedPath))
43 | {
44 | SearchOption searchOption = SearchOption.TopDirectoryOnly;
45 | if (this.CheckBoxSubdirectories.IsChecked.Value)
46 | {
47 | searchOption = SearchOption.AllDirectories;
48 | }
49 |
50 | TextBox.Text = fbd.SelectedPath;
51 |
52 | _filePaths = Directory.EnumerateFiles(fbd.SelectedPath, "*.*", searchOption)
53 | .Where(s => s.EndsWith(".dyn")).ToList();
54 | PackLists();
55 | }
56 | }
57 | }
58 |
59 | private void PackLists()
60 | {
61 | // System.Windows.DataTemplate celltemplate = new DataTemplate(typeof(TextBox));
62 |
63 | //grid view to add the dynamo info to the list
64 | GridView grid = new GridView();
65 | //column to contain graph names
66 | GridViewColumn col0 = new GridViewColumn();
67 | col0.Width = 200;
68 | col0.Header = "Graph Name";
69 | col0.DisplayMemberBinding = new System.Windows.Data.Binding("GraphName");
70 | grid.Columns.Add(col0);
71 | //column to add node counts to
72 | GridViewColumn col1 = new GridViewColumn();
73 | col1.Width = 200;
74 | //col1.CellTemplate = celltemplate;
75 | col1.Header = "Graph Purpose";
76 | col1.DisplayMemberBinding = new System.Windows.Data.Binding("GraphPurpose");
77 | grid.Columns.Add(col1);
78 | //column to add node counts to
79 | GridViewColumn col2 = new GridViewColumn();
80 | col2.Width = 200;
81 | col2.Header = "Node Count";
82 | col2.DisplayMemberBinding = new System.Windows.Data.Binding("NodeCount");
83 | grid.Columns.Add(col2);
84 |
85 | //bind the list view to the grid
86 | this.ListViewDynamoInfo.View = grid;
87 |
88 | //iterate through the file paths to get the info
89 | foreach (string file in _filePaths)
90 | {
91 | WorkspaceModel workspaceModel = Utilities.Utilities.WorkspaceFromJSON(file);
92 |
93 | List graphType = new List();
94 | foreach (NodeModel node in workspaceModel.Nodes)
95 | {
96 | _categoryDictionary.TryGetValue(node.Name, out var returnValue);
97 | if (returnValue != null)
98 | {
99 | graphType.Add(returnValue);
100 | }
101 | }
102 |
103 | this.ListViewDynamoInfo.Items.Add(new TheDamGraph()
104 | {
105 | WorkspaceModel = workspaceModel,
106 | GraphName = workspaceModel.Name,
107 | GraphPurpose = string.Join(", ", graphType.Distinct()),//we join the unique graph purposes in one string
108 | NodeCount = workspaceModel.Nodes.Count(),
109 | FilePath = file,
110 | });
111 |
112 | }
113 | }
114 |
115 |
116 |
117 |
118 | // this method loads the "training data" from the extra folder
119 | private Dictionary LoadCategorizationGraphs()
120 | {
121 | _categoryDictionary.Clear();
122 | string extraPath = theDAM.ExecutingPath.Replace("bin\\theDAM.dll", "extra\\Categorization\\");
123 |
124 | foreach (var dyn in Directory.GetFiles(extraPath))
125 | {
126 | var ws = Utilities.Utilities.WorkspaceFromJSON(dyn);
127 | foreach (NodeModel node in ws.Nodes)
128 | {
129 | try
130 | {
131 | _categoryDictionary.Add(node.Name, ws.Name);
132 | }
133 | catch (Exception)
134 | {
135 | // do nothing
136 | }
137 |
138 | }
139 |
140 | }
141 |
142 | return _categoryDictionary;
143 | }
144 |
145 | private void ButtonSetPurpose_Click(object sender, RoutedEventArgs e)
146 | {
147 | //set the description of the graphs based on our dataz
148 | foreach (TheDamGraph damGraph in this.ListViewDynamoInfo.Items)
149 | {
150 | damGraph.WorkspaceModel.Description = damGraph.GraphPurpose;
151 | damGraph.WorkspaceModel.Save(damGraph.FilePath);
152 | }
153 | }
154 | }
155 | }
156 |
--------------------------------------------------------------------------------
/_src/theDAM/AnalyzeGraphs/DAM-Logo _Small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/_src/theDAM/AnalyzeGraphs/DAM-Logo _Small.png
--------------------------------------------------------------------------------
/_src/theDAM/GraphBrowser/GraphBrowser.xaml:
--------------------------------------------------------------------------------
1 |
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 |
--------------------------------------------------------------------------------
/_src/theDAM/NodeDescriptions/NodeDescription.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace theDAM.NodeDescriptions
8 | {
9 | class NodeDescription
10 | {
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/_src/theDAM/NodeDescriptions/nodedesc.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 | using System.Text;
5 | using System.Threading.Tasks;
6 |
7 | namespace theDAM.NodeDescriptions
8 | {
9 | public class nodedesc
10 | {
11 | public static string myPublicFileName;
12 | public static int GetNODECOUNT()
13 | {
14 | return theDAM.DynView.HomeSpace.Nodes.Count();
15 | }
16 |
17 | public static string[] GetNODEdesc()
18 | {
19 |
20 | int myNodeCount = theDAM.DynView.HomeSpace.Nodes.Count();
21 |
22 | string[] stringArraydesc = new string[myNodeCount];
23 | //create loop herenthru all count
24 | //start..end..step
25 | for (int i = 0; i < myNodeCount; i = i + 1)
26 | {
27 | stringArraydesc[i] = theDAM.DynView.HomeSpace.Nodes.ElementAt(i).Description;
28 | }
29 | return stringArraydesc;
30 |
31 | }
32 |
33 | public static string[] GetNODEName()
34 | {
35 | int myNodeCount = theDAM.DynView.HomeSpace.Nodes.Count();
36 |
37 | myPublicFileName = theDAM.DynView.HomeSpace.FileName;
38 |
39 | string[] stringArrayName = new string[myNodeCount];
40 | //create loop herenthru all count
41 | //start..end..step
42 | for (int i = 0; i < myNodeCount; i = i + 1)
43 | {
44 | stringArrayName[i] = theDAM.DynView.HomeSpace.Nodes.ElementAt(i).Name;
45 | }
46 | return stringArrayName;
47 |
48 | }
49 |
50 | //public static string[] GetNODEIMAGES()
51 | //{
52 |
53 |
54 | // myPublicFileName = theDAM.DynView.HomeSpaceViewModel.
55 |
56 | // string[] stringArrayName = new string[myNodeCount];
57 | // //create loop herenthru all count
58 | // //start..end..step
59 | // for (int i = 0; i < myNodeCount; i = i + 1)
60 | // {
61 | // stringArrayName[i] = theDAM.DynView.HomeSpace.Nodes.ElementAt(i).Name;
62 | // }
63 | // return stringArrayName;
64 |
65 | //}
66 | }
67 | }
68 |
--------------------------------------------------------------------------------
/_src/theDAM/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("theDAM")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("theDAM")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("5CBB82FA-56D1-496A-BD97-3A34EFC525B8")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("0.0.1")]
36 | [assembly: AssemblyFileVersion("0.0.1")]
37 |
--------------------------------------------------------------------------------
/_src/theDAM/Properties/Resources.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace theDAM.Properties {
12 | using System;
13 |
14 |
15 | ///
16 | /// A strongly-typed resource class, for looking up localized strings, etc.
17 | ///
18 | // This class was auto-generated by the StronglyTypedResourceBuilder
19 | // class via a tool like ResGen or Visual Studio.
20 | // To add or remove a member, edit your .ResX file then rerun ResGen
21 | // with the /str option, or rebuild your VS project.
22 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
23 | [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
24 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
25 | internal class Resources {
26 |
27 | private static global::System.Resources.ResourceManager resourceMan;
28 |
29 | private static global::System.Globalization.CultureInfo resourceCulture;
30 |
31 | [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
32 | internal Resources() {
33 | }
34 |
35 | ///
36 | /// Returns the cached ResourceManager instance used by this class.
37 | ///
38 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
39 | internal static global::System.Resources.ResourceManager ResourceManager {
40 | get {
41 | if (object.ReferenceEquals(resourceMan, null)) {
42 | global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("theDAM.Properties.Resources", typeof(Resources).Assembly);
43 | resourceMan = temp;
44 | }
45 | return resourceMan;
46 | }
47 | }
48 |
49 | ///
50 | /// Overrides the current thread's CurrentUICulture property for all
51 | /// resource lookups using this strongly typed resource class.
52 | ///
53 | [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
54 | internal static global::System.Globalization.CultureInfo Culture {
55 | get {
56 | return resourceCulture;
57 | }
58 | set {
59 | resourceCulture = value;
60 | }
61 | }
62 |
63 | ///
64 | /// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
65 | ///
66 | internal static System.Drawing.Icon theD {
67 | get {
68 | object obj = ResourceManager.GetObject("theD", resourceCulture);
69 | return ((System.Drawing.Icon)(obj));
70 | }
71 | }
72 | }
73 | }
74 |
--------------------------------------------------------------------------------
/_src/theDAM/Utilities/Utilities.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.IO;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 | using Dynamo.Graph.Workspaces;
8 |
9 | namespace theDAM.Utilities
10 | {
11 | public static class Utilities
12 | {
13 | public static WorkspaceModel WorkspaceFromJSON(string file)
14 | {
15 | string json = File.ReadAllText(file);
16 | //this amazing little portion constructs a DYN from JSON.
17 | var wm = WorkspaceModel.FromJson(json, theDAM.DynView.Model.LibraryServices,
18 | null,
19 | null,
20 | theDAM.DynView.Model.NodeFactory,
21 | true,
22 | true,
23 | theDAM.DynView.Model.CustomNodeManager);
24 |
25 | return wm;
26 | }
27 | public static bool CaseInsensitiveContains(this string text, string value,
28 | StringComparison stringComparison = StringComparison.OrdinalIgnoreCase)
29 | {
30 | return text.IndexOf(value, stringComparison) >= 0;
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/_src/theDAM/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/_src/theDAM/theDAMViewExtension.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Reflection;
3 | using System.Windows;
4 | using System.Windows.Controls;
5 | using Dynamo.Controls;
6 | using Dynamo.Graph.Workspaces;
7 | using Dynamo.ViewModels;
8 | using Dynamo.Wpf.Extensions;
9 | using theDAM.About;
10 |
11 | namespace theDAM
12 | {
13 | ///
14 | /// The View Extension framework for Dynamo allows you to extend
15 | /// the Dynamo UI by registering custom MenuItems. A ViewExtension has
16 | /// two components, an assembly containing a class that implements
17 | /// IViewExtension, and an ViewExtensionDefintion xml file used to
18 | /// instruct Dynamo where to find the class containing the
19 | /// IViewExtension implementation. The ViewExtensionDefinition xml file must
20 | /// be located in your [dynamo]\viewExtensions folder.
21 | ///
22 | /// This sample demonstrates an IViewExtension implementation which
23 | /// shows a modeless window when its MenuItem is clicked.
24 | /// The Window created tracks the number of nodes in the current workspace,
25 | /// by handling the workspace's NodeAdded and NodeRemoved events.
26 | ///
27 | public class theDAM : IViewExtension
28 | {
29 | private MenuItem _theDamMenuItem;
30 | public static string ExecutingPath;
31 | public void Dispose()
32 | {
33 | }
34 | public static DynamoView view;
35 |
36 |
37 | public void Startup(ViewStartupParams p)
38 | {
39 | }
40 |
41 | public void Loaded(ViewLoadedParams p)
42 | {
43 | //get our executing path for usage throughout
44 | ExecutingPath = Assembly.GetExecutingAssembly().Location;
45 |
46 | // Save a reference to your loaded parameters.
47 | // You'll need these later when you want to use
48 | // the supplied workspaces
49 | // Save a reference to your loaded parameters.
50 | // You'll need these later when you want to use
51 | // the supplied workspaces
52 | view = p.DynamoWindow as DynamoView;
53 | //this is our main menu item
54 | _theDamMenuItem = new MenuItem { Header = "theDAM" };
55 |
56 |
57 |
58 | #region graph Analysis
59 | MenuItem analyzeGraphs = new MenuItem { Header = "Better DYN Browser" };
60 | ////_theDamMenuItem.Items.Add(analyzeGraphs);
61 | //MenuItem analyzegraphPurpose = new MenuItem { Header = "Set Graph Purpose" };
62 | //analyzegraphPurpose.Click += (sender, args) =>
63 | //{
64 | // AnalyzeGraphs.AnalyzeGraphs aGraphs = new AnalyzeGraphs.AnalyzeGraphs();
65 | // aGraphs.Show();
66 | //};
67 | //analyzeGraphs.Items.Add(analyzegraphPurpose);
68 |
69 | MenuItem graphBrowser = new MenuItem { Header = "Browse Graphs" };
70 | graphBrowser.Click += (sender, args) =>
71 | {
72 | GraphBrowser.GraphBrowser graphBrowserWindow = new GraphBrowser.GraphBrowser();
73 | graphBrowserWindow.Show();
74 | };
75 | analyzeGraphs.Items.Add(graphBrowser);
76 | #endregion
77 | #region About
78 | MenuItem about = new MenuItem { Header = "About" };
79 | analyzeGraphs.Items.Add(about);
80 | about.Click += (sender, args) =>
81 | {
82 | About.About aboutDam = new About.About();
83 | aboutDam.Show();
84 | };
85 | #endregion
86 | #region MarcelloPrototyping
87 | //this enables this portion for just marcello
88 | if (Environment.UserName.ToLower().Contains("Marcello"))
89 | {
90 | //this menu now allows a flyout
91 | MenuItem prototyping = new MenuItem { Header = "Prototyping" };
92 | _theDamMenuItem.Items.Add(prototyping);
93 |
94 | MenuItem nodeCount = new MenuItem { Header = "CountNodes" };
95 | nodeCount.Click += (sender, args) =>
96 | {
97 | MessageBox.Show(NodeDescriptions.nodedesc.GetNODECOUNT().ToString());
98 | };
99 | prototyping.Items.Add(nodeCount);
100 |
101 | MenuItem nodeDesciption = new MenuItem { Header = "Node Description" };
102 | nodeDesciption.Click += (sender, args) =>
103 | {
104 | //MessageBox.Show(NodeDescriptions.nodedesc.GetNODEdesc());
105 | string[] my_local_arraydesc = NodeDescriptions.nodedesc.GetNODEdesc();
106 | System.IO.File.WriteAllLines(@"D:\working_revit_organics\dynamo\HACKAthon02\theDAM\Descriptions.txt", my_local_arraydesc);
107 | };
108 | prototyping.Items.Add(nodeDesciption);
109 |
110 |
111 | MenuItem nodeName = new MenuItem { Header = "Node Name" };
112 | nodeName.Click += (sender, args) =>
113 | {
114 |
115 | string[] my_local_arrayName = NodeDescriptions.nodedesc.GetNODEName();
116 | //string totalFileName = @"D:\working_revit_organics\dynamo\HACKAthon02\theDAM\" + NodeDescriptions.nodedesc.myPublicFileName + ".txt";
117 | string totalFileName = @"D:\working_revit_organics\dynamo\HACKAthon02\theDAM\" + "NODE" + ".txt";
118 | System.IO.File.WriteAllLines(totalFileName, my_local_arrayName);
119 | MessageBox.Show(NodeDescriptions.nodedesc.myPublicFileName);
120 | };
121 | prototyping.Items.Add(nodeName);
122 | #endregion
123 | }
124 | p.AddMenuItem(MenuBarType.File, analyzeGraphs,3);
125 | //on its own menu
126 | //p.dynamoMenu.Items.Add(_theDamMenuItem);
127 | }
128 |
129 |
130 |
131 |
132 |
133 | public void Shutdown()
134 | {
135 | }
136 |
137 | internal static void dynView()
138 | {
139 | throw new NotImplementedException();
140 | }
141 |
142 | public string UniqueId
143 | {
144 | get
145 | {
146 | return Guid.NewGuid().ToString();
147 | }
148 | }
149 |
150 | public string Name
151 | {
152 | get
153 | {
154 | return "theDAM View Extension";
155 | }
156 | }
157 | public static DynamoViewModel DynView
158 | {
159 | get { return view.DataContext as DynamoViewModel; }
160 | }
161 | public string[] ListDesc { get; private set; }
162 | }
163 | }
164 |
--------------------------------------------------------------------------------
/_src/theDAM/theDAM_ViewExtensionDefinition.xml:
--------------------------------------------------------------------------------
1 |
2 | ..\bin\theDam.dll
3 | theDam.theDam
4 |
5 |
--------------------------------------------------------------------------------
/resources/20190724-theDAM-Revisions.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/resources/20190724-theDAM-Revisions.gif
--------------------------------------------------------------------------------
/resources/Presentation/DAM Hack_V4.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/resources/Presentation/DAM Hack_V4.pdf
--------------------------------------------------------------------------------
/resources/Presentation/Hack in Black Song.txt:
--------------------------------------------------------------------------------
1 | Hack in black
2 | We hit the snacks
3 | Its been too long time to start this hack
4 | We will let loose
5 | the brain juice
6 | That's kept us going
7 | as we code the duces
8 | the keyboard strokes are gettin' us high
9 | get the shades 'cause the sun hurts the eyes
10 | we've got nine more lines
11 | the code is fine
12 | we hit the sync and github is online
13 |
14 | 'Cause we hack
15 | Yes, we hack
16 | Well, we hack
17 | Yes, we hack
18 | Well, we hack, hack
19 | Well, we hack in black
20 | Yes, we hack in black
21 |
22 | We hack in the back
23 | Of a Cadillac
24 | Number one with a bullet, its a power pack
25 | Yes, with in a bang
26 | we are a gang
27 | They've got to catch us if they want us to hang
28 | 'Cause we're back on the track
29 | And we're beatin' the flack
30 | Nobody's gonna get us on another rap
31 | So look at us now
32 | Makin'DAM for free
33 | So don't be sorting your graphs, just hit the key
34 |
35 | 'Cause we hack
36 | Yes, we hack
37 | Well, we hack
38 | Yes, we hack
39 | Well, we hack, hack
40 | Well, we hack in black
41 | Yes, we hack in black
42 |
43 | Well, we hack, yes we hack
44 | Well, we hack, yes we hack
45 | Well, we hack, hack
46 | Well, we hack in black
47 | Yes, we hack in black
48 |
49 | Ho yeah
50 | Oh yeah
51 | Yes I we are
52 | Oh yeah, yeah oh yeah
53 | Hack it now
54 | Well we hack, we hack
55 | Hack, (we hack)
56 | Hack, (we hack)
57 | Hack, (we hack)
58 | Hack, (we hack)
59 | Hack
60 | Hack in black
61 | Yes yes hack in black
62 | Out of the sight
--------------------------------------------------------------------------------
/resources/Presentation/images/DAM-Logo _Small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/resources/Presentation/images/DAM-Logo _Small.png
--------------------------------------------------------------------------------
/resources/Presentation/images/DAM-Logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/resources/Presentation/images/DAM-Logo.png
--------------------------------------------------------------------------------
/resources/Presentation/images/designtech_findnodes.PNG:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/resources/Presentation/images/designtech_findnodes.PNG
--------------------------------------------------------------------------------
/resources/Presentation/images/theD.ico:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/resources/Presentation/images/theD.ico
--------------------------------------------------------------------------------
/resources/Presentation/images/theD.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/resources/Presentation/images/theD.png
--------------------------------------------------------------------------------
/resources/Presentation/theDAM Presentation.txt:
--------------------------------------------------------------------------------
1 | Presentatrion download from Dropbox
2 |
3 | https://www.dropbox.com/sh/szt3nd7nk2j54k6/AAD7jUMNtl5Obv_8pNleE6Dva?dl=0
4 |
5 | DAM Hack V3
--------------------------------------------------------------------------------
/resources/Presentation/theDAM.mp4:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/resources/Presentation/theDAM.mp4
--------------------------------------------------------------------------------
/resources/Presentation/theDAM.txt:
--------------------------------------------------------------------------------
1 | See github
2 | https://github.com/johnpierson/theDAM
--------------------------------------------------------------------------------
/resources/Presentation/theDAM_presentation.pptx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/resources/Presentation/theDAM_presentation.pptx
--------------------------------------------------------------------------------
/resources/organization_logic/HumanNodeDefs.xlsx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/resources/organization_logic/HumanNodeDefs.xlsx
--------------------------------------------------------------------------------
/resources/organization_logic/ML test/ALIGN_OFFSET_BM_TO_WALL_FINAL.txt:
--------------------------------------------------------------------------------
1 | Select Model Element
2 | Select Model Element
3 | Element.Solids
4 | Geometry.Explode
5 | Code Block
6 | List.Flatten
7 | Surface.PointAtParameter
8 | Code Block
9 | Code Block
10 | Surface.PointAtParameter
11 | Code Block
12 | Code Block
13 | Line.ByStartPointEndPoint
14 | Element.SetLocation
15 | StructuralFraming.Location
16 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML test/ALIGN_OFFSET_FINAL.txt:
--------------------------------------------------------------------------------
1 | Select Model Element
2 | Select Edge
3 | Element.SetLocation
4 | Curve.Offset
5 | Integer Slider
6 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML test/BEAM_AREA_FINAL.txt:
--------------------------------------------------------------------------------
1 | Element.Solids
2 | Solid.Area
3 | All Elements of Family Type
4 | Family Types
5 | Math.Sum
6 | List.Flatten
7 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML test/BEAM_ORIENTATION.txt:
--------------------------------------------------------------------------------
1 | Select Face
2 | Family Types
3 | AdaptiveComponent.ByParametersOnFace
4 | Code Block
5 | Code Block
6 | UV.ByCoordinates
7 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML test/CHANGE_BM_TYPE_FINAL.txt:
--------------------------------------------------------------------------------
1 | Element.SetParameterByName
2 | Structural Framing Types
3 | Code Block
4 | Element.GetParameterValueByName
5 | Code Block
6 | Code Block
7 | Categories
8 | All Elements of Category
9 | Math.Ceiling
10 | If
11 | Code Block
12 | Structural Framing Types
13 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/ExportExternal.txt:
--------------------------------------------------------------------------------
1 | Data.ExportCSV
2 | Data.ExportExcel
3 | FileSystem.WriteText
4 | FileSystem.DeleteFile
5 | FileSystem.DeleteDirectory
6 | Image.WriteToFile
7 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/ReadfromRevit-ElementParameters.txt:
--------------------------------------------------------------------------------
1 | Element.GetParameterValueByName
2 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/ReadfromRevit-Levels.txt:
--------------------------------------------------------------------------------
1 | Level.Elevation
2 | Level.Name
3 | Level.ProjectElevation
4 | Levels
5 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/ReadfromRevit-Parameters.txt:
--------------------------------------------------------------------------------
1 | Parameter.Group
2 | Parameter.HasValue
3 | Parameter.Id
4 | Parameter.IsReadOnly
5 | Parameter.IsShared
6 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/ReadfromRevit-Rooms.txt:
--------------------------------------------------------------------------------
1 | Room.Area
2 | Room.CenterBoundary
3 | Room.CoreBoundary
4 | Room.CoreCenterBoundary
5 | Room.FinishBoundary
6 | Room.Height
7 | Room.Location
8 | Room.Name
9 | Room.Number
10 | Room.Volume
11 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/ReadfromRevit-SelectElements.txt:
--------------------------------------------------------------------------------
1 | Categories
2 | All Elements of Category
3 | Element Types
4 | All Elements of Type
5 | Family Types
6 | All Elements of Family Type
7 | Select Model Element
8 | Select Model Elements
9 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/ReadfromRevit-Sheets.txt:
--------------------------------------------------------------------------------
1 | Sheet.SheetName
2 | Sheet.SheetNumber
3 | Sheet.Views
4 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/ReadfromRevit-Views.txt:
--------------------------------------------------------------------------------
1 | Views
2 | All Elements In Active View
3 | View.FilterOverrides
4 | View.IsViewTemplate
5 | View.Filters
6 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/ReadfromRevit-Walls.txt:
--------------------------------------------------------------------------------
1 | Wall.ByFace
2 | Wall Location
3 | Wall Types
4 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/WritetoRevit-ElementParameters.txt:
--------------------------------------------------------------------------------
1 | Element.SetParameterByName
2 | Parameter.SetValue
3 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/WritetoRevit-Parameters.txt:
--------------------------------------------------------------------------------
1 | Parameter.ParameterByName
2 | Parameter.CreateProjectParameter
3 | Parameter.CreateProjectParameterForAllCategories
4 | Parameter.CreateSharedParameter
5 | Parameter.CreateSharedParameterForAllCategories
6 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/WritetoRevit-Rooms.txt:
--------------------------------------------------------------------------------
1 | Room.SetName
2 | Room.SetNumber
3 | Room.ByLocation
4 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/WritetoRevit-Sheets.txt:
--------------------------------------------------------------------------------
1 | Sheet.ByNameNumberTitleBlockAndView
2 | Sheet.ByNameNumberTitleBlockAndViews
3 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/WritetoRevit-Views.txt:
--------------------------------------------------------------------------------
1 | AreaPlanView.ByLevelAndAreaScheme
2 | AxonometricView.ByEyePointAndTarget
3 | AxonometricView.ByEyePointTargetAndBoundingBox
4 | AxonometricView.ByEyePointTargetAndElement
5 | CeilingPlanView.ByLevel
6 | DraftingView.ByName
7 | FloorPlanView.ByLevel
8 | PerspectiveView.ByEyePointAndTarget
9 | PerspectiveView.ByEyePointTargetAndBoundingBox
10 | PerspectiveView.ByEyePointTargetAndElement
11 | SectionView.ByBoundingBox
12 | SectionView.ByCoordinateSystemMinPointMaxPoint
13 | StructuralPlanView.ByLevel
14 | View3D.CreateUniqueViewName
15 | View.AddFilter
16 | View.SetCategoryOverrides
17 | View.SetFilterOverrides
18 | View.SetScale
19 |
--------------------------------------------------------------------------------
/resources/organization_logic/ML training/WritetoRevit-Walls.txt:
--------------------------------------------------------------------------------
1 | Wall.ByCurveAndHeight
2 | Wall.ByCurveAndLevels
3 |
--------------------------------------------------------------------------------
/resources/organization_logic/dyn queries/ReadfromRevit-ElementParameters.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "ReadfromRevit-GetParameters",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Element.GetParameterValueByName@string",
16 | "Id": "50b6d61bc09143a7916b7fa2c4904339",
17 | "Inputs": [
18 | {
19 | "Id": "4976396b86214929bcade39b86bada95",
20 | "Name": "element",
21 | "Description": "Revit.Elements.Element",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "685af6ab80234ae3be890170655a0be9",
29 | "Name": "parameterName",
30 | "Description": "The name of the parameter whose value you want to obtain.\n\nstring",
31 | "UsingDefaultValue": false,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | }
36 | ],
37 | "Outputs": [
38 | {
39 | "Id": "183282d8e1184016940bf092aa6f2efa",
40 | "Name": "var[]..[]",
41 | "Description": "var[]..[]",
42 | "UsingDefaultValue": false,
43 | "Level": 2,
44 | "UseLevels": false,
45 | "KeepListStructure": false
46 | }
47 | ],
48 | "Replication": "Auto",
49 | "Description": "Get the value of one of the element's parameters.\n\nElement.GetParameterValueByName (parameterName: string): var[]..[]"
50 | }
51 | ],
52 | "Connectors": [],
53 | "Dependencies": [],
54 | "Bindings": [],
55 | "View": {
56 | "Dynamo": {
57 | "ScaleFactor": 1.0,
58 | "HasRunWithoutCrash": true,
59 | "IsVisibleInDynamoLibrary": true,
60 | "Version": "2.1.0.7500",
61 | "RunType": "Manual",
62 | "RunPeriod": "1000"
63 | },
64 | "Camera": {
65 | "Name": "Background Preview",
66 | "EyeX": -17.0,
67 | "EyeY": 24.0,
68 | "EyeZ": 50.0,
69 | "LookX": 12.0,
70 | "LookY": -13.0,
71 | "LookZ": -58.0,
72 | "UpX": 0.0,
73 | "UpY": 1.0,
74 | "UpZ": 0.0
75 | },
76 | "NodeViews": [
77 | {
78 | "ShowGeometry": true,
79 | "Name": "Element.GetParameterValueByName",
80 | "Id": "50b6d61bc09143a7916b7fa2c4904339",
81 | "IsSetAsInput": false,
82 | "IsSetAsOutput": false,
83 | "Excluded": true,
84 | "X": 1008.7723168833325,
85 | "Y": -518.99956602556517
86 | }
87 | ],
88 | "Annotations": [],
89 | "X": -3853.08926753333,
90 | "Y": 2248.9982641022607,
91 | "Zoom": 4.0
92 | }
93 | }
--------------------------------------------------------------------------------
/resources/organization_logic/dyn queries/ReadfromRevit-Levels.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "ReadfromRevit-Levels",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Level.Elevation",
16 | "Id": "42c2a92991ae4f53b77c764363fe52d9",
17 | "Inputs": [
18 | {
19 | "Id": "4ab7deb0a78f437d952ab4bba201dbb2",
20 | "Name": "level",
21 | "Description": "Revit.Elements.Level",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | }
27 | ],
28 | "Outputs": [
29 | {
30 | "Id": "eb9fac7fc06b4b5e81a6a98a9e09e137",
31 | "Name": "double",
32 | "Description": "double",
33 | "UsingDefaultValue": false,
34 | "Level": 2,
35 | "UseLevels": false,
36 | "KeepListStructure": false
37 | }
38 | ],
39 | "Replication": "Auto",
40 | "Description": "The elevation of the level above ground level\n\nLevel.Elevation: double"
41 | },
42 | {
43 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
44 | "NodeType": "FunctionNode",
45 | "FunctionSignature": "Revit.Elements.Level.Name",
46 | "Id": "dcf0f90b63d94023bab5768b776e7d5c",
47 | "Inputs": [
48 | {
49 | "Id": "e132eea72cb54992abe04caaef9cbec8",
50 | "Name": "level",
51 | "Description": "Revit.Elements.Level",
52 | "UsingDefaultValue": false,
53 | "Level": 2,
54 | "UseLevels": false,
55 | "KeepListStructure": false
56 | }
57 | ],
58 | "Outputs": [
59 | {
60 | "Id": "b6d519a8831c40e5a54a1615ee3c2e1b",
61 | "Name": "string",
62 | "Description": "string",
63 | "UsingDefaultValue": false,
64 | "Level": 2,
65 | "UseLevels": false,
66 | "KeepListStructure": false
67 | }
68 | ],
69 | "Replication": "Auto",
70 | "Description": "The name of the level\n\nLevel.Name: string"
71 | },
72 | {
73 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
74 | "NodeType": "FunctionNode",
75 | "FunctionSignature": "Revit.Elements.Level.ProjectElevation",
76 | "Id": "cf4ed53ddd32420bab85a567466e700b",
77 | "Inputs": [
78 | {
79 | "Id": "c2ad50327c4e405283bd5b648c7478f5",
80 | "Name": "level",
81 | "Description": "Revit.Elements.Level",
82 | "UsingDefaultValue": false,
83 | "Level": 2,
84 | "UseLevels": false,
85 | "KeepListStructure": false
86 | }
87 | ],
88 | "Outputs": [
89 | {
90 | "Id": "b65d707ece7048cebe19c41f61c3cdaa",
91 | "Name": "double",
92 | "Description": "double",
93 | "UsingDefaultValue": false,
94 | "Level": 2,
95 | "UseLevels": false,
96 | "KeepListStructure": false
97 | }
98 | ],
99 | "Replication": "Auto",
100 | "Description": "Elevation relative to the Project origin\n\nLevel.ProjectElevation: double"
101 | },
102 | {
103 | "ConcreteType": "DSRevitNodesUI.Levels, DSRevitNodesUI",
104 | "SelectedIndex": -1,
105 | "SelectedString": "",
106 | "NodeType": "ExtensionNode",
107 | "Id": "3d6b869a2bd24d89872da0f6c88d807e",
108 | "Inputs": [],
109 | "Outputs": [
110 | {
111 | "Id": "db428d44baa7422b83198227a288f43b",
112 | "Name": "Levels",
113 | "Description": "The selected Levels",
114 | "UsingDefaultValue": false,
115 | "Level": 2,
116 | "UseLevels": false,
117 | "KeepListStructure": false
118 | }
119 | ],
120 | "Replication": "Disabled",
121 | "Description": "Select a level in the active document"
122 | }
123 | ],
124 | "Connectors": [],
125 | "Dependencies": [],
126 | "Bindings": [],
127 | "View": {
128 | "Dynamo": {
129 | "ScaleFactor": 1.0,
130 | "HasRunWithoutCrash": true,
131 | "IsVisibleInDynamoLibrary": true,
132 | "Version": "2.1.0.7500",
133 | "RunType": "Manual",
134 | "RunPeriod": "1000"
135 | },
136 | "Camera": {
137 | "Name": "Background Preview",
138 | "EyeX": -17.0,
139 | "EyeY": 24.0,
140 | "EyeZ": 50.0,
141 | "LookX": 12.0,
142 | "LookY": -13.0,
143 | "LookZ": -58.0,
144 | "UpX": 0.0,
145 | "UpY": 1.0,
146 | "UpZ": 0.0
147 | },
148 | "NodeViews": [
149 | {
150 | "ShowGeometry": true,
151 | "Name": "Level.Elevation",
152 | "Id": "42c2a92991ae4f53b77c764363fe52d9",
153 | "IsSetAsInput": false,
154 | "IsSetAsOutput": false,
155 | "Excluded": true,
156 | "X": 1359.70855990098,
157 | "Y": -427.38623305443974
158 | },
159 | {
160 | "ShowGeometry": true,
161 | "Name": "Level.Name",
162 | "Id": "dcf0f90b63d94023bab5768b776e7d5c",
163 | "IsSetAsInput": false,
164 | "IsSetAsOutput": false,
165 | "Excluded": true,
166 | "X": 1371.52937175698,
167 | "Y": -331.77094128113072
168 | },
169 | {
170 | "ShowGeometry": true,
171 | "Name": "Level.ProjectElevation",
172 | "Id": "cf4ed53ddd32420bab85a567466e700b",
173 | "IsSetAsInput": false,
174 | "IsSetAsOutput": false,
175 | "Excluded": true,
176 | "X": 1364.26736847256,
177 | "Y": -522.88053483187173
178 | },
179 | {
180 | "ShowGeometry": true,
181 | "Name": "Levels",
182 | "Id": "3d6b869a2bd24d89872da0f6c88d807e",
183 | "IsSetAsInput": false,
184 | "IsSetAsOutput": false,
185 | "Excluded": true,
186 | "X": 1382.0845469551848,
187 | "Y": -223.19358331884712
188 | }
189 | ],
190 | "Annotations": [],
191 | "X": -1999.1481997541368,
192 | "Y": 1001.868723506366,
193 | "Zoom": 1.8586821630659152
194 | }
195 | }
--------------------------------------------------------------------------------
/resources/organization_logic/dyn queries/ReadfromRevit-Sheets.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "ReadfromRevit-Sheets",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Views.Sheet.SheetName",
16 | "Id": "f854f2c38fb54e36ae9169994c03e672",
17 | "Inputs": [
18 | {
19 | "Id": "ba779440647e443ea4a1bd1f75fee02c",
20 | "Name": "sheet",
21 | "Description": "Revit.Elements.Views.Sheet",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | }
27 | ],
28 | "Outputs": [
29 | {
30 | "Id": "d38533e0798d44b2b4b57954d907bdae",
31 | "Name": "string",
32 | "Description": "string",
33 | "UsingDefaultValue": false,
34 | "Level": 2,
35 | "UseLevels": false,
36 | "KeepListStructure": false
37 | }
38 | ],
39 | "Replication": "Auto",
40 | "Description": "Get the SheetName of the Sheet\n\nSheet.SheetName: string"
41 | },
42 | {
43 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
44 | "NodeType": "FunctionNode",
45 | "FunctionSignature": "Revit.Elements.Views.Sheet.SheetNumber",
46 | "Id": "8edebad129694c749066d1bc39eb4a3f",
47 | "Inputs": [
48 | {
49 | "Id": "6029b9d1c20c4d478c531edda6d2b6f1",
50 | "Name": "sheet",
51 | "Description": "Revit.Elements.Views.Sheet",
52 | "UsingDefaultValue": false,
53 | "Level": 2,
54 | "UseLevels": false,
55 | "KeepListStructure": false
56 | }
57 | ],
58 | "Outputs": [
59 | {
60 | "Id": "758a459fdbee489d834ca230008ec1c2",
61 | "Name": "string",
62 | "Description": "string",
63 | "UsingDefaultValue": false,
64 | "Level": 2,
65 | "UseLevels": false,
66 | "KeepListStructure": false
67 | }
68 | ],
69 | "Replication": "Auto",
70 | "Description": "Get the SheetNumber of the Sheet\n\nSheet.SheetNumber: string"
71 | },
72 | {
73 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
74 | "NodeType": "FunctionNode",
75 | "FunctionSignature": "Revit.Elements.Views.Sheet.Views",
76 | "Id": "6b2635a830e343b28af4ed6389084567",
77 | "Inputs": [
78 | {
79 | "Id": "b5c511bbea9b4059bc0a79c9e0ccbbed",
80 | "Name": "sheet",
81 | "Description": "Revit.Elements.Views.Sheet",
82 | "UsingDefaultValue": false,
83 | "Level": 2,
84 | "UseLevels": false,
85 | "KeepListStructure": false
86 | }
87 | ],
88 | "Outputs": [
89 | {
90 | "Id": "530ccdb549a34bd885935516e806939c",
91 | "Name": "View[]",
92 | "Description": "View[]",
93 | "UsingDefaultValue": false,
94 | "Level": 2,
95 | "UseLevels": false,
96 | "KeepListStructure": false
97 | }
98 | ],
99 | "Replication": "Auto",
100 | "Description": "Get the Views on a Sheet\n\nSheet.Views: View[]"
101 | }
102 | ],
103 | "Connectors": [],
104 | "Dependencies": [],
105 | "Bindings": [],
106 | "View": {
107 | "Dynamo": {
108 | "ScaleFactor": 1.0,
109 | "HasRunWithoutCrash": false,
110 | "IsVisibleInDynamoLibrary": true,
111 | "Version": "2.1.0.7500",
112 | "RunType": "Manual",
113 | "RunPeriod": "1000"
114 | },
115 | "Camera": {
116 | "Name": "Background Preview",
117 | "EyeX": -17.0,
118 | "EyeY": 24.0,
119 | "EyeZ": 50.0,
120 | "LookX": 12.0,
121 | "LookY": -13.0,
122 | "LookZ": -58.0,
123 | "UpX": 0.0,
124 | "UpY": 1.0,
125 | "UpZ": 0.0
126 | },
127 | "NodeViews": [
128 | {
129 | "ShowGeometry": true,
130 | "Name": "Sheet.SheetName",
131 | "Id": "f854f2c38fb54e36ae9169994c03e672",
132 | "IsSetAsInput": false,
133 | "IsSetAsOutput": false,
134 | "Excluded": true,
135 | "X": 2248.9226999402877,
136 | "Y": 352.0381397159025
137 | },
138 | {
139 | "ShowGeometry": true,
140 | "Name": "Sheet.SheetNumber",
141 | "Id": "8edebad129694c749066d1bc39eb4a3f",
142 | "IsSetAsInput": false,
143 | "IsSetAsOutput": false,
144 | "Excluded": true,
145 | "X": 2252.857684832984,
146 | "Y": 253.66351739850268
147 | },
148 | {
149 | "ShowGeometry": true,
150 | "Name": "Sheet.Views",
151 | "Id": "6b2635a830e343b28af4ed6389084567",
152 | "IsSetAsInput": false,
153 | "IsSetAsOutput": false,
154 | "Excluded": true,
155 | "X": 2253.8414310561575,
156 | "Y": 154.30514885792866
157 | }
158 | ],
159 | "Annotations": [],
160 | "X": -5264.477957227833,
161 | "Y": -362.85184613277255,
162 | "Zoom": 2.5459412666422288
163 | }
164 | }
--------------------------------------------------------------------------------
/resources/organization_logic/dyn queries/ReadfromRevit-Walls.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "ReadfromRevit-Walls",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Wall.ByFace@string,Revit.Elements.WallType,Autodesk.DesignScript.Geometry.Surface",
16 | "Id": "dccad69fbfbb478c865dd123c0b3cb59",
17 | "Inputs": [
18 | {
19 | "Id": "c1bd03be563341ce84cb7d3301a9782f",
20 | "Name": "locationLine",
21 | "Description": "string",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "0d14afe95fb74d04891a288aeca68080",
29 | "Name": "wallType",
30 | "Description": "WallType",
31 | "UsingDefaultValue": false,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | },
36 | {
37 | "Id": "b266252cda5244f5abfbbd596cf35f76",
38 | "Name": "surface",
39 | "Description": "Surface",
40 | "UsingDefaultValue": false,
41 | "Level": 2,
42 | "UseLevels": false,
43 | "KeepListStructure": false
44 | }
45 | ],
46 | "Outputs": [
47 | {
48 | "Id": "bed91bd0943a4adbb6e186146fec7c78",
49 | "Name": "Element",
50 | "Description": "Element",
51 | "UsingDefaultValue": false,
52 | "Level": 2,
53 | "UseLevels": false,
54 | "KeepListStructure": false
55 | }
56 | ],
57 | "Replication": "Auto",
58 | "Description": "Creates a Wall following the geometry of a surface. Walls by Faces cannot be updated, any geometry change will create a new wall and delete the old one.\n\nWall.ByFace (locationLine: string, wallType: WallType, surface: Surface): Element"
59 | },
60 | {
61 | "ConcreteType": "DSRevitNodesUI.WallLocation, DSRevitNodesUI",
62 | "SelectedIndex": -1,
63 | "SelectedString": "",
64 | "NodeType": "ExtensionNode",
65 | "Id": "5668fc486f034b35a628fff40fd383fd",
66 | "Inputs": [],
67 | "Outputs": [
68 | {
69 | "Id": "767beb6c7a0641cfb8aa33a6ce95e166",
70 | "Name": "Wall Location",
71 | "Description": "The selected Wall Location",
72 | "UsingDefaultValue": false,
73 | "Level": 2,
74 | "UseLevels": false,
75 | "KeepListStructure": false
76 | }
77 | ],
78 | "Replication": "Disabled",
79 | "Description": "Wall locations."
80 | },
81 | {
82 | "ConcreteType": "DSRevitNodesUI.WallTypes, DSRevitNodesUI",
83 | "SelectedIndex": -1,
84 | "SelectedString": "",
85 | "NodeType": "ExtensionNode",
86 | "Id": "42a117ee18c2451a989c60f1acdb4a4b",
87 | "Inputs": [],
88 | "Outputs": [
89 | {
90 | "Id": "af82114ef31047ac93982f6be3a4ce62",
91 | "Name": "Wall Type",
92 | "Description": "The selected Wall Type",
93 | "UsingDefaultValue": false,
94 | "Level": 2,
95 | "UseLevels": false,
96 | "KeepListStructure": false
97 | }
98 | ],
99 | "Replication": "Disabled",
100 | "Description": "All wall types available in the document."
101 | }
102 | ],
103 | "Connectors": [],
104 | "Dependencies": [],
105 | "Bindings": [],
106 | "View": {
107 | "Dynamo": {
108 | "ScaleFactor": 1.0,
109 | "HasRunWithoutCrash": false,
110 | "IsVisibleInDynamoLibrary": true,
111 | "Version": "2.1.0.7500",
112 | "RunType": "Manual",
113 | "RunPeriod": "1000"
114 | },
115 | "Camera": {
116 | "Name": "Background Preview",
117 | "EyeX": -17.0,
118 | "EyeY": 24.0,
119 | "EyeZ": 50.0,
120 | "LookX": 12.0,
121 | "LookY": -13.0,
122 | "LookZ": -58.0,
123 | "UpX": 0.0,
124 | "UpY": 1.0,
125 | "UpZ": 0.0
126 | },
127 | "NodeViews": [
128 | {
129 | "ShowGeometry": true,
130 | "Name": "Wall.ByFace",
131 | "Id": "dccad69fbfbb478c865dd123c0b3cb59",
132 | "IsSetAsInput": false,
133 | "IsSetAsOutput": false,
134 | "Excluded": true,
135 | "X": 1926.3884129936109,
136 | "Y": 295.55484424617566
137 | },
138 | {
139 | "ShowGeometry": true,
140 | "Name": "Wall Location",
141 | "Id": "5668fc486f034b35a628fff40fd383fd",
142 | "IsSetAsInput": false,
143 | "IsSetAsOutput": false,
144 | "Excluded": true,
145 | "X": 1940.2757783556517,
146 | "Y": 195.32416638697612
147 | },
148 | {
149 | "ShowGeometry": true,
150 | "Name": "Wall Types",
151 | "Id": "42a117ee18c2451a989c60f1acdb4a4b",
152 | "IsSetAsInput": false,
153 | "IsSetAsOutput": false,
154 | "Excluded": true,
155 | "X": 1976.0179530434575,
156 | "Y": 451.65045604450029
157 | }
158 | ],
159 | "Annotations": [],
160 | "X": -3592.04373091382,
161 | "Y": -380.13096799571809,
162 | "Zoom": 2.0997451343689182
163 | }
164 | }
--------------------------------------------------------------------------------
/resources/organization_logic/dyn queries/WritetoRevit-ElementParameters.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "WritetoRevit-SetParameters",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Element.SetParameterByName@string,var",
16 | "Id": "b5e3174f3cc344979cbe1c4d14e20fac",
17 | "Inputs": [
18 | {
19 | "Id": "ede282aab2a447189502792ac6373ef7",
20 | "Name": "element",
21 | "Description": "Revit.Elements.Element",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "1abe249e95f34d5ca60c7f95a361d455",
29 | "Name": "parameterName",
30 | "Description": "The name of the parameter to set.\n\nstring",
31 | "UsingDefaultValue": false,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | },
36 | {
37 | "Id": "ff44705484374f82951b1780eeddd74b",
38 | "Name": "value",
39 | "Description": "The value.\n\nvar",
40 | "UsingDefaultValue": false,
41 | "Level": 2,
42 | "UseLevels": false,
43 | "KeepListStructure": false
44 | }
45 | ],
46 | "Outputs": [
47 | {
48 | "Id": "8e67a5c964c44ea7b6f37b48e5de6819",
49 | "Name": "Element",
50 | "Description": "Element",
51 | "UsingDefaultValue": false,
52 | "Level": 2,
53 | "UseLevels": false,
54 | "KeepListStructure": false
55 | }
56 | ],
57 | "Replication": "Auto",
58 | "Description": "Set one of the element's parameters.\n\nElement.SetParameterByName (parameterName: string, value: var): Element"
59 | },
60 | {
61 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
62 | "NodeType": "FunctionNode",
63 | "FunctionSignature": "Revit.Elements.Parameter.SetValue@Revit.Elements.Parameter,var",
64 | "Id": "91cce361e63c4cd48af57e7a5bdfafcf",
65 | "Inputs": [
66 | {
67 | "Id": "a7b25d9e5a0a4d278237537fff90ca83",
68 | "Name": "parameter",
69 | "Description": "Parameter",
70 | "UsingDefaultValue": false,
71 | "Level": 2,
72 | "UseLevels": false,
73 | "KeepListStructure": false
74 | },
75 | {
76 | "Id": "9c95830674394271b545102318080a2a",
77 | "Name": "value",
78 | "Description": "var",
79 | "UsingDefaultValue": false,
80 | "Level": 2,
81 | "UseLevels": false,
82 | "KeepListStructure": false
83 | }
84 | ],
85 | "Outputs": [
86 | {
87 | "Id": "af17e090853b441d93da1401cd1c7d58",
88 | "Name": "void",
89 | "Description": "void",
90 | "UsingDefaultValue": false,
91 | "Level": 2,
92 | "UseLevels": false,
93 | "KeepListStructure": false
94 | }
95 | ],
96 | "Replication": "Auto",
97 | "Description": "Set the value of the parameter\n\nParameter.SetValue (parameter: Parameter, value: var): void"
98 | }
99 | ],
100 | "Connectors": [],
101 | "Dependencies": [],
102 | "Bindings": [],
103 | "View": {
104 | "Dynamo": {
105 | "ScaleFactor": 1.0,
106 | "HasRunWithoutCrash": false,
107 | "IsVisibleInDynamoLibrary": true,
108 | "Version": "2.1.0.7500",
109 | "RunType": "Manual",
110 | "RunPeriod": "1000"
111 | },
112 | "Camera": {
113 | "Name": "Background Preview",
114 | "EyeX": -17.0,
115 | "EyeY": 24.0,
116 | "EyeZ": 50.0,
117 | "LookX": 12.0,
118 | "LookY": -13.0,
119 | "LookZ": -58.0,
120 | "UpX": 0.0,
121 | "UpY": 1.0,
122 | "UpZ": 0.0
123 | },
124 | "NodeViews": [
125 | {
126 | "ShowGeometry": true,
127 | "Name": "Element.SetParameterByName",
128 | "Id": "b5e3174f3cc344979cbe1c4d14e20fac",
129 | "IsSetAsInput": false,
130 | "IsSetAsOutput": false,
131 | "Excluded": true,
132 | "X": 2900.3123973479519,
133 | "Y": -659.50530810813484
134 | },
135 | {
136 | "ShowGeometry": true,
137 | "Name": "Parameter.SetValue",
138 | "Id": "91cce361e63c4cd48af57e7a5bdfafcf",
139 | "IsSetAsInput": false,
140 | "IsSetAsOutput": false,
141 | "Excluded": true,
142 | "X": 2930.5538468726404,
143 | "Y": -478.47354016684682
144 | }
145 | ],
146 | "Annotations": [],
147 | "X": -6767.6204135714815,
148 | "Y": 1654.284653026029,
149 | "Zoom": 2.4628833658450335
150 | }
151 | }
--------------------------------------------------------------------------------
/resources/organization_logic/dyn queries/WritetoRevit-Sheets.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "WritetoRevit-Sheets",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Views.Sheet.ByNameNumberTitleBlockAndView@string,string,Revit.Elements.FamilyType,Revit.Elements.Views.View",
16 | "Id": "0fcea3e831214deeae8ff01e8c132302",
17 | "Inputs": [
18 | {
19 | "Id": "ccfca141ee4a4b19b46045baa597f5a2",
20 | "Name": "sheetName",
21 | "Description": "Sheet Name as String.\n\nstring",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "c847a60c93bc48e49ec14abe2e79c0e4",
29 | "Name": "sheetNumber",
30 | "Description": "Sheet Number as String.\n\nstring",
31 | "UsingDefaultValue": false,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | },
36 | {
37 | "Id": "e6e0bca8cfa740c29004f075b4c39b11",
38 | "Name": "titleBlockFamilyType",
39 | "Description": "Titleblock that will be assigned to created Sheet.\n\nFamilyType",
40 | "UsingDefaultValue": false,
41 | "Level": 2,
42 | "UseLevels": false,
43 | "KeepListStructure": false
44 | },
45 | {
46 | "Id": "db66229de79a4f5e82a9f997404ecedd",
47 | "Name": "view",
48 | "Description": "Views to be placed on Sheet.\n\nView",
49 | "UsingDefaultValue": false,
50 | "Level": 2,
51 | "UseLevels": false,
52 | "KeepListStructure": false
53 | }
54 | ],
55 | "Outputs": [
56 | {
57 | "Id": "2b2350ce16c2445bbb92d6c412a86285",
58 | "Name": "Sheet",
59 | "Description": "Sheet",
60 | "UsingDefaultValue": false,
61 | "Level": 2,
62 | "UseLevels": false,
63 | "KeepListStructure": false
64 | }
65 | ],
66 | "Replication": "Auto",
67 | "Description": "Create a Revit Sheet by the sheet name, number, a title block FamilyType, and a collection of views. This method will automatically pack the view onto the sheet.\n\nSheet.ByNameNumberTitleBlockAndView (sheetName: string, sheetNumber: string, titleBlockFamilyType: FamilyType, view: View): Sheet"
68 | },
69 | {
70 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
71 | "NodeType": "FunctionNode",
72 | "FunctionSignature": "Revit.Elements.Views.Sheet.ByNameNumberTitleBlockAndViews@string,string,Revit.Elements.FamilyType,Revit.Elements.Views.View[]",
73 | "Id": "b0767bb0d4f5475d8ac16647e35f7804",
74 | "Inputs": [
75 | {
76 | "Id": "ee11fb52c09a4d5aa57c800eec039026",
77 | "Name": "sheetName",
78 | "Description": "Sheet Name as String.\n\nstring",
79 | "UsingDefaultValue": false,
80 | "Level": 2,
81 | "UseLevels": false,
82 | "KeepListStructure": false
83 | },
84 | {
85 | "Id": "bef25dbd89dc424db01305bbe3772a9d",
86 | "Name": "sheetNumber",
87 | "Description": "Sheet Number as String.\n\nstring",
88 | "UsingDefaultValue": false,
89 | "Level": 2,
90 | "UseLevels": false,
91 | "KeepListStructure": false
92 | },
93 | {
94 | "Id": "6da4bf681e06418db76fc3603124920c",
95 | "Name": "titleBlockFamilyType",
96 | "Description": "Titleblock that will be assigned to created Sheet.\n\nFamilyType",
97 | "UsingDefaultValue": false,
98 | "Level": 2,
99 | "UseLevels": false,
100 | "KeepListStructure": false
101 | },
102 | {
103 | "Id": "34749d5fa87c4170aeb5f492a2dc2106",
104 | "Name": "views",
105 | "Description": "Views to be placed on Sheet.\n\nView[]",
106 | "UsingDefaultValue": false,
107 | "Level": 2,
108 | "UseLevels": false,
109 | "KeepListStructure": false
110 | }
111 | ],
112 | "Outputs": [
113 | {
114 | "Id": "b3aeae5cb82d462aa46879b35da1f884",
115 | "Name": "Sheet",
116 | "Description": "Sheet",
117 | "UsingDefaultValue": false,
118 | "Level": 2,
119 | "UseLevels": false,
120 | "KeepListStructure": false
121 | }
122 | ],
123 | "Replication": "Auto",
124 | "Description": "Create a Revit Sheet by the sheet name, number, a title block FamilyType, and a collection of views. This method will automatically pack the views onto the sheet.\n\nSheet.ByNameNumberTitleBlockAndViews (sheetName: string, sheetNumber: string, titleBlockFamilyType: FamilyType, views: View[]): Sheet"
125 | }
126 | ],
127 | "Connectors": [],
128 | "Dependencies": [],
129 | "Bindings": [],
130 | "View": {
131 | "Dynamo": {
132 | "ScaleFactor": 1.0,
133 | "HasRunWithoutCrash": false,
134 | "IsVisibleInDynamoLibrary": true,
135 | "Version": "2.1.0.7500",
136 | "RunType": "Manual",
137 | "RunPeriod": "1000"
138 | },
139 | "Camera": {
140 | "Name": "Background Preview",
141 | "EyeX": -17.0,
142 | "EyeY": 24.0,
143 | "EyeZ": 50.0,
144 | "LookX": 12.0,
145 | "LookY": -13.0,
146 | "LookZ": -58.0,
147 | "UpX": 0.0,
148 | "UpY": 1.0,
149 | "UpZ": 0.0
150 | },
151 | "NodeViews": [
152 | {
153 | "ShowGeometry": true,
154 | "Name": "Sheet.ByNameNumberTitleBlockAndView",
155 | "Id": "0fcea3e831214deeae8ff01e8c132302",
156 | "IsSetAsInput": false,
157 | "IsSetAsOutput": false,
158 | "Excluded": true,
159 | "X": 2874.681709799188,
160 | "Y": 170.58875460288817
161 | },
162 | {
163 | "ShowGeometry": true,
164 | "Name": "Sheet.ByNameNumberTitleBlockAndViews",
165 | "Id": "b0767bb0d4f5475d8ac16647e35f7804",
166 | "IsSetAsInput": false,
167 | "IsSetAsOutput": false,
168 | "Excluded": true,
169 | "X": 2873.3583996266825,
170 | "Y": 341.29576685614865
171 | }
172 | ],
173 | "Annotations": [],
174 | "X": -5765.0446519131146,
175 | "Y": -336.54648121967995,
176 | "Zoom": 2.1487142108104358
177 | }
178 | }
--------------------------------------------------------------------------------
/resources/organization_logic/dyn queries/WritetoRevit-Walls.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "d1c30ed6-42b3-4bf7-9bdb-ce19e5305d5a",
3 | "IsCustomNode": false,
4 | "Description": null,
5 | "Name": "WritetoRevit-Walls",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Wall.ByCurveAndHeight@Autodesk.DesignScript.Geometry.Curve,double,Revit.Elements.Level,Revit.Elements.WallType",
16 | "Id": "beae8d060eda4bf481c32f18ad8a03eb",
17 | "Inputs": [
18 | {
19 | "Id": "b8db8eb9e999491796e0d4ae8f124928",
20 | "Name": "curve",
21 | "Description": "Curve",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "39f7d113a2b845578d3d1a3c7711746a",
29 | "Name": "height",
30 | "Description": "double",
31 | "UsingDefaultValue": false,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | },
36 | {
37 | "Id": "40a70f5f51cf401c999d4b7edd9df4e5",
38 | "Name": "level",
39 | "Description": "Level",
40 | "UsingDefaultValue": false,
41 | "Level": 2,
42 | "UseLevels": false,
43 | "KeepListStructure": false
44 | },
45 | {
46 | "Id": "4da41d906fdb44939c9e3ec8062dec64",
47 | "Name": "wallType",
48 | "Description": "WallType",
49 | "UsingDefaultValue": false,
50 | "Level": 2,
51 | "UseLevels": false,
52 | "KeepListStructure": false
53 | }
54 | ],
55 | "Outputs": [
56 | {
57 | "Id": "3973bd0731f44423ac30ae120955b57b",
58 | "Name": "Wall",
59 | "Description": "Wall",
60 | "UsingDefaultValue": false,
61 | "Level": 2,
62 | "UseLevels": false,
63 | "KeepListStructure": false
64 | }
65 | ],
66 | "Replication": "Auto",
67 | "Description": "Create a Revit Wall from a guiding Curve, height, Level, and WallType\n\nWall.ByCurveAndHeight (curve: Curve, height: double, level: Level, wallType: WallType): Wall"
68 | },
69 | {
70 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
71 | "NodeType": "FunctionNode",
72 | "FunctionSignature": "Revit.Elements.Wall.ByCurveAndLevels@Autodesk.DesignScript.Geometry.Curve,Revit.Elements.Level,Revit.Elements.Level,Revit.Elements.WallType",
73 | "Id": "53dccb613363435da79f33b702f9a6e8",
74 | "Inputs": [
75 | {
76 | "Id": "465535578cd24d6cad2d0ce235aa33f1",
77 | "Name": "c",
78 | "Description": "Curve",
79 | "UsingDefaultValue": false,
80 | "Level": 2,
81 | "UseLevels": false,
82 | "KeepListStructure": false
83 | },
84 | {
85 | "Id": "0d15e4cb4a3145029b2392816ba282fe",
86 | "Name": "startLevel",
87 | "Description": "Level",
88 | "UsingDefaultValue": false,
89 | "Level": 2,
90 | "UseLevels": false,
91 | "KeepListStructure": false
92 | },
93 | {
94 | "Id": "f0e45f7b6a404f6e9768d1b85959decd",
95 | "Name": "endLevel",
96 | "Description": "Level",
97 | "UsingDefaultValue": false,
98 | "Level": 2,
99 | "UseLevels": false,
100 | "KeepListStructure": false
101 | },
102 | {
103 | "Id": "fe7c9ab23be045549360046ff1807304",
104 | "Name": "wallType",
105 | "Description": "WallType",
106 | "UsingDefaultValue": false,
107 | "Level": 2,
108 | "UseLevels": false,
109 | "KeepListStructure": false
110 | }
111 | ],
112 | "Outputs": [
113 | {
114 | "Id": "d3ce9f5d628b4543a4444f26b9db8d5b",
115 | "Name": "Wall",
116 | "Description": "Wall",
117 | "UsingDefaultValue": false,
118 | "Level": 2,
119 | "UseLevels": false,
120 | "KeepListStructure": false
121 | }
122 | ],
123 | "Replication": "Auto",
124 | "Description": "Create a Revit Wall from a guiding Curve, start Level, end Level, and WallType\n\nWall.ByCurveAndLevels (c: Curve, startLevel: Level, endLevel: Level, wallType: WallType): Wall"
125 | }
126 | ],
127 | "Connectors": [],
128 | "Dependencies": [],
129 | "Bindings": [],
130 | "View": {
131 | "Dynamo": {
132 | "ScaleFactor": 1.0,
133 | "HasRunWithoutCrash": false,
134 | "IsVisibleInDynamoLibrary": true,
135 | "Version": "2.1.0.7500",
136 | "RunType": "Manual",
137 | "RunPeriod": "1000"
138 | },
139 | "Camera": {
140 | "Name": "Background Preview",
141 | "EyeX": -17.0,
142 | "EyeY": 24.0,
143 | "EyeZ": 50.0,
144 | "LookX": 12.0,
145 | "LookY": -13.0,
146 | "LookZ": -58.0,
147 | "UpX": 0.0,
148 | "UpY": 1.0,
149 | "UpZ": 0.0
150 | },
151 | "NodeViews": [
152 | {
153 | "ShowGeometry": true,
154 | "Name": "Wall.ByCurveAndHeight",
155 | "Id": "beae8d060eda4bf481c32f18ad8a03eb",
156 | "IsSetAsInput": false,
157 | "IsSetAsOutput": false,
158 | "Excluded": true,
159 | "X": 3223.0475344917436,
160 | "Y": 79.3292786329439
161 | },
162 | {
163 | "ShowGeometry": true,
164 | "Name": "Wall.ByCurveAndLevels",
165 | "Id": "53dccb613363435da79f33b702f9a6e8",
166 | "IsSetAsInput": false,
167 | "IsSetAsOutput": false,
168 | "Excluded": true,
169 | "X": 3222.8172037851773,
170 | "Y": 267.33489550780541
171 | }
172 | ],
173 | "Annotations": [],
174 | "X": -6076.8359519845835,
175 | "Y": -131.88443115039192,
176 | "Zoom": 2.0406643541967679
177 | }
178 | }
--------------------------------------------------------------------------------
/resources/organization_logic/sorting_logic.docx:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/johnpierson/theDAM/c4c1149a007c06848751d72663d34a04990c10a4/resources/organization_logic/sorting_logic.docx
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/BEAM_EDGE.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "BEAM_EDGE",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Element.SetLocation@Autodesk.DesignScript.Geometry.Geometry",
16 | "Id": "10acf57297a04a0ea489ebb9bed93954",
17 | "Inputs": [
18 | {
19 | "Id": "2c33dc6c3d37428c935356ef3c9fa90a",
20 | "Name": "element",
21 | "Description": "Revit.Elements.Element",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "44d34d1ee4b4458bba021da86f217122",
29 | "Name": "geometry",
30 | "Description": "New Location Point or Curve\n\nGeometry",
31 | "UsingDefaultValue": false,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | }
36 | ],
37 | "Outputs": [
38 | {
39 | "Id": "39759e6ac3824e0baec337e1979a081c",
40 | "Name": "void",
41 | "Description": "void",
42 | "UsingDefaultValue": false,
43 | "Level": 2,
44 | "UseLevels": false,
45 | "KeepListStructure": false
46 | }
47 | ],
48 | "Replication": "Auto",
49 | "Description": "Update an existing element's location\n\nElement.SetLocation (geometry: Geometry): void"
50 | },
51 | {
52 | "ConcreteType": "Dynamo.Nodes.DSModelElementSelection, DSRevitNodesUI",
53 | "NodeType": "ExtensionNode",
54 | "InstanceId": [],
55 | "Id": "52d0712e6b9d48aaa97be231f5c00b86",
56 | "Inputs": [],
57 | "Outputs": [
58 | {
59 | "Id": "437ed39a502e4be29c10fb6f00fd612d",
60 | "Name": "Element",
61 | "Description": "The selected elements.",
62 | "UsingDefaultValue": false,
63 | "Level": 2,
64 | "UseLevels": false,
65 | "KeepListStructure": false
66 | }
67 | ],
68 | "Replication": "Disabled"
69 | }
70 | ],
71 | "Connectors": [],
72 | "Dependencies": [],
73 | "Bindings": [],
74 | "View": {
75 | "Dynamo": {
76 | "ScaleFactor": 1.0,
77 | "HasRunWithoutCrash": false,
78 | "IsVisibleInDynamoLibrary": true,
79 | "Version": "2.0.2.6826",
80 | "RunType": "Manual",
81 | "RunPeriod": "1000"
82 | },
83 | "Camera": {
84 | "Name": "Background Preview",
85 | "EyeX": -17.0,
86 | "EyeY": 24.0,
87 | "EyeZ": 50.0,
88 | "LookX": 12.0,
89 | "LookY": -13.0,
90 | "LookZ": -58.0,
91 | "UpX": 0.0,
92 | "UpY": 1.0,
93 | "UpZ": 0.0
94 | },
95 | "NodeViews": [
96 | {
97 | "ShowGeometry": true,
98 | "Name": "Element.SetLocation",
99 | "Id": "10acf57297a04a0ea489ebb9bed93954",
100 | "IsSetAsInput": false,
101 | "IsSetAsOutput": false,
102 | "Excluded": false,
103 | "X": 279.0,
104 | "Y": 167.0
105 | },
106 | {
107 | "ShowGeometry": true,
108 | "Name": "Select Model Element",
109 | "Id": "52d0712e6b9d48aaa97be231f5c00b86",
110 | "IsSetAsInput": true,
111 | "IsSetAsOutput": false,
112 | "Excluded": false,
113 | "X": 44.0,
114 | "Y": 168.0
115 | }
116 | ],
117 | "Annotations": [],
118 | "X": 0.0,
119 | "Y": 0.0,
120 | "Zoom": 1.0
121 | }
122 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/CUBIOD.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "CUBIOD",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Cuboid.ByCorners@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point",
16 | "Id": "13216c1ffce84733b929786b1fd27a10",
17 | "Inputs": [
18 | {
19 | "Id": "0a7dfb5c34ae4bc1add132ca732f65f3",
20 | "Name": "lowPoint",
21 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)",
22 | "UsingDefaultValue": true,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "7c34ef49c61644cc80116d2e70fcd889",
29 | "Name": "highPoint",
30 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)",
31 | "UsingDefaultValue": true,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | }
36 | ],
37 | "Outputs": [
38 | {
39 | "Id": "d01265073035460caad35c737aa8d5f9",
40 | "Name": "Cuboid",
41 | "Description": "Cuboid",
42 | "UsingDefaultValue": false,
43 | "Level": 2,
44 | "UseLevels": false,
45 | "KeepListStructure": false
46 | }
47 | ],
48 | "Replication": "Auto",
49 | "Description": "Create an Cuboid spanning from low Point to high Point.\n\nCuboid.ByCorners (lowPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), highPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)): Cuboid"
50 | }
51 | ],
52 | "Connectors": [],
53 | "Dependencies": [],
54 | "Bindings": [],
55 | "View": {
56 | "Dynamo": {
57 | "ScaleFactor": 1.0,
58 | "HasRunWithoutCrash": false,
59 | "IsVisibleInDynamoLibrary": true,
60 | "Version": "2.0.2.6826",
61 | "RunType": "Automatic",
62 | "RunPeriod": "1000"
63 | },
64 | "Camera": {
65 | "Name": "Background Preview",
66 | "EyeX": 2.2815992832183838,
67 | "EyeY": 2.2112925052642822,
68 | "EyeZ": 0.71569454669952393,
69 | "LookX": -7.0120434761047363,
70 | "LookY": -4.4165630340576172,
71 | "LookZ": -4.8534445762634277,
72 | "UpX": -0.21281386911869049,
73 | "UpY": 0.96592581272125244,
74 | "UpZ": -0.14730089902877808
75 | },
76 | "NodeViews": [
77 | {
78 | "ShowGeometry": true,
79 | "Name": "Cuboid.ByCorners",
80 | "Id": "13216c1ffce84733b929786b1fd27a10",
81 | "IsSetAsInput": false,
82 | "IsSetAsOutput": false,
83 | "Excluded": false,
84 | "X": 823.808711686873,
85 | "Y": 530.922784376721
86 | }
87 | ],
88 | "Annotations": [],
89 | "X": -966.012129775188,
90 | "Y": -1027.30196819647,
91 | "Zoom": 2.02304964773238
92 | }
93 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/CUBIOD_2_0.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "CUBIOD_2_0",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Cuboid.ByLengths@double,double,double",
16 | "Id": "cf42af33529345469d4ef065d5d1854d",
17 | "Inputs": [
18 | {
19 | "Id": "0a820c56e8e64679ac9b99ba6673b31f",
20 | "Name": "width",
21 | "Description": "double\nDefault value : 1",
22 | "UsingDefaultValue": true,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "111a5b72203d445eb59e6f7b7990f5f4",
29 | "Name": "length",
30 | "Description": "double\nDefault value : 1",
31 | "UsingDefaultValue": true,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | },
36 | {
37 | "Id": "f797367b45cc4d9d9dca06470f0108c8",
38 | "Name": "height",
39 | "Description": "double\nDefault value : 1",
40 | "UsingDefaultValue": true,
41 | "Level": 2,
42 | "UseLevels": false,
43 | "KeepListStructure": false
44 | }
45 | ],
46 | "Outputs": [
47 | {
48 | "Id": "20ca0748664c4c3f8bb0bab30bb6ead8",
49 | "Name": "Cuboid",
50 | "Description": "Cuboid",
51 | "UsingDefaultValue": false,
52 | "Level": 2,
53 | "UseLevels": false,
54 | "KeepListStructure": false
55 | }
56 | ],
57 | "Replication": "Auto",
58 | "Description": "Create a Cuboid centered at WCS origin, with width, length, and height.\n\nCuboid.ByLengths (width: double = 1, length: double = 1, height: double = 1): Cuboid"
59 | }
60 | ],
61 | "Connectors": [],
62 | "Dependencies": [],
63 | "Bindings": [],
64 | "View": {
65 | "Dynamo": {
66 | "ScaleFactor": 1.0,
67 | "HasRunWithoutCrash": false,
68 | "IsVisibleInDynamoLibrary": true,
69 | "Version": "2.0.2.6826",
70 | "RunType": "Automatic",
71 | "RunPeriod": "1000"
72 | },
73 | "Camera": {
74 | "Name": "Background Preview",
75 | "EyeX": 9.0639374290706467,
76 | "EyeY": 5.7089564730540667,
77 | "EyeZ": 6.2736801482514029,
78 | "LookX": -9.0639374290706467,
79 | "LookY": -5.7089564730540667,
80 | "LookZ": -6.2736801482514029,
81 | "UpX": -0.21281386911869049,
82 | "UpY": 0.96592581272125244,
83 | "UpZ": -0.14730089902877808
84 | },
85 | "NodeViews": [
86 | {
87 | "ShowGeometry": true,
88 | "Name": "Cuboid.ByLengths",
89 | "Id": "cf42af33529345469d4ef065d5d1854d",
90 | "IsSetAsInput": false,
91 | "IsSetAsOutput": false,
92 | "Excluded": false,
93 | "X": 569.08565125833331,
94 | "Y": 624.25765724299686
95 | }
96 | ],
97 | "Annotations": [],
98 | "X": -519.2507691353569,
99 | "Y": -644.84612058256016,
100 | "Zoom": 1.4517389755498056
101 | }
102 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/CUBIOD_CENTEROFMASS.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "CUBIOD_CENTEROFMASS",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Cuboid.ByCorners@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point",
16 | "Id": "13216c1ffce84733b929786b1fd27a10",
17 | "Inputs": [
18 | {
19 | "Id": "28347da0f6244a08945e6d1a261c5fe4",
20 | "Name": "lowPoint",
21 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)",
22 | "UsingDefaultValue": true,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "6ff1f2cf982e467a8fd9b828c5ce65df",
29 | "Name": "highPoint",
30 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)",
31 | "UsingDefaultValue": true,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | }
36 | ],
37 | "Outputs": [
38 | {
39 | "Id": "9a478116c7e646b1ae9d54af011125ba",
40 | "Name": "Cuboid",
41 | "Description": "Cuboid",
42 | "UsingDefaultValue": false,
43 | "Level": 2,
44 | "UseLevels": false,
45 | "KeepListStructure": false
46 | }
47 | ],
48 | "Replication": "Auto",
49 | "Description": "Create an Cuboid spanning from low Point to high Point.\n\nCuboid.ByCorners (lowPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), highPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)): Cuboid"
50 | },
51 | {
52 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
53 | "NodeType": "FunctionNode",
54 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Solid.Centroid",
55 | "Id": "196816e275654e8f9872395dcbec0340",
56 | "Inputs": [
57 | {
58 | "Id": "5594206891b04ce196a23ef90a1e415f",
59 | "Name": "solid",
60 | "Description": "Autodesk.DesignScript.Geometry.Solid",
61 | "UsingDefaultValue": false,
62 | "Level": 2,
63 | "UseLevels": false,
64 | "KeepListStructure": false
65 | }
66 | ],
67 | "Outputs": [
68 | {
69 | "Id": "566423da4e4c48788b6e716ba804c5cc",
70 | "Name": "Point",
71 | "Description": "Point",
72 | "UsingDefaultValue": false,
73 | "Level": 2,
74 | "UseLevels": false,
75 | "KeepListStructure": false
76 | }
77 | ],
78 | "Replication": "Auto",
79 | "Description": "The centroid of the Solid\n\nSolid.Centroid ( ): Point"
80 | }
81 | ],
82 | "Connectors": [
83 | {
84 | "Start": "9a478116c7e646b1ae9d54af011125ba",
85 | "End": "5594206891b04ce196a23ef90a1e415f",
86 | "Id": "cb2e688827fa423aad09db308607f6ae"
87 | }
88 | ],
89 | "Dependencies": [],
90 | "Bindings": [],
91 | "View": {
92 | "Dynamo": {
93 | "ScaleFactor": 1.0,
94 | "HasRunWithoutCrash": false,
95 | "IsVisibleInDynamoLibrary": true,
96 | "Version": "2.0.2.6826",
97 | "RunType": "Automatic",
98 | "RunPeriod": "1000"
99 | },
100 | "Camera": {
101 | "Name": "Background Preview",
102 | "EyeX": 2.3695964813232422,
103 | "EyeY": 3.1866002082824707,
104 | "EyeZ": 1.2473361492156982,
105 | "LookX": -6.2895622253417969,
106 | "LookY": -6.2705492973327637,
107 | "LookZ": -5.5040345191955566,
108 | "UpX": -0.3120720386505127,
109 | "UpY": 0.9099612832069397,
110 | "UpZ": -0.27309617400169373
111 | },
112 | "NodeViews": [
113 | {
114 | "ShowGeometry": true,
115 | "Name": "Cuboid.ByCorners",
116 | "Id": "13216c1ffce84733b929786b1fd27a10",
117 | "IsSetAsInput": false,
118 | "IsSetAsOutput": false,
119 | "Excluded": false,
120 | "X": 875.316699929864,
121 | "Y": 522.764131125621
122 | },
123 | {
124 | "ShowGeometry": true,
125 | "Name": "Solid.Centroid",
126 | "Id": "196816e275654e8f9872395dcbec0340",
127 | "IsSetAsInput": false,
128 | "IsSetAsOutput": false,
129 | "Excluded": false,
130 | "X": 1160.40472943069,
131 | "Y": 522.567427778321
132 | }
133 | ],
134 | "Annotations": [],
135 | "X": -1386.59629411971,
136 | "Y": -950.883448044176,
137 | "Zoom": 1.88953020300527
138 | }
139 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/CUBIOD_PTS_AT_VERTICES.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "CUBIOD_PTS_AT_VERTICES",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Cuboid.ByCorners@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point",
16 | "Id": "13216c1ffce84733b929786b1fd27a10",
17 | "Inputs": [
18 | {
19 | "Id": "080cd579e9bd4d8c97f4435d5787bdbe",
20 | "Name": "lowPoint",
21 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)",
22 | "UsingDefaultValue": true,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "c0533e734b6f49f08787bcc37ff5d378",
29 | "Name": "highPoint",
30 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)",
31 | "UsingDefaultValue": true,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | }
36 | ],
37 | "Outputs": [
38 | {
39 | "Id": "50ea9e6968cf4986afaac54e5c416edd",
40 | "Name": "Cuboid",
41 | "Description": "Cuboid",
42 | "UsingDefaultValue": false,
43 | "Level": 2,
44 | "UseLevels": false,
45 | "KeepListStructure": false
46 | }
47 | ],
48 | "Replication": "Auto",
49 | "Description": "Create an Cuboid spanning from low Point to high Point.\n\nCuboid.ByCorners (lowPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), highPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)): Cuboid"
50 | },
51 | {
52 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
53 | "NodeType": "FunctionNode",
54 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Face.Vertices",
55 | "Id": "3016d5bba0ed4024bd3ed514a423be06",
56 | "Inputs": [
57 | {
58 | "Id": "1566d04af2c640bbacd7447e450d2386",
59 | "Name": "face",
60 | "Description": "Autodesk.DesignScript.Geometry.Face",
61 | "UsingDefaultValue": false,
62 | "Level": 2,
63 | "UseLevels": false,
64 | "KeepListStructure": false
65 | }
66 | ],
67 | "Outputs": [
68 | {
69 | "Id": "34ec3d9283414a64af6e32f56a2b2050",
70 | "Name": "Vertex[]",
71 | "Description": "Vertex[]",
72 | "UsingDefaultValue": false,
73 | "Level": 2,
74 | "UseLevels": false,
75 | "KeepListStructure": false
76 | }
77 | ],
78 | "Replication": "Auto",
79 | "Description": "All of the Vertices around this Face in counterclockwise order\n\nFace.Vertices: Vertex[]"
80 | },
81 | {
82 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
83 | "NodeType": "FunctionNode",
84 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Vertex.PointGeometry",
85 | "Id": "a3ae7251fee8494a89091aa7e3808066",
86 | "Inputs": [
87 | {
88 | "Id": "14e1edfecbcb44c89182fb9d596e4055",
89 | "Name": "vertex",
90 | "Description": "Autodesk.DesignScript.Geometry.Vertex",
91 | "UsingDefaultValue": false,
92 | "Level": 2,
93 | "UseLevels": false,
94 | "KeepListStructure": false
95 | }
96 | ],
97 | "Outputs": [
98 | {
99 | "Id": "11d4885fdeea44a68f659c016741f30e",
100 | "Name": "Point",
101 | "Description": "Point",
102 | "UsingDefaultValue": false,
103 | "Level": 2,
104 | "UseLevels": false,
105 | "KeepListStructure": false
106 | }
107 | ],
108 | "Replication": "Auto",
109 | "Description": "The Point where this Vertex is located\n\nVertex.PointGeometry: Point"
110 | }
111 | ],
112 | "Connectors": [
113 | {
114 | "Start": "50ea9e6968cf4986afaac54e5c416edd",
115 | "End": "1566d04af2c640bbacd7447e450d2386",
116 | "Id": "315f5799870b49928b029f87604f08c1"
117 | },
118 | {
119 | "Start": "34ec3d9283414a64af6e32f56a2b2050",
120 | "End": "14e1edfecbcb44c89182fb9d596e4055",
121 | "Id": "263cd7187c9343d59f87fa24c8e2b070"
122 | }
123 | ],
124 | "Dependencies": [],
125 | "Bindings": [],
126 | "View": {
127 | "Dynamo": {
128 | "ScaleFactor": 1.0,
129 | "HasRunWithoutCrash": false,
130 | "IsVisibleInDynamoLibrary": true,
131 | "Version": "2.0.2.6826",
132 | "RunType": "Automatic",
133 | "RunPeriod": "1000"
134 | },
135 | "Camera": {
136 | "Name": "Background Preview",
137 | "EyeX": 1.3731096982955933,
138 | "EyeY": 1.9716134071350098,
139 | "EyeZ": 1.5471049547195435,
140 | "LookX": -5.9457550048828125,
141 | "LookY": -4.6475434303283691,
142 | "LookZ": -5.4845428466796875,
143 | "UpX": -0.22103090584278107,
144 | "UpY": 0.9537169337272644,
145 | "UpZ": -0.20388554036617279
146 | },
147 | "NodeViews": [
148 | {
149 | "ShowGeometry": true,
150 | "Name": "Cuboid.ByCorners",
151 | "Id": "13216c1ffce84733b929786b1fd27a10",
152 | "IsSetAsInput": false,
153 | "IsSetAsOutput": false,
154 | "Excluded": false,
155 | "X": 768.941051802985,
156 | "Y": 519.059506563988
157 | },
158 | {
159 | "ShowGeometry": true,
160 | "Name": "Face.Vertices",
161 | "Id": "3016d5bba0ed4024bd3ed514a423be06",
162 | "IsSetAsInput": false,
163 | "IsSetAsOutput": false,
164 | "Excluded": false,
165 | "X": 1009.17959255559,
166 | "Y": 519.612630964771
167 | },
168 | {
169 | "ShowGeometry": true,
170 | "Name": "Vertex.PointGeometry",
171 | "Id": "a3ae7251fee8494a89091aa7e3808066",
172 | "IsSetAsInput": false,
173 | "IsSetAsOutput": false,
174 | "Excluded": false,
175 | "X": 1225.30540918279,
176 | "Y": 521.444205681951
177 | }
178 | ],
179 | "Annotations": [],
180 | "X": -1160.36713256214,
181 | "Y": -813.988360707265,
182 | "Zoom": 1.63793481743379
183 | }
184 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/CUBIOD_SURFACES_FROM.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "CUBIOD_SURFACES_FROM",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Cuboid.ByCorners@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point",
16 | "Id": "13216c1ffce84733b929786b1fd27a10",
17 | "Inputs": [
18 | {
19 | "Id": "9ff66d619eb940e182ec43f27d49521e",
20 | "Name": "lowPoint",
21 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)",
22 | "UsingDefaultValue": true,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "499b066eadc14f6da714097d30046613",
29 | "Name": "highPoint",
30 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)",
31 | "UsingDefaultValue": true,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | }
36 | ],
37 | "Outputs": [
38 | {
39 | "Id": "7fc7ad267c5345b0abdda5cf799a7b74",
40 | "Name": "Cuboid",
41 | "Description": "Cuboid",
42 | "UsingDefaultValue": false,
43 | "Level": 2,
44 | "UseLevels": false,
45 | "KeepListStructure": false
46 | }
47 | ],
48 | "Replication": "Auto",
49 | "Description": "Create an Cuboid spanning from low Point to high Point.\n\nCuboid.ByCorners (lowPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), highPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)): Cuboid"
50 | },
51 | {
52 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
53 | "NodeType": "FunctionNode",
54 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Geometry.Explode",
55 | "Id": "f1ba237c0d3a482284dd4743ee3d183d",
56 | "Inputs": [
57 | {
58 | "Id": "147e7276236e4967bf0d7dbc563d9313",
59 | "Name": "geometry",
60 | "Description": "Autodesk.DesignScript.Geometry.Geometry",
61 | "UsingDefaultValue": false,
62 | "Level": 2,
63 | "UseLevels": false,
64 | "KeepListStructure": false
65 | }
66 | ],
67 | "Outputs": [
68 | {
69 | "Id": "e3ef55ecbd9e447ca3a28687c29cb62e",
70 | "Name": "Geometry[]",
71 | "Description": "Geometry[]",
72 | "UsingDefaultValue": false,
73 | "Level": 2,
74 | "UseLevels": false,
75 | "KeepListStructure": false
76 | }
77 | ],
78 | "Replication": "Auto",
79 | "Description": "Separates compound or non-separated elements into their component parts.\n\nGeometry.Explode ( ): Geometry[]"
80 | }
81 | ],
82 | "Connectors": [
83 | {
84 | "Start": "7fc7ad267c5345b0abdda5cf799a7b74",
85 | "End": "147e7276236e4967bf0d7dbc563d9313",
86 | "Id": "1ad1dcb15f0e46779ab40b4143ddea58"
87 | }
88 | ],
89 | "Dependencies": [],
90 | "Bindings": [],
91 | "View": {
92 | "Dynamo": {
93 | "ScaleFactor": 1.0,
94 | "HasRunWithoutCrash": false,
95 | "IsVisibleInDynamoLibrary": true,
96 | "Version": "2.0.2.6826",
97 | "RunType": "Automatic",
98 | "RunPeriod": "1000"
99 | },
100 | "Camera": {
101 | "Name": "Background Preview",
102 | "EyeX": 1.3731096982955933,
103 | "EyeY": 1.9716134071350098,
104 | "EyeZ": 1.5471049547195435,
105 | "LookX": -5.9457550048828125,
106 | "LookY": -4.6475434303283691,
107 | "LookZ": -5.4845428466796875,
108 | "UpX": -0.22103090584278107,
109 | "UpY": 0.9537169337272644,
110 | "UpZ": -0.20388554036617279
111 | },
112 | "NodeViews": [
113 | {
114 | "ShowGeometry": false,
115 | "Name": "Cuboid.ByCorners",
116 | "Id": "13216c1ffce84733b929786b1fd27a10",
117 | "IsSetAsInput": false,
118 | "IsSetAsOutput": false,
119 | "Excluded": false,
120 | "X": 768.941051802985,
121 | "Y": 519.059506563988
122 | },
123 | {
124 | "ShowGeometry": true,
125 | "Name": "Geometry.Explode",
126 | "Id": "f1ba237c0d3a482284dd4743ee3d183d",
127 | "IsSetAsInput": false,
128 | "IsSetAsOutput": false,
129 | "Excluded": false,
130 | "X": 1003.68486840405,
131 | "Y": 521.444205681951
132 | }
133 | ],
134 | "Annotations": [],
135 | "X": -1160.36713256214,
136 | "Y": -813.988360707265,
137 | "Zoom": 1.63793481743379
138 | }
139 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/CUBIOD_SURFACE_AREAS.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "CUBIOD_SURFACE_AREAS",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Cuboid.ByCorners@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point",
16 | "Id": "13216c1ffce84733b929786b1fd27a10",
17 | "Inputs": [
18 | {
19 | "Id": "3557a1a6c99b410f9d5b4a9a4f474550",
20 | "Name": "lowPoint",
21 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)",
22 | "UsingDefaultValue": true,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "99ccfa3d982544c3b27a84dcb07f7e96",
29 | "Name": "highPoint",
30 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)",
31 | "UsingDefaultValue": true,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | }
36 | ],
37 | "Outputs": [
38 | {
39 | "Id": "0c999e5d4db6422db551cbb1982126c0",
40 | "Name": "Cuboid",
41 | "Description": "Cuboid",
42 | "UsingDefaultValue": false,
43 | "Level": 2,
44 | "UseLevels": false,
45 | "KeepListStructure": false
46 | }
47 | ],
48 | "Replication": "Auto",
49 | "Description": "Create an Cuboid spanning from low Point to high Point.\n\nCuboid.ByCorners (lowPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), highPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)): Cuboid"
50 | },
51 | {
52 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
53 | "NodeType": "FunctionNode",
54 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Geometry.Explode",
55 | "Id": "f1ba237c0d3a482284dd4743ee3d183d",
56 | "Inputs": [
57 | {
58 | "Id": "842f575fcffc4667a38a8c20ff28e228",
59 | "Name": "geometry",
60 | "Description": "Autodesk.DesignScript.Geometry.Geometry",
61 | "UsingDefaultValue": false,
62 | "Level": 2,
63 | "UseLevels": false,
64 | "KeepListStructure": false
65 | }
66 | ],
67 | "Outputs": [
68 | {
69 | "Id": "545628a34c124006942ec3405fdf586f",
70 | "Name": "Geometry[]",
71 | "Description": "Geometry[]",
72 | "UsingDefaultValue": false,
73 | "Level": 2,
74 | "UseLevels": false,
75 | "KeepListStructure": false
76 | }
77 | ],
78 | "Replication": "Auto",
79 | "Description": "Separates compound or non-separated elements into their component parts.\n\nGeometry.Explode ( ): Geometry[]"
80 | },
81 | {
82 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
83 | "NodeType": "FunctionNode",
84 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.Area",
85 | "Id": "1181307e8e224135b9740cbc574b3111",
86 | "Inputs": [
87 | {
88 | "Id": "aef0d265e17445dab424dd9654df1870",
89 | "Name": "surface",
90 | "Description": "Autodesk.DesignScript.Geometry.Surface",
91 | "UsingDefaultValue": false,
92 | "Level": 2,
93 | "UseLevels": false,
94 | "KeepListStructure": false
95 | }
96 | ],
97 | "Outputs": [
98 | {
99 | "Id": "3f44eb66eb7c49939a15b333bfb25231",
100 | "Name": "double",
101 | "Description": "double",
102 | "UsingDefaultValue": false,
103 | "Level": 2,
104 | "UseLevels": false,
105 | "KeepListStructure": false
106 | }
107 | ],
108 | "Replication": "Auto",
109 | "Description": "Returns the total surface area.\n\nSurface.Area: double"
110 | }
111 | ],
112 | "Connectors": [
113 | {
114 | "Start": "0c999e5d4db6422db551cbb1982126c0",
115 | "End": "842f575fcffc4667a38a8c20ff28e228",
116 | "Id": "21e2cd9f79724277bea3c1d7274fb57a"
117 | },
118 | {
119 | "Start": "545628a34c124006942ec3405fdf586f",
120 | "End": "aef0d265e17445dab424dd9654df1870",
121 | "Id": "aa948a026f4b4e77b18a2006e6ac6ecc"
122 | }
123 | ],
124 | "Dependencies": [],
125 | "Bindings": [],
126 | "View": {
127 | "Dynamo": {
128 | "ScaleFactor": 1.0,
129 | "HasRunWithoutCrash": false,
130 | "IsVisibleInDynamoLibrary": true,
131 | "Version": "2.0.2.6826",
132 | "RunType": "Automatic",
133 | "RunPeriod": "1000"
134 | },
135 | "Camera": {
136 | "Name": "Background Preview",
137 | "EyeX": 2.5873048305511475,
138 | "EyeY": 2.698979377746582,
139 | "EyeZ": 1.518670916557312,
140 | "LookX": -6.659245491027832,
141 | "LookY": -5.2052488327026367,
142 | "LookZ": -6.1426877975463867,
143 | "UpX": -0.22103090584278107,
144 | "UpY": 0.9537169337272644,
145 | "UpZ": -0.20388554036617279
146 | },
147 | "NodeViews": [
148 | {
149 | "ShowGeometry": false,
150 | "Name": "Cuboid.ByCorners",
151 | "Id": "13216c1ffce84733b929786b1fd27a10",
152 | "IsSetAsInput": false,
153 | "IsSetAsOutput": false,
154 | "Excluded": false,
155 | "X": 768.941051802985,
156 | "Y": 519.059506563988
157 | },
158 | {
159 | "ShowGeometry": true,
160 | "Name": "Geometry.Explode",
161 | "Id": "f1ba237c0d3a482284dd4743ee3d183d",
162 | "IsSetAsInput": false,
163 | "IsSetAsOutput": false,
164 | "Excluded": false,
165 | "X": 1003.68486840405,
166 | "Y": 521.444205681951
167 | },
168 | {
169 | "ShowGeometry": true,
170 | "Name": "Surface.Area",
171 | "Id": "1181307e8e224135b9740cbc574b3111",
172 | "IsSetAsInput": false,
173 | "IsSetAsOutput": false,
174 | "Excluded": false,
175 | "X": 1279.1373857679,
176 | "Y": 520.075833981523
177 | }
178 | ],
179 | "Annotations": [],
180 | "X": -1386.59629411971,
181 | "Y": -950.883448044176,
182 | "Zoom": 1.88953020300527
183 | }
184 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/CUBIOD_VOLUME.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "CUBIOD_VOLUME",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Cuboid.ByCorners@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point",
16 | "Id": "13216c1ffce84733b929786b1fd27a10",
17 | "Inputs": [
18 | {
19 | "Id": "cbce0e49d0fd4331969a67281ae49964",
20 | "Name": "lowPoint",
21 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)",
22 | "UsingDefaultValue": true,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "fd4469d97bef4e1fae2b8ed70311304f",
29 | "Name": "highPoint",
30 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)",
31 | "UsingDefaultValue": true,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | }
36 | ],
37 | "Outputs": [
38 | {
39 | "Id": "c7003b8b1f8449f0a5247abb031df36f",
40 | "Name": "Cuboid",
41 | "Description": "Cuboid",
42 | "UsingDefaultValue": false,
43 | "Level": 2,
44 | "UseLevels": false,
45 | "KeepListStructure": false
46 | }
47 | ],
48 | "Replication": "Auto",
49 | "Description": "Create an Cuboid spanning from low Point to high Point.\n\nCuboid.ByCorners (lowPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), highPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)): Cuboid"
50 | },
51 | {
52 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
53 | "NodeType": "FunctionNode",
54 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Solid.Volume",
55 | "Id": "9e9c6bb692234f63b4a82baf95120d96",
56 | "Inputs": [
57 | {
58 | "Id": "5344a0976b07446dbfe82870c64187ee",
59 | "Name": "solid",
60 | "Description": "Autodesk.DesignScript.Geometry.Solid",
61 | "UsingDefaultValue": false,
62 | "Level": 2,
63 | "UseLevels": false,
64 | "KeepListStructure": false
65 | }
66 | ],
67 | "Outputs": [
68 | {
69 | "Id": "33fd26ea0ca64e249a75910b709d17ce",
70 | "Name": "double",
71 | "Description": "double",
72 | "UsingDefaultValue": false,
73 | "Level": 2,
74 | "UseLevels": false,
75 | "KeepListStructure": false
76 | }
77 | ],
78 | "Replication": "Auto",
79 | "Description": "The total volume of the Solid\n\nSolid.Volume: double"
80 | }
81 | ],
82 | "Connectors": [
83 | {
84 | "Start": "c7003b8b1f8449f0a5247abb031df36f",
85 | "End": "5344a0976b07446dbfe82870c64187ee",
86 | "Id": "3edaf63745be43728eeb67084acd7196"
87 | }
88 | ],
89 | "Dependencies": [],
90 | "Bindings": [],
91 | "View": {
92 | "Dynamo": {
93 | "ScaleFactor": 1.0,
94 | "HasRunWithoutCrash": false,
95 | "IsVisibleInDynamoLibrary": true,
96 | "Version": "2.0.2.6826",
97 | "RunType": "Automatic",
98 | "RunPeriod": "1000"
99 | },
100 | "Camera": {
101 | "Name": "Background Preview",
102 | "EyeX": 2.5873048305511475,
103 | "EyeY": 2.698979377746582,
104 | "EyeZ": 1.518670916557312,
105 | "LookX": -6.659245491027832,
106 | "LookY": -5.2052488327026367,
107 | "LookZ": -6.1426877975463867,
108 | "UpX": -0.22103090584278107,
109 | "UpY": 0.9537169337272644,
110 | "UpZ": -0.20388554036617279
111 | },
112 | "NodeViews": [
113 | {
114 | "ShowGeometry": true,
115 | "Name": "Cuboid.ByCorners",
116 | "Id": "13216c1ffce84733b929786b1fd27a10",
117 | "IsSetAsInput": false,
118 | "IsSetAsOutput": false,
119 | "Excluded": false,
120 | "X": 875.316699929864,
121 | "Y": 522.764131125621
122 | },
123 | {
124 | "ShowGeometry": true,
125 | "Name": "Solid.Volume",
126 | "Id": "9e9c6bb692234f63b4a82baf95120d96",
127 | "IsSetAsInput": false,
128 | "IsSetAsOutput": false,
129 | "Excluded": false,
130 | "X": 1137.11851790043,
131 | "Y": 523.096659858553
132 | }
133 | ],
134 | "Annotations": [],
135 | "X": -1386.59629411971,
136 | "Y": -950.883448044176,
137 | "Zoom": 1.88953020300527
138 | }
139 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/GRIDS_FINAL.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "GRIDS_FINAL",
6 | "ElementResolver": {
7 | "ResolutionMap": {
8 | "Autodesk.Point": {
9 | "Key": "Autodesk.DesignScript.Geometry.Point",
10 | "Value": "ProtoGeometry.dll"
11 | },
12 | "Autodesk.DesignScript.Geometry.Point": {
13 | "Key": "Autodesk.DesignScript.Geometry.Point",
14 | "Value": "ProtoGeometry.dll"
15 | }
16 | }
17 | },
18 | "Inputs": [],
19 | "Outputs": [],
20 | "Nodes": [
21 | {
22 | "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
23 | "NodeType": "CodeBlockNode",
24 | "Code": "Autodesk.Point.ByCoordinates(0..100..10,0);\nAutodesk.Point.ByCoordinates(0..100..10,100);",
25 | "Id": "a1dcaba598734044b3c06ef0ec0a5778",
26 | "Inputs": [],
27 | "Outputs": [
28 | {
29 | "Id": "dc9bdd3a08834b14b5920e2ec65ea906",
30 | "Name": "",
31 | "Description": "Value of expression at line 1",
32 | "UsingDefaultValue": false,
33 | "Level": 2,
34 | "UseLevels": false,
35 | "KeepListStructure": false
36 | },
37 | {
38 | "Id": "f1c23547c1bb440fb49245ff0e0e09a3",
39 | "Name": "",
40 | "Description": "Value of expression at line 2",
41 | "UsingDefaultValue": false,
42 | "Level": 2,
43 | "UseLevels": false,
44 | "KeepListStructure": false
45 | }
46 | ],
47 | "Replication": "Disabled",
48 | "Description": "Allows for DesignScript code to be authored directly"
49 | },
50 | {
51 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
52 | "NodeType": "FunctionNode",
53 | "FunctionSignature": "Revit.Elements.Grid.ByStartPointEndPoint@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point",
54 | "Id": "e19ec24bb41e41598ec6dbc8a8707d56",
55 | "Inputs": [
56 | {
57 | "Id": "a2bfbcc3720b4c06b7d4ff4dbfdf7956",
58 | "Name": "start",
59 | "Description": "Point",
60 | "UsingDefaultValue": false,
61 | "Level": 2,
62 | "UseLevels": false,
63 | "KeepListStructure": false
64 | },
65 | {
66 | "Id": "6c5511f985334adeac275db344b4d90f",
67 | "Name": "end",
68 | "Description": "Point",
69 | "UsingDefaultValue": false,
70 | "Level": 2,
71 | "UseLevels": false,
72 | "KeepListStructure": false
73 | }
74 | ],
75 | "Outputs": [
76 | {
77 | "Id": "b21d2682267e40228b7ba6ce1bc4c9dc",
78 | "Name": "Grid",
79 | "Description": "Grid",
80 | "UsingDefaultValue": false,
81 | "Level": 2,
82 | "UseLevels": false,
83 | "KeepListStructure": false
84 | }
85 | ],
86 | "Replication": "Auto",
87 | "Description": "Create a Revit Grid Element in a project between two end points\n\nGrid.ByStartPointEndPoint (start: Point, end: Point): Grid"
88 | }
89 | ],
90 | "Connectors": [
91 | {
92 | "Start": "dc9bdd3a08834b14b5920e2ec65ea906",
93 | "End": "6c5511f985334adeac275db344b4d90f",
94 | "Id": "d59b6d2e9e2d4831a05f2a4c5059f84e"
95 | },
96 | {
97 | "Start": "f1c23547c1bb440fb49245ff0e0e09a3",
98 | "End": "a2bfbcc3720b4c06b7d4ff4dbfdf7956",
99 | "Id": "6dc6b22c379c4035b2892e3393265de8"
100 | }
101 | ],
102 | "Dependencies": [],
103 | "Bindings": [],
104 | "View": {
105 | "Dynamo": {
106 | "ScaleFactor": 1.0,
107 | "HasRunWithoutCrash": false,
108 | "IsVisibleInDynamoLibrary": true,
109 | "Version": "2.0.2.6826",
110 | "RunType": "Manual",
111 | "RunPeriod": "1000"
112 | },
113 | "Camera": {
114 | "Name": "Background Preview",
115 | "EyeX": -17.0,
116 | "EyeY": 24.0,
117 | "EyeZ": 50.0,
118 | "LookX": 12.0,
119 | "LookY": -13.0,
120 | "LookZ": -58.0,
121 | "UpX": 0.0,
122 | "UpY": 1.0,
123 | "UpZ": 0.0
124 | },
125 | "NodeViews": [
126 | {
127 | "ShowGeometry": true,
128 | "Name": "Code Block",
129 | "Id": "a1dcaba598734044b3c06ef0ec0a5778",
130 | "IsSetAsInput": false,
131 | "IsSetAsOutput": false,
132 | "Excluded": false,
133 | "X": 70.6556578725015,
134 | "Y": 342.198676318395
135 | },
136 | {
137 | "ShowGeometry": true,
138 | "Name": "Grid.ByStartPointEndPoint",
139 | "Id": "e19ec24bb41e41598ec6dbc8a8707d56",
140 | "IsSetAsInput": false,
141 | "IsSetAsOutput": false,
142 | "Excluded": false,
143 | "X": 580.630676618591,
144 | "Y": 326.862259144941
145 | }
146 | ],
147 | "Annotations": [],
148 | "X": -20.6858475461585,
149 | "Y": -46.9898416383835,
150 | "Zoom": 0.888789228297156
151 | }
152 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/John/2018-UKDynamoDay_04.3_CustomPackages_End.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "2018-UKDynamoDay_04.3_CustomPackages_End",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "PythonNodeModels.PythonNode, PythonNodeModels",
14 | "NodeType": "PythonScriptNode",
15 | "Code": "#this imports the default libraries\r\nimport clr\r\n#adds the revit api\r\nclr.AddReference('RevitAPI')\r\nfrom Autodesk.Revit.DB import *\r\n#adds the ability to use \"transactions\"\r\nclr.AddReference(\"RevitServices\")\r\nimport RevitServices\r\nfrom RevitServices.Persistence import DocumentManager\r\nfrom RevitServices.Transactions import TransactionManager\r\n#the current revit file\r\ndoc = DocumentManager.Instance.CurrentDBDocument\r\n#the internal value of the dimension\r\nitem = UnwrapElement(IN[0])\r\n#the above value\r\nname = IN[1]\r\n#start the change\r\nTransactionManager.Instance.EnsureInTransaction(doc)\r\n#set the above value\r\nitem.Above = name\r\n#end the change\r\nTransactionManager.Instance.TransactionTaskDone()\r\n#output something\r\nOUT = name",
16 | "VariableInputPorts": true,
17 | "Id": "a70a87eb245344d6ac012610a56e54cf",
18 | "Inputs": [
19 | {
20 | "Id": "142b7a224c454a118f729e43596b8299",
21 | "Name": "IN[0]",
22 | "Description": "Input #0",
23 | "UsingDefaultValue": false,
24 | "Level": 2,
25 | "UseLevels": false,
26 | "KeepListStructure": false
27 | },
28 | {
29 | "Id": "45870a045254416696d1bdd3728bc2ee",
30 | "Name": "IN[1]",
31 | "Description": "Input #1",
32 | "UsingDefaultValue": false,
33 | "Level": 2,
34 | "UseLevels": false,
35 | "KeepListStructure": false
36 | }
37 | ],
38 | "Outputs": [
39 | {
40 | "Id": "6f3187674d334899983116a23ca6ce4e",
41 | "Name": "OUT",
42 | "Description": "Result of the python script",
43 | "UsingDefaultValue": false,
44 | "Level": 2,
45 | "UseLevels": false,
46 | "KeepListStructure": false
47 | }
48 | ],
49 | "Replication": "Disabled",
50 | "Description": "Runs an embedded IronPython script."
51 | },
52 | {
53 | "ConcreteType": "Dynamo.Nodes.DSModelElementSelection, DSRevitNodesUI",
54 | "NodeType": "ExtensionNode",
55 | "InstanceId": [
56 | "d736e189-fb1e-49c3-8ee2-0a031fc77229-000340cc"
57 | ],
58 | "Id": "d21fceea233045c4b99c34c93c7ad170",
59 | "Inputs": [],
60 | "Outputs": [
61 | {
62 | "Id": "e9f7fcb6bca246e0824bb49c8d3f6e1b",
63 | "Name": "Element",
64 | "Description": "The selected elements.",
65 | "UsingDefaultValue": false,
66 | "Level": 2,
67 | "UseLevels": false,
68 | "KeepListStructure": false
69 | }
70 | ],
71 | "Replication": "Disabled"
72 | },
73 | {
74 | "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
75 | "NodeType": "CodeBlockNode",
76 | "Code": "\"test\";",
77 | "Id": "3770e03337ea478097d626f69ea82eac",
78 | "Inputs": [],
79 | "Outputs": [
80 | {
81 | "Id": "7d0b05dc9dff47098d3cec99d33b8ab0",
82 | "Name": "",
83 | "Description": "Value of expression at line 1",
84 | "UsingDefaultValue": false,
85 | "Level": 2,
86 | "UseLevels": false,
87 | "KeepListStructure": false
88 | }
89 | ],
90 | "Replication": "Disabled",
91 | "Description": "Allows for DesignScript code to be authored directly"
92 | }
93 | ],
94 | "Connectors": [
95 | {
96 | "Start": "e9f7fcb6bca246e0824bb49c8d3f6e1b",
97 | "End": "142b7a224c454a118f729e43596b8299",
98 | "Id": "f957412b0bcf409885e75edfb69d68f7"
99 | },
100 | {
101 | "Start": "7d0b05dc9dff47098d3cec99d33b8ab0",
102 | "End": "45870a045254416696d1bdd3728bc2ee",
103 | "Id": "1f45ab7308604b05aa2a4d4dac702a29"
104 | }
105 | ],
106 | "Dependencies": [],
107 | "Bindings": [],
108 | "View": {
109 | "Dynamo": {
110 | "ScaleFactor": 1.0,
111 | "HasRunWithoutCrash": true,
112 | "IsVisibleInDynamoLibrary": true,
113 | "Version": "2.0.2.6826",
114 | "RunType": "Automatic",
115 | "RunPeriod": "1000"
116 | },
117 | "Camera": {
118 | "Name": "Background Preview",
119 | "EyeX": -17.0,
120 | "EyeY": 24.0,
121 | "EyeZ": 50.0,
122 | "LookX": 12.0,
123 | "LookY": -13.0,
124 | "LookZ": -58.0,
125 | "UpX": 0.0,
126 | "UpY": 1.0,
127 | "UpZ": 0.0
128 | },
129 | "NodeViews": [
130 | {
131 | "ShowGeometry": true,
132 | "Name": "Python Script",
133 | "Id": "a70a87eb245344d6ac012610a56e54cf",
134 | "IsSetAsInput": false,
135 | "IsSetAsOutput": false,
136 | "Excluded": false,
137 | "X": 792.146877887911,
138 | "Y": 321.025549835109
139 | },
140 | {
141 | "ShowGeometry": true,
142 | "Name": "Select Model Element",
143 | "Id": "d21fceea233045c4b99c34c93c7ad170",
144 | "IsSetAsInput": true,
145 | "IsSetAsOutput": false,
146 | "Excluded": false,
147 | "X": 424.0,
148 | "Y": 261.0
149 | },
150 | {
151 | "ShowGeometry": true,
152 | "Name": "Code Block",
153 | "Id": "3770e03337ea478097d626f69ea82eac",
154 | "IsSetAsInput": false,
155 | "IsSetAsOutput": false,
156 | "Excluded": false,
157 | "X": 486.0,
158 | "Y": 400.0
159 | }
160 | ],
161 | "Annotations": [],
162 | "X": -390.822640407177,
163 | "Y": -249.389488383348,
164 | "Zoom": 1.51051845643135
165 | }
166 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/LEVELS_FINAL.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "LEVELS_FINAL",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Revit.Elements.Level.ByElevation@double",
16 | "Id": "7d952e67bfb84072a0b40ec28d6317b3",
17 | "Inputs": [
18 | {
19 | "Id": "1b465a7b41d74a63990f997e9e67d841",
20 | "Name": "elevation",
21 | "Description": "double",
22 | "UsingDefaultValue": false,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | }
27 | ],
28 | "Outputs": [
29 | {
30 | "Id": "655a14cb663345be88cef74485b31e7c",
31 | "Name": "Level",
32 | "Description": "Level",
33 | "UsingDefaultValue": false,
34 | "Level": 2,
35 | "UseLevels": false,
36 | "KeepListStructure": false
37 | }
38 | ],
39 | "Replication": "Auto",
40 | "Description": "Create a Revit Level given it's elevation. The name will be whatever Revit gives it.\n\nLevel.ByElevation (elevation: double): Level"
41 | },
42 | {
43 | "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
44 | "NodeType": "CodeBlockNode",
45 | "Code": "0..100..10;",
46 | "Id": "a87db29e5aed45bb8e6979ada6974aca",
47 | "Inputs": [],
48 | "Outputs": [
49 | {
50 | "Id": "a84b74d4dfed42d1966a801d1678751f",
51 | "Name": "",
52 | "Description": "Value of expression at line 1",
53 | "UsingDefaultValue": false,
54 | "Level": 2,
55 | "UseLevels": false,
56 | "KeepListStructure": false
57 | }
58 | ],
59 | "Replication": "Disabled",
60 | "Description": "Allows for DesignScript code to be authored directly"
61 | }
62 | ],
63 | "Connectors": [
64 | {
65 | "Start": "a84b74d4dfed42d1966a801d1678751f",
66 | "End": "1b465a7b41d74a63990f997e9e67d841",
67 | "Id": "4456f486542a4fa58d81bc18f9fa141f"
68 | }
69 | ],
70 | "Dependencies": [],
71 | "Bindings": [],
72 | "View": {
73 | "Dynamo": {
74 | "ScaleFactor": 1.0,
75 | "HasRunWithoutCrash": false,
76 | "IsVisibleInDynamoLibrary": true,
77 | "Version": "2.0.2.6826",
78 | "RunType": "Manual",
79 | "RunPeriod": "1000"
80 | },
81 | "Camera": {
82 | "Name": "Background Preview",
83 | "EyeX": -17.0,
84 | "EyeY": 24.0,
85 | "EyeZ": 50.0,
86 | "LookX": 12.0,
87 | "LookY": -13.0,
88 | "LookZ": -58.0,
89 | "UpX": 0.0,
90 | "UpY": 1.0,
91 | "UpZ": 0.0
92 | },
93 | "NodeViews": [
94 | {
95 | "ShowGeometry": true,
96 | "Name": "Level.ByElevation",
97 | "Id": "7d952e67bfb84072a0b40ec28d6317b3",
98 | "IsSetAsInput": false,
99 | "IsSetAsOutput": false,
100 | "Excluded": false,
101 | "X": 510.0,
102 | "Y": 260.5
103 | },
104 | {
105 | "ShowGeometry": true,
106 | "Name": "Code Block",
107 | "Id": "a87db29e5aed45bb8e6979ada6974aca",
108 | "IsSetAsInput": false,
109 | "IsSetAsOutput": false,
110 | "Excluded": false,
111 | "X": 261.0,
112 | "Y": 259.0
113 | }
114 | ],
115 | "Annotations": [],
116 | "X": -82.0,
117 | "Y": -2.0,
118 | "Zoom": 1.0
119 | }
120 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/PIPE_TOPO_START.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "PIPE_TOPO_START",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Nodes.DSModelElementSelection, DSRevitNodesUI",
14 | "NodeType": "ExtensionNode",
15 | "InstanceId": [],
16 | "Id": "d07bcb40aa3d44e7bebb3aa88d306ffc",
17 | "Inputs": [],
18 | "Outputs": [
19 | {
20 | "Id": "f1d0748ce2cf4b23b8f52a76e6e0d107",
21 | "Name": "Element",
22 | "Description": "The selected elements.",
23 | "UsingDefaultValue": false,
24 | "Level": 2,
25 | "UseLevels": false,
26 | "KeepListStructure": false
27 | }
28 | ],
29 | "Replication": "Disabled"
30 | },
31 | {
32 | "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
33 | "FunctionSignature": "b34e0607-e2ef-4e43-8d24-3f79407b545e",
34 | "FunctionType": "Graph",
35 | "NodeType": "FunctionNode",
36 | "Id": "c032150496fd452182d8b3d9e52baf54",
37 | "Inputs": [
38 | {
39 | "Id": "c24b9b7fb4ec4a48b3d7db89f1c264d7",
40 | "Name": "topography",
41 | "Description": "Input #1",
42 | "UsingDefaultValue": false,
43 | "Level": 2,
44 | "UseLevels": false,
45 | "KeepListStructure": false
46 | }
47 | ],
48 | "Outputs": [
49 | {
50 | "Id": "a428192e208441dab6013f3409075670",
51 | "Name": "polysurface",
52 | "Description": "Output #1",
53 | "UsingDefaultValue": false,
54 | "Level": 2,
55 | "UseLevels": false,
56 | "KeepListStructure": false
57 | }
58 | ],
59 | "Replication": "Auto",
60 | "Description": "Optimized algorithm for converting topographies into polysurfaces. Tested with topographies containing up to 40 000 points. \r\nWarning conversions of such mangitudes consume a lot of resources and are sub-optimal. Ensure that you have plenty at least 8GB of ram and patience before attempting such a conversion, otherwise your Dynamo and Revit instances may crash."
61 | },
62 | {
63 | "ConcreteType": "Dynamo.Nodes.DSModelElementsSelection, DSRevitNodesUI",
64 | "NodeType": "ExtensionNode",
65 | "InstanceId": [],
66 | "Id": "ca124bbd0d4447f9addb52d83902b559",
67 | "Inputs": [],
68 | "Outputs": [
69 | {
70 | "Id": "053ab802a1874b44b8a60ef5ae6c26db",
71 | "Name": "Elements",
72 | "Description": "The selected elements.",
73 | "UsingDefaultValue": false,
74 | "Level": 2,
75 | "UseLevels": false,
76 | "KeepListStructure": false
77 | }
78 | ],
79 | "Replication": "Disabled"
80 | },
81 | {
82 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
83 | "NodeType": "FunctionNode",
84 | "FunctionSignature": "Revit.Elements.Element.Curves",
85 | "Id": "b2a6977e30294117a1f7a352fae212f8",
86 | "Inputs": [
87 | {
88 | "Id": "3fa903643fa74097956fb819b53645db",
89 | "Name": "element",
90 | "Description": "Revit.Elements.Element",
91 | "UsingDefaultValue": false,
92 | "Level": 2,
93 | "UseLevels": false,
94 | "KeepListStructure": false
95 | }
96 | ],
97 | "Outputs": [
98 | {
99 | "Id": "b12dd3d97bf64464b49086f9ed129001",
100 | "Name": "Curve[]",
101 | "Description": "Curve[]",
102 | "UsingDefaultValue": false,
103 | "Level": 2,
104 | "UseLevels": false,
105 | "KeepListStructure": false
106 | }
107 | ],
108 | "Replication": "Auto",
109 | "Description": "The Curves in this Element\n\nElement.Curves: Curve[]"
110 | }
111 | ],
112 | "Connectors": [
113 | {
114 | "Start": "f1d0748ce2cf4b23b8f52a76e6e0d107",
115 | "End": "c24b9b7fb4ec4a48b3d7db89f1c264d7",
116 | "Id": "2cf313e0eade49959d3f00e3b97b858c"
117 | },
118 | {
119 | "Start": "053ab802a1874b44b8a60ef5ae6c26db",
120 | "End": "3fa903643fa74097956fb819b53645db",
121 | "Id": "2f075c92ebe3423a96d8109e250b6dfe"
122 | }
123 | ],
124 | "Dependencies": [
125 | "b34e0607-e2ef-4e43-8d24-3f79407b545e"
126 | ],
127 | "Bindings": [],
128 | "View": {
129 | "Dynamo": {
130 | "ScaleFactor": 1.0,
131 | "HasRunWithoutCrash": false,
132 | "IsVisibleInDynamoLibrary": true,
133 | "Version": "2.0.2.6826",
134 | "RunType": "Automatic",
135 | "RunPeriod": "1000"
136 | },
137 | "Camera": {
138 | "Name": "Background Preview",
139 | "EyeX": 503.07559204101562,
140 | "EyeY": 709.9185791015625,
141 | "EyeZ": 907.45458984375,
142 | "LookX": -548.1011962890625,
143 | "LookY": -443.6376953125,
144 | "LookZ": -952.76806640625,
145 | "UpX": -0.083158999681472778,
146 | "UpY": 0.98599600791931152,
147 | "UpZ": -0.14455585181713104
148 | },
149 | "NodeViews": [
150 | {
151 | "ShowGeometry": true,
152 | "Name": "Select Model Element",
153 | "Id": "d07bcb40aa3d44e7bebb3aa88d306ffc",
154 | "IsSetAsInput": true,
155 | "IsSetAsOutput": false,
156 | "Excluded": false,
157 | "X": 134.0,
158 | "Y": 64.4
159 | },
160 | {
161 | "ShowGeometry": true,
162 | "Name": "Topography.ToPolySurface",
163 | "Id": "c032150496fd452182d8b3d9e52baf54",
164 | "IsSetAsInput": false,
165 | "IsSetAsOutput": false,
166 | "Excluded": false,
167 | "X": 439.6,
168 | "Y": 56.3999999999999
169 | },
170 | {
171 | "ShowGeometry": true,
172 | "Name": "Select Model Elements",
173 | "Id": "ca124bbd0d4447f9addb52d83902b559",
174 | "IsSetAsInput": true,
175 | "IsSetAsOutput": false,
176 | "Excluded": false,
177 | "X": 129.2,
178 | "Y": 199.6
179 | },
180 | {
181 | "ShowGeometry": true,
182 | "Name": "Element.Curves",
183 | "Id": "b2a6977e30294117a1f7a352fae212f8",
184 | "IsSetAsInput": false,
185 | "IsSetAsOutput": false,
186 | "Excluded": false,
187 | "X": 466.0,
188 | "Y": 229.2
189 | }
190 | ],
191 | "Annotations": [],
192 | "X": -130.4,
193 | "Y": 21.6,
194 | "Zoom": 1.0
195 | }
196 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/POINT.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "POINT",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Point.ByCoordinates@double,double,double",
16 | "Id": "32f7af03377940db9b9eff065528c53a",
17 | "Inputs": [
18 | {
19 | "Id": "fee119f2b1da4133bb7a6a814b48a6fc",
20 | "Name": "x",
21 | "Description": "double\nDefault value : 0",
22 | "UsingDefaultValue": true,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "3ffcdf4f06d445e3ac328cf945ba4890",
29 | "Name": "y",
30 | "Description": "double\nDefault value : 0",
31 | "UsingDefaultValue": true,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | },
36 | {
37 | "Id": "50035eb7778e422a834cacc4282af891",
38 | "Name": "z",
39 | "Description": "double\nDefault value : 0",
40 | "UsingDefaultValue": true,
41 | "Level": 2,
42 | "UseLevels": false,
43 | "KeepListStructure": false
44 | }
45 | ],
46 | "Outputs": [
47 | {
48 | "Id": "196029051fca4483bb952ae802e5e295",
49 | "Name": "Point",
50 | "Description": "Point",
51 | "UsingDefaultValue": false,
52 | "Level": 2,
53 | "UseLevels": false,
54 | "KeepListStructure": false
55 | }
56 | ],
57 | "Replication": "Auto",
58 | "Description": "Form a Point given 3 cartesian coordinates\n\nPoint.ByCoordinates (x: double = 0, y: double = 0, z: double = 0): Point"
59 | },
60 | {
61 | "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
62 | "NodeType": "CodeBlockNode",
63 | "Code": "1;",
64 | "Id": "ef3577e9f89e482f8b8ca9849dfbbe09",
65 | "Inputs": [],
66 | "Outputs": [
67 | {
68 | "Id": "4dce455301934dffb7ccf4b2aec9cac1",
69 | "Name": "",
70 | "Description": "Value of expression at line 1",
71 | "UsingDefaultValue": false,
72 | "Level": 2,
73 | "UseLevels": false,
74 | "KeepListStructure": false
75 | }
76 | ],
77 | "Replication": "Disabled",
78 | "Description": "Allows for DesignScript code to be authored directly"
79 | },
80 | {
81 | "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
82 | "NodeType": "CodeBlockNode",
83 | "Code": "2;",
84 | "Id": "7cdab865ff39404ca9a80379a9cb3b5c",
85 | "Inputs": [],
86 | "Outputs": [
87 | {
88 | "Id": "661c8abf3ab54e02b663821f83220b0a",
89 | "Name": "",
90 | "Description": "Value of expression at line 1",
91 | "UsingDefaultValue": false,
92 | "Level": 2,
93 | "UseLevels": false,
94 | "KeepListStructure": false
95 | }
96 | ],
97 | "Replication": "Disabled",
98 | "Description": "Allows for DesignScript code to be authored directly"
99 | },
100 | {
101 | "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
102 | "NodeType": "CodeBlockNode",
103 | "Code": "3;",
104 | "Id": "03d398601d3043ec9ab367fe0b071b3c",
105 | "Inputs": [],
106 | "Outputs": [
107 | {
108 | "Id": "3e4021dcc01f4f8c8295221ad057f4ad",
109 | "Name": "",
110 | "Description": "Value of expression at line 1",
111 | "UsingDefaultValue": false,
112 | "Level": 2,
113 | "UseLevels": false,
114 | "KeepListStructure": false
115 | }
116 | ],
117 | "Replication": "Disabled",
118 | "Description": "Allows for DesignScript code to be authored directly"
119 | }
120 | ],
121 | "Connectors": [
122 | {
123 | "Start": "4dce455301934dffb7ccf4b2aec9cac1",
124 | "End": "fee119f2b1da4133bb7a6a814b48a6fc",
125 | "Id": "0d30734891a64d44abd4d0adb116d3fa"
126 | },
127 | {
128 | "Start": "661c8abf3ab54e02b663821f83220b0a",
129 | "End": "3ffcdf4f06d445e3ac328cf945ba4890",
130 | "Id": "4f001167e2704721be7e0b8ec4a1dcce"
131 | },
132 | {
133 | "Start": "3e4021dcc01f4f8c8295221ad057f4ad",
134 | "End": "50035eb7778e422a834cacc4282af891",
135 | "Id": "fdee47fd4f834d209cd51bb77d1aaa83"
136 | }
137 | ],
138 | "Dependencies": [],
139 | "Bindings": [],
140 | "View": {
141 | "Dynamo": {
142 | "ScaleFactor": 1.0,
143 | "HasRunWithoutCrash": false,
144 | "IsVisibleInDynamoLibrary": true,
145 | "Version": "2.0.2.6826",
146 | "RunType": "Automatic",
147 | "RunPeriod": "1000"
148 | },
149 | "Camera": {
150 | "Name": "Background Preview",
151 | "EyeX": -17.0,
152 | "EyeY": 24.0,
153 | "EyeZ": 50.0,
154 | "LookX": 12.0,
155 | "LookY": -13.0,
156 | "LookZ": -58.0,
157 | "UpX": 0.0,
158 | "UpY": 1.0,
159 | "UpZ": 0.0
160 | },
161 | "NodeViews": [
162 | {
163 | "ShowGeometry": true,
164 | "Name": "Point.ByCoordinates",
165 | "Id": "32f7af03377940db9b9eff065528c53a",
166 | "IsSetAsInput": false,
167 | "IsSetAsOutput": false,
168 | "Excluded": false,
169 | "X": 752.5,
170 | "Y": 389.0
171 | },
172 | {
173 | "ShowGeometry": true,
174 | "Name": "Code Block",
175 | "Id": "ef3577e9f89e482f8b8ca9849dfbbe09",
176 | "IsSetAsInput": false,
177 | "IsSetAsOutput": false,
178 | "Excluded": false,
179 | "X": 310.0,
180 | "Y": 367.0
181 | },
182 | {
183 | "ShowGeometry": true,
184 | "Name": "Code Block",
185 | "Id": "7cdab865ff39404ca9a80379a9cb3b5c",
186 | "IsSetAsInput": false,
187 | "IsSetAsOutput": false,
188 | "Excluded": false,
189 | "X": 404.0,
190 | "Y": 449.0
191 | },
192 | {
193 | "ShowGeometry": true,
194 | "Name": "Code Block",
195 | "Id": "03d398601d3043ec9ab367fe0b071b3c",
196 | "IsSetAsInput": false,
197 | "IsSetAsOutput": false,
198 | "Excluded": false,
199 | "X": 502.0,
200 | "Y": 527.0
201 | }
202 | ],
203 | "Annotations": [],
204 | "X": 0.0,
205 | "Y": 0.0,
206 | "Zoom": 1.0
207 | }
208 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/PROPERTYLINES_3D_START.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "PROPERTYLINES_3D_START",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
14 | "FunctionSignature": "b34e0607-e2ef-4e43-8d24-3f79407b545e",
15 | "FunctionType": "Graph",
16 | "NodeType": "FunctionNode",
17 | "Id": "c85c800671b94d009df185f34b9b0f0b",
18 | "Inputs": [
19 | {
20 | "Id": "3ff283aae42a49ae8e140fa129adb52f",
21 | "Name": "topography",
22 | "Description": "Input #1",
23 | "UsingDefaultValue": false,
24 | "Level": 2,
25 | "UseLevels": false,
26 | "KeepListStructure": false
27 | }
28 | ],
29 | "Outputs": [
30 | {
31 | "Id": "abfc0424ef1343e2a71467a9a386745a",
32 | "Name": "polysurface",
33 | "Description": "Output #1",
34 | "UsingDefaultValue": false,
35 | "Level": 2,
36 | "UseLevels": false,
37 | "KeepListStructure": false
38 | }
39 | ],
40 | "Replication": "Auto",
41 | "Description": "Optimized algorithm for converting topographies into polysurfaces. Tested with topographies containing up to 40 000 points. \r\nWarning conversions of such mangitudes consume a lot of resources and are sub-optimal. Ensure that you have plenty at least 8GB of ram and patience before attempting such a conversion, otherwise your Dynamo and Revit instances may crash."
42 | },
43 | {
44 | "ConcreteType": "Dynamo.Nodes.DSModelElementSelection, DSRevitNodesUI",
45 | "NodeType": "ExtensionNode",
46 | "InstanceId": [],
47 | "Id": "abbcebe0d5304d97a8e3d774ffd842b0",
48 | "Inputs": [],
49 | "Outputs": [
50 | {
51 | "Id": "b94f83776ff6495085a88f5dd7514fa6",
52 | "Name": "Element",
53 | "Description": "The selected elements.",
54 | "UsingDefaultValue": false,
55 | "Level": 2,
56 | "UseLevels": false,
57 | "KeepListStructure": false
58 | }
59 | ],
60 | "Replication": "Disabled"
61 | }
62 | ],
63 | "Connectors": [
64 | {
65 | "Start": "b94f83776ff6495085a88f5dd7514fa6",
66 | "End": "3ff283aae42a49ae8e140fa129adb52f",
67 | "Id": "21358cacf92b44fe9531e6dee0fb8e15"
68 | }
69 | ],
70 | "Dependencies": [
71 | "b34e0607-e2ef-4e43-8d24-3f79407b545e"
72 | ],
73 | "Bindings": [],
74 | "View": {
75 | "Dynamo": {
76 | "ScaleFactor": 1.0,
77 | "HasRunWithoutCrash": false,
78 | "IsVisibleInDynamoLibrary": true,
79 | "Version": "2.0.2.6826",
80 | "RunType": "Manual",
81 | "RunPeriod": "1000"
82 | },
83 | "Camera": {
84 | "Name": "Background Preview",
85 | "EyeX": 198.56826782226562,
86 | "EyeY": 1037.2972412109375,
87 | "EyeZ": 1115.07080078125,
88 | "LookX": -185.71304321289062,
89 | "LookY": -1066.559814453125,
90 | "LookZ": -1073.975830078125,
91 | "UpX": -0.09029417484998703,
92 | "UpY": 0.84804815053939819,
93 | "UpZ": -0.52216988801956177
94 | },
95 | "NodeViews": [
96 | {
97 | "ShowGeometry": true,
98 | "Name": "Topography.ToPolySurface",
99 | "Id": "c85c800671b94d009df185f34b9b0f0b",
100 | "IsSetAsInput": false,
101 | "IsSetAsOutput": false,
102 | "Excluded": false,
103 | "X": 1109.92551845607,
104 | "Y": -251.422002539176
105 | },
106 | {
107 | "ShowGeometry": true,
108 | "Name": "Select Model Element",
109 | "Id": "abbcebe0d5304d97a8e3d774ffd842b0",
110 | "IsSetAsInput": true,
111 | "IsSetAsOutput": false,
112 | "Excluded": false,
113 | "X": 905.636718844574,
114 | "Y": -250.127701862674
115 | }
116 | ],
117 | "Annotations": [],
118 | "X": -1007.03770210394,
119 | "Y": 473.547542738885,
120 | "Zoom": 1.40210270027359
121 | }
122 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/PYRAMID.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "PYRAMID",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Cuboid.ByCorners@Autodesk.DesignScript.Geometry.Point,Autodesk.DesignScript.Geometry.Point",
16 | "Id": "13216c1ffce84733b929786b1fd27a10",
17 | "Inputs": [
18 | {
19 | "Id": "0acb7414d6e046b7982b8ff9d737307a",
20 | "Name": "lowPoint",
21 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)",
22 | "UsingDefaultValue": true,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "d4d61a1228bf4ec78ae6b3ea6b4d5c76",
29 | "Name": "highPoint",
30 | "Description": "Point\nDefault value : Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)",
31 | "UsingDefaultValue": true,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | }
36 | ],
37 | "Outputs": [
38 | {
39 | "Id": "3237f7ee1db64fe1bbf90c91dc315a12",
40 | "Name": "Cuboid",
41 | "Description": "Cuboid",
42 | "UsingDefaultValue": false,
43 | "Level": 2,
44 | "UseLevels": false,
45 | "KeepListStructure": false
46 | }
47 | ],
48 | "Replication": "Auto",
49 | "Description": "Create an Cuboid spanning from low Point to high Point.\n\nCuboid.ByCorners (lowPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0), highPoint: Point = Autodesk.DesignScript.Geometry.Point.ByCoordinates(1, 1, 1)): Cuboid"
50 | }
51 | ],
52 | "Connectors": [],
53 | "Dependencies": [],
54 | "Bindings": [],
55 | "View": {
56 | "Dynamo": {
57 | "ScaleFactor": 1.0,
58 | "HasRunWithoutCrash": false,
59 | "IsVisibleInDynamoLibrary": true,
60 | "Version": "2.0.2.6826",
61 | "RunType": "Automatic",
62 | "RunPeriod": "1000"
63 | },
64 | "Camera": {
65 | "Name": "Background Preview",
66 | "EyeX": 2.2815992832183838,
67 | "EyeY": 2.2112925052642822,
68 | "EyeZ": 0.71569454669952393,
69 | "LookX": -7.0120434761047363,
70 | "LookY": -4.4165630340576172,
71 | "LookZ": -4.8534445762634277,
72 | "UpX": -0.21281386911869049,
73 | "UpY": 0.96592581272125244,
74 | "UpZ": -0.14730089902877808
75 | },
76 | "NodeViews": [
77 | {
78 | "ShowGeometry": true,
79 | "Name": "Cuboid.ByCorners",
80 | "Id": "13216c1ffce84733b929786b1fd27a10",
81 | "IsSetAsInput": false,
82 | "IsSetAsOutput": false,
83 | "Excluded": false,
84 | "X": 823.808711686873,
85 | "Y": 530.922784376721
86 | }
87 | ],
88 | "Annotations": [],
89 | "X": -966.012129775188,
90 | "Y": -1027.30196819647,
91 | "Zoom": 2.02304964773238
92 | }
93 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/RAMP_AREA_MID.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "RAMP_AREA_MID",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Nodes.DSModelElementSelection, DSRevitNodesUI",
14 | "NodeType": "ExtensionNode",
15 | "InstanceId": [],
16 | "Id": "33f8a9f08d3640f092b8a1a3b4f8a7cf",
17 | "Inputs": [],
18 | "Outputs": [
19 | {
20 | "Id": "d168dbc2b88b41ccba9cbdafeb0a3a03",
21 | "Name": "Element",
22 | "Description": "The selected elements.",
23 | "UsingDefaultValue": false,
24 | "Level": 2,
25 | "UseLevels": false,
26 | "KeepListStructure": false
27 | }
28 | ],
29 | "Replication": "Disabled"
30 | },
31 | {
32 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
33 | "NodeType": "FunctionNode",
34 | "FunctionSignature": "Revit.Elements.Element.Faces",
35 | "Id": "2f57dfe52638417caa9e178d4b248c6d",
36 | "Inputs": [
37 | {
38 | "Id": "22205f746e5047a2a0d2e306f0f2e2c7",
39 | "Name": "element",
40 | "Description": "Revit.Elements.Element",
41 | "UsingDefaultValue": false,
42 | "Level": 2,
43 | "UseLevels": false,
44 | "KeepListStructure": false
45 | }
46 | ],
47 | "Outputs": [
48 | {
49 | "Id": "c17876d8444d4868839e82ed8a32bef8",
50 | "Name": "Surface[]",
51 | "Description": "Surface[]",
52 | "UsingDefaultValue": false,
53 | "Level": 2,
54 | "UseLevels": false,
55 | "KeepListStructure": false
56 | }
57 | ],
58 | "Replication": "Auto",
59 | "Description": "The Faces in this Element\n\nElement.Faces: Surface[]"
60 | },
61 | {
62 | "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
63 | "NodeType": "CodeBlockNode",
64 | "Code": "x[3];",
65 | "Id": "1ba7cf23ee2546c0b9f1a2f2813792e0",
66 | "Inputs": [
67 | {
68 | "Id": "3eeb93b08d3c4935964018533d4f3504",
69 | "Name": "x",
70 | "Description": "x",
71 | "UsingDefaultValue": false,
72 | "Level": 2,
73 | "UseLevels": false,
74 | "KeepListStructure": false
75 | }
76 | ],
77 | "Outputs": [
78 | {
79 | "Id": "d21cc692386e486390deb4c125c14fa7",
80 | "Name": "",
81 | "Description": "Value of expression at line 1",
82 | "UsingDefaultValue": false,
83 | "Level": 2,
84 | "UseLevels": false,
85 | "KeepListStructure": false
86 | }
87 | ],
88 | "Replication": "Disabled",
89 | "Description": "Allows for DesignScript code to be authored directly"
90 | },
91 | {
92 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
93 | "NodeType": "FunctionNode",
94 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.Area",
95 | "Id": "a49a71989b9449109675f973c2c965ab",
96 | "Inputs": [
97 | {
98 | "Id": "766296f5bd2d4d6587f97662335665a2",
99 | "Name": "surface",
100 | "Description": "Autodesk.DesignScript.Geometry.Surface",
101 | "UsingDefaultValue": false,
102 | "Level": 2,
103 | "UseLevels": false,
104 | "KeepListStructure": false
105 | }
106 | ],
107 | "Outputs": [
108 | {
109 | "Id": "d59c5674a6c941faa1a82217d9085383",
110 | "Name": "double",
111 | "Description": "double",
112 | "UsingDefaultValue": false,
113 | "Level": 2,
114 | "UseLevels": false,
115 | "KeepListStructure": false
116 | }
117 | ],
118 | "Replication": "Auto",
119 | "Description": "Returns the total surface area.\n\nSurface.Area: double"
120 | }
121 | ],
122 | "Connectors": [
123 | {
124 | "Start": "d168dbc2b88b41ccba9cbdafeb0a3a03",
125 | "End": "22205f746e5047a2a0d2e306f0f2e2c7",
126 | "Id": "31d622538a724d1a9483941a0e6b1d87"
127 | },
128 | {
129 | "Start": "c17876d8444d4868839e82ed8a32bef8",
130 | "End": "3eeb93b08d3c4935964018533d4f3504",
131 | "Id": "2f404783e85c4b74bf1f693bc71d9d60"
132 | },
133 | {
134 | "Start": "d21cc692386e486390deb4c125c14fa7",
135 | "End": "766296f5bd2d4d6587f97662335665a2",
136 | "Id": "e0042a1d5a7740538394b83c6e0293b2"
137 | }
138 | ],
139 | "Dependencies": [],
140 | "Bindings": [],
141 | "View": {
142 | "Dynamo": {
143 | "ScaleFactor": 1.0,
144 | "HasRunWithoutCrash": false,
145 | "IsVisibleInDynamoLibrary": true,
146 | "Version": "2.0.2.6826",
147 | "RunType": "Manual",
148 | "RunPeriod": "100"
149 | },
150 | "Camera": {
151 | "Name": "Background Preview",
152 | "EyeX": -17.0,
153 | "EyeY": 24.0,
154 | "EyeZ": 50.0,
155 | "LookX": 12.0,
156 | "LookY": -13.0,
157 | "LookZ": -58.0,
158 | "UpX": 0.0,
159 | "UpY": 1.0,
160 | "UpZ": 0.0
161 | },
162 | "NodeViews": [
163 | {
164 | "ShowGeometry": true,
165 | "Name": "Select Model Element",
166 | "Id": "33f8a9f08d3640f092b8a1a3b4f8a7cf",
167 | "IsSetAsInput": true,
168 | "IsSetAsOutput": false,
169 | "Excluded": false,
170 | "X": 387.5,
171 | "Y": 384.5
172 | },
173 | {
174 | "ShowGeometry": true,
175 | "Name": "Element.Faces",
176 | "Id": "2f57dfe52638417caa9e178d4b248c6d",
177 | "IsSetAsInput": false,
178 | "IsSetAsOutput": false,
179 | "Excluded": false,
180 | "X": 614.5,
181 | "Y": 385.5
182 | },
183 | {
184 | "ShowGeometry": true,
185 | "Name": "Code Block",
186 | "Id": "1ba7cf23ee2546c0b9f1a2f2813792e0",
187 | "IsSetAsInput": false,
188 | "IsSetAsOutput": false,
189 | "Excluded": false,
190 | "X": 841.128014412838,
191 | "Y": 387.869416271559
192 | },
193 | {
194 | "ShowGeometry": true,
195 | "Name": "Surface.Area",
196 | "Id": "a49a71989b9449109675f973c2c965ab",
197 | "IsSetAsInput": false,
198 | "IsSetAsOutput": false,
199 | "Excluded": false,
200 | "X": 1006.8853780255,
201 | "Y": 384.716497629356
202 | }
203 | ],
204 | "Annotations": [],
205 | "X": -187.11674916594,
206 | "Y": -262.293871533681,
207 | "Zoom": 1.07925372895183
208 | }
209 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/RAMP_AREA_START.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "RAMP_AREA_START",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Nodes.DSModelElementSelection, DSRevitNodesUI",
14 | "NodeType": "ExtensionNode",
15 | "InstanceId": [],
16 | "Id": "33f8a9f08d3640f092b8a1a3b4f8a7cf",
17 | "Inputs": [],
18 | "Outputs": [
19 | {
20 | "Id": "02090b1c2be149689c3d39a8bb26de77",
21 | "Name": "Element",
22 | "Description": "The selected elements.",
23 | "UsingDefaultValue": false,
24 | "Level": 2,
25 | "UseLevels": false,
26 | "KeepListStructure": false
27 | }
28 | ],
29 | "Replication": "Disabled"
30 | },
31 | {
32 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
33 | "NodeType": "FunctionNode",
34 | "FunctionSignature": "Revit.Elements.Element.Faces",
35 | "Id": "2f57dfe52638417caa9e178d4b248c6d",
36 | "Inputs": [
37 | {
38 | "Id": "20a1e0f29f524091a95bf80dd622bc04",
39 | "Name": "element",
40 | "Description": "Revit.Elements.Element",
41 | "UsingDefaultValue": false,
42 | "Level": 2,
43 | "UseLevels": false,
44 | "KeepListStructure": false
45 | }
46 | ],
47 | "Outputs": [
48 | {
49 | "Id": "a1c384306eb7429c93e90c93101117c3",
50 | "Name": "Surface[]",
51 | "Description": "Surface[]",
52 | "UsingDefaultValue": false,
53 | "Level": 2,
54 | "UseLevels": false,
55 | "KeepListStructure": false
56 | }
57 | ],
58 | "Replication": "Auto",
59 | "Description": "The Faces in this Element\n\nElement.Faces: Surface[]"
60 | },
61 | {
62 | "ConcreteType": "Dynamo.Graph.Nodes.CodeBlockNodeModel, DynamoCore",
63 | "NodeType": "CodeBlockNode",
64 | "Code": "x[3];",
65 | "Id": "1ba7cf23ee2546c0b9f1a2f2813792e0",
66 | "Inputs": [
67 | {
68 | "Id": "2a50bbe96a554ead8897e609ae377ab6",
69 | "Name": "x",
70 | "Description": "x",
71 | "UsingDefaultValue": false,
72 | "Level": 2,
73 | "UseLevels": false,
74 | "KeepListStructure": false
75 | }
76 | ],
77 | "Outputs": [
78 | {
79 | "Id": "5a08db96e989408394aa1e50b6eef333",
80 | "Name": "",
81 | "Description": "Value of expression at line 1",
82 | "UsingDefaultValue": false,
83 | "Level": 2,
84 | "UseLevels": false,
85 | "KeepListStructure": false
86 | }
87 | ],
88 | "Replication": "Disabled",
89 | "Description": "Allows for DesignScript code to be authored directly"
90 | },
91 | {
92 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
93 | "NodeType": "FunctionNode",
94 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.Area",
95 | "Id": "a49a71989b9449109675f973c2c965ab",
96 | "Inputs": [
97 | {
98 | "Id": "cee8969269d64afcac8dfde589fd5b73",
99 | "Name": "surface",
100 | "Description": "Autodesk.DesignScript.Geometry.Surface",
101 | "UsingDefaultValue": false,
102 | "Level": 2,
103 | "UseLevels": false,
104 | "KeepListStructure": false
105 | }
106 | ],
107 | "Outputs": [
108 | {
109 | "Id": "3660ce1a5a194cd3938a0f021de9a026",
110 | "Name": "double",
111 | "Description": "double",
112 | "UsingDefaultValue": false,
113 | "Level": 2,
114 | "UseLevels": false,
115 | "KeepListStructure": false
116 | }
117 | ],
118 | "Replication": "Auto",
119 | "Description": "Returns the total surface area.\n\nSurface.Area: double"
120 | }
121 | ],
122 | "Connectors": [
123 | {
124 | "Start": "02090b1c2be149689c3d39a8bb26de77",
125 | "End": "20a1e0f29f524091a95bf80dd622bc04",
126 | "Id": "ff7b23ac61024ba391bdf5d0f29840da"
127 | },
128 | {
129 | "Start": "a1c384306eb7429c93e90c93101117c3",
130 | "End": "2a50bbe96a554ead8897e609ae377ab6",
131 | "Id": "b9137232e7be430d9fd6117a3aa46cd3"
132 | },
133 | {
134 | "Start": "5a08db96e989408394aa1e50b6eef333",
135 | "End": "cee8969269d64afcac8dfde589fd5b73",
136 | "Id": "00d8ef5fbf5d484ea0a200575e4fe856"
137 | }
138 | ],
139 | "Dependencies": [],
140 | "Bindings": [],
141 | "View": {
142 | "Dynamo": {
143 | "ScaleFactor": 1.0,
144 | "HasRunWithoutCrash": false,
145 | "IsVisibleInDynamoLibrary": true,
146 | "Version": "2.0.2.6826",
147 | "RunType": "Automatic",
148 | "RunPeriod": "100"
149 | },
150 | "Camera": {
151 | "Name": "Background Preview",
152 | "EyeX": -17.0,
153 | "EyeY": 24.0,
154 | "EyeZ": 50.0,
155 | "LookX": 12.0,
156 | "LookY": -13.0,
157 | "LookZ": -58.0,
158 | "UpX": 0.0,
159 | "UpY": 1.0,
160 | "UpZ": 0.0
161 | },
162 | "NodeViews": [
163 | {
164 | "ShowGeometry": true,
165 | "Name": "Select Model Element",
166 | "Id": "33f8a9f08d3640f092b8a1a3b4f8a7cf",
167 | "IsSetAsInput": false,
168 | "IsSetAsOutput": false,
169 | "Excluded": false,
170 | "X": 387.5,
171 | "Y": 384.5
172 | },
173 | {
174 | "ShowGeometry": true,
175 | "Name": "Element.Faces",
176 | "Id": "2f57dfe52638417caa9e178d4b248c6d",
177 | "IsSetAsInput": false,
178 | "IsSetAsOutput": false,
179 | "Excluded": false,
180 | "X": 614.5,
181 | "Y": 385.5
182 | },
183 | {
184 | "ShowGeometry": true,
185 | "Name": "Code Block",
186 | "Id": "1ba7cf23ee2546c0b9f1a2f2813792e0",
187 | "IsSetAsInput": false,
188 | "IsSetAsOutput": false,
189 | "Excluded": false,
190 | "X": 841.128014412838,
191 | "Y": 387.869416271559
192 | },
193 | {
194 | "ShowGeometry": true,
195 | "Name": "Surface.Area",
196 | "Id": "a49a71989b9449109675f973c2c965ab",
197 | "IsSetAsInput": false,
198 | "IsSetAsOutput": false,
199 | "Excluded": false,
200 | "X": 1004.10567949908,
201 | "Y": 384.716497629356
202 | }
203 | ],
204 | "Annotations": [],
205 | "X": -292.283049892423,
206 | "Y": 49.9441964415095,
207 | "Zoom": 1.27771698410772
208 | }
209 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/STACKING_DIAGRAMS.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "STACKING_DIAGRAMS",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [],
12 | "Connectors": [],
13 | "Dependencies": [],
14 | "Bindings": [],
15 | "View": {
16 | "Dynamo": {
17 | "ScaleFactor": 1.0,
18 | "HasRunWithoutCrash": false,
19 | "IsVisibleInDynamoLibrary": true,
20 | "Version": "2.0.2.6826",
21 | "RunType": "Manual",
22 | "RunPeriod": "1000"
23 | },
24 | "Camera": {
25 | "Name": "Background Preview",
26 | "EyeX": -17.0,
27 | "EyeY": 24.0,
28 | "EyeZ": 50.0,
29 | "LookX": 12.0,
30 | "LookY": -13.0,
31 | "LookZ": -58.0,
32 | "UpX": 0.0,
33 | "UpY": 1.0,
34 | "UpZ": 0.0
35 | },
36 | "NodeViews": [],
37 | "Annotations": [],
38 | "X": 0.0,
39 | "Y": 0.0,
40 | "Zoom": 1.0
41 | }
42 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/SURFACE_BY_PATCH_CLOSEDCURVES.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "SURFACE_BY_PATCH_CLOSEDCURVES",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
14 | "NodeType": "FunctionNode",
15 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Rectangle.ByWidthLength@double,double",
16 | "Id": "9655317d0f2541959234a3b64b4dca84",
17 | "Inputs": [
18 | {
19 | "Id": "8316d68b62324cd4963f257f3dea10a9",
20 | "Name": "width",
21 | "Description": "double\nDefault value : 1",
22 | "UsingDefaultValue": true,
23 | "Level": 2,
24 | "UseLevels": false,
25 | "KeepListStructure": false
26 | },
27 | {
28 | "Id": "b0c3ec86bb4344778130fd050f618fc0",
29 | "Name": "length",
30 | "Description": "double\nDefault value : 1",
31 | "UsingDefaultValue": true,
32 | "Level": 2,
33 | "UseLevels": false,
34 | "KeepListStructure": false
35 | }
36 | ],
37 | "Outputs": [
38 | {
39 | "Id": "45e347fa429b42ed84e7ede1eaff47a7",
40 | "Name": "Rectangle",
41 | "Description": "Rectangle",
42 | "UsingDefaultValue": false,
43 | "Level": 2,
44 | "UseLevels": false,
45 | "KeepListStructure": false
46 | }
47 | ],
48 | "Replication": "Auto",
49 | "Description": "Create a Rectangle centered at the WCS origin in the WCS XY Plane, with specified width (X Axis length), and length (Y Axis length).\n\nRectangle.ByWidthLength (width: double = 1, length: double = 1): Rectangle"
50 | },
51 | {
52 | "ConcreteType": "Dynamo.Graph.Nodes.ZeroTouch.DSFunction, DynamoCore",
53 | "NodeType": "FunctionNode",
54 | "FunctionSignature": "Autodesk.DesignScript.Geometry.Surface.ByPatch@Autodesk.DesignScript.Geometry.Curve",
55 | "Id": "f9c311c1add643b1a6ec85202972744e",
56 | "Inputs": [
57 | {
58 | "Id": "94df4b9fa43e485ebbb1e971493d3e3b",
59 | "Name": "closedCurve",
60 | "Description": "Curve",
61 | "UsingDefaultValue": false,
62 | "Level": 2,
63 | "UseLevels": false,
64 | "KeepListStructure": false
65 | }
66 | ],
67 | "Outputs": [
68 | {
69 | "Id": "840abf5ec5b840aca4f83195750d2465",
70 | "Name": "Surface",
71 | "Description": "Surface",
72 | "UsingDefaultValue": false,
73 | "Level": 2,
74 | "UseLevels": false,
75 | "KeepListStructure": false
76 | }
77 | ],
78 | "Replication": "Auto",
79 | "Description": "Create a Surface by filling in the interior of a closed boundary defined by input Curves.\n\nSurface.ByPatch (closedCurve: Curve): Surface"
80 | }
81 | ],
82 | "Connectors": [
83 | {
84 | "Start": "45e347fa429b42ed84e7ede1eaff47a7",
85 | "End": "94df4b9fa43e485ebbb1e971493d3e3b",
86 | "Id": "841dddca36fc4792bf2e7375cab80f29"
87 | }
88 | ],
89 | "Dependencies": [],
90 | "Bindings": [],
91 | "View": {
92 | "Dynamo": {
93 | "ScaleFactor": 1.0,
94 | "HasRunWithoutCrash": false,
95 | "IsVisibleInDynamoLibrary": true,
96 | "Version": "2.0.2.6826",
97 | "RunType": "Automatic",
98 | "RunPeriod": "1000"
99 | },
100 | "Camera": {
101 | "Name": "Background Preview",
102 | "EyeX": 3.5998363494873047,
103 | "EyeY": 2.9104855060577393,
104 | "EyeZ": 0.65764176845550537,
105 | "LookX": -7.405146598815918,
106 | "LookY": -5.0480031967163086,
107 | "LookZ": -4.394996166229248,
108 | "UpX": -0.26573824882507324,
109 | "UpY": 0.95105654001235962,
110 | "UpZ": -0.15771713852882385
111 | },
112 | "NodeViews": [
113 | {
114 | "ShowGeometry": true,
115 | "Name": "Rectangle.ByWidthLength",
116 | "Id": "9655317d0f2541959234a3b64b4dca84",
117 | "IsSetAsInput": false,
118 | "IsSetAsOutput": false,
119 | "Excluded": false,
120 | "X": 259.043200680002,
121 | "Y": 518.967060065291
122 | },
123 | {
124 | "ShowGeometry": true,
125 | "Name": "Surface.ByPatch",
126 | "Id": "f9c311c1add643b1a6ec85202972744e",
127 | "IsSetAsInput": false,
128 | "IsSetAsOutput": false,
129 | "Excluded": false,
130 | "X": 519.087942573453,
131 | "Y": 518.967060065291
132 | }
133 | ],
134 | "Annotations": [],
135 | "X": -264.731026946239,
136 | "Y": -784.782266662611,
137 | "Zoom": 1.78359936238281
138 | }
139 | }
--------------------------------------------------------------------------------
/resources/sampleDynamoGraphs/importeddwgfamilylist.dyn:
--------------------------------------------------------------------------------
1 | {
2 | "Uuid": "3c9d0464-8643-5ffe-96e5-ab1769818209",
3 | "IsCustomNode": false,
4 | "Description": "",
5 | "Name": "importeddwgfamilylist",
6 | "ElementResolver": {
7 | "ResolutionMap": {}
8 | },
9 | "Inputs": [],
10 | "Outputs": [],
11 | "Nodes": [
12 | {
13 | "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
14 | "FunctionSignature": "02725396-8278-4c8f-8f7c-a79c9c100660",
15 | "FunctionType": "Graph",
16 | "NodeType": "FunctionNode",
17 | "Id": "d7d5153a476d43ffb1e6e189cbec0975",
18 | "Inputs": [
19 | {
20 | "Id": "b51ee6d2023b4ff384316aa9398dcd12",
21 | "Name": "element",
22 | "Description": "var[]..[]",
23 | "UsingDefaultValue": false,
24 | "Level": 2,
25 | "UseLevels": false,
26 | "KeepListStructure": false
27 | }
28 | ],
29 | "Outputs": [
30 | {
31 | "Id": "e35fa2c5de8d40e1bf3449277ef46780",
32 | "Name": "members",
33 | "Description": "return value",
34 | "UsingDefaultValue": false,
35 | "Level": 2,
36 | "UseLevels": false,
37 | "KeepListStructure": false
38 | }
39 | ],
40 | "Replication": "Auto",
41 | "Description": "Gets a list of all members (properties and methods) of a selected element"
42 | },
43 | {
44 | "ConcreteType": "Dynamo.Graph.Nodes.CustomNodes.Function, DynamoCore",
45 | "FunctionSignature": "11a6d7bb-9efe-42f3-9b3b-700b4d61467c",
46 | "FunctionType": "Graph",
47 | "NodeType": "FunctionNode",
48 | "Id": "7604965ac5a340a8b9cbdf3827692e27",
49 | "Inputs": [
50 | {
51 | "Id": "7486706725114c599279fb7c0ba37811",
52 | "Name": "document",
53 | "Description": "Input #1",
54 | "UsingDefaultValue": false,
55 | "Level": 2,
56 | "UseLevels": false,
57 | "KeepListStructure": false
58 | },
59 | {
60 | "Id": "716aa36e238f46a6ab622cc21db6ad8c",
61 | "Name": "element type",
62 | "Description": "Input #2",
63 | "UsingDefaultValue": false,
64 | "Level": 2,
65 | "UseLevels": false,
66 | "KeepListStructure": false
67 | }
68 | ],
69 | "Outputs": [
70 | {
71 | "Id": "1f484b48cf814499ba4fd54938b3d72c",
72 | "Name": "elements",
73 | "Description": "Output #1",
74 | "UsingDefaultValue": false,
75 | "Level": 2,
76 | "UseLevels": false,
77 | "KeepListStructure": false
78 | }
79 | ],
80 | "Replication": "Auto",
81 | "Description": "All elements of given type in specified document. This works for unopened files and for linked documents."
82 | }
83 | ],
84 | "Connectors": [],
85 | "Dependencies": [
86 | "02725396-8278-4c8f-8f7c-a79c9c100660",
87 | "11a6d7bb-9efe-42f3-9b3b-700b4d61467c"
88 | ],
89 | "Bindings": [],
90 | "View": {
91 | "Dynamo": {
92 | "ScaleFactor": 1.0,
93 | "HasRunWithoutCrash": false,
94 | "IsVisibleInDynamoLibrary": true,
95 | "Version": "2.0.2.6826",
96 | "RunType": "Automatic",
97 | "RunPeriod": "1000"
98 | },
99 | "Camera": {
100 | "Name": "Background Preview",
101 | "EyeX": -17.0,
102 | "EyeY": 24.0,
103 | "EyeZ": 50.0,
104 | "LookX": 12.0,
105 | "LookY": -13.0,
106 | "LookZ": -58.0,
107 | "UpX": 0.0,
108 | "UpY": 1.0,
109 | "UpZ": 0.0
110 | },
111 | "NodeViews": [
112 | {
113 | "ShowGeometry": true,
114 | "Name": "Object.Members",
115 | "Id": "d7d5153a476d43ffb1e6e189cbec0975",
116 | "IsSetAsInput": false,
117 | "IsSetAsOutput": false,
118 | "Excluded": false,
119 | "X": 597.0,
120 | "Y": 257.0
121 | },
122 | {
123 | "ShowGeometry": true,
124 | "Name": "All Elements of Type in Document",
125 | "Id": "7604965ac5a340a8b9cbdf3827692e27",
126 | "IsSetAsInput": false,
127 | "IsSetAsOutput": false,
128 | "Excluded": false,
129 | "X": 206.0,
130 | "Y": 263.0
131 | }
132 | ],
133 | "Annotations": [],
134 | "X": 0.0,
135 | "Y": 0.0,
136 | "Zoom": 1.0
137 | }
138 | }
--------------------------------------------------------------------------------