All language subtitles for 022 Exporting studies

af Afrikaans
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00.05 --> 00:00:02.04 - [Instructor] We now have a Dynamo script 2 00:00:02.04 --> 00:00:04.07 that contains all of the elements needed 3 00:00:04.07 --> 00:00:06.09 to run a generative design study 4 00:00:06.09 --> 00:00:09.00 including the inputs, generators, 5 00:00:09.00 --> 00:00:11.00 evaluators, and outputs. 6 00:00:11.00 --> 00:00:12.01 So, now let's take a look 7 00:00:12.01 --> 00:00:14.05 at how we can export the Dynamo script, 8 00:00:14.05 --> 00:00:17.02 so that anyone can use it within Revit. 9 00:00:17.02 --> 00:00:18.00 I currently have 10 00:00:18.00 --> 00:00:21.05 the Dynamo and Revit exercise files open for this lesson, 11 00:00:21.05 --> 00:00:24.03 which is where we left off from in the last lesson. 12 00:00:24.03 --> 00:00:26.05 Lucky for us, the Dynamo team 13 00:00:26.05 --> 00:00:28.02 have made it super easy 14 00:00:28.02 --> 00:00:31.07 to deploy our generative design scripts to Revit. 15 00:00:31.07 --> 00:00:33.03 In the menus along the top, 16 00:00:33.03 --> 00:00:36.04 we have a Generative Design tab. 17 00:00:36.04 --> 00:00:38.05 Within this menu is a few functions 18 00:00:38.05 --> 00:00:41.00 that relate to generative design. 19 00:00:41.00 --> 00:00:45.06 The, Create Study and Explore Outcomes selections, 20 00:00:45.06 --> 00:00:48.05 open up the dialogues as they would in Revit. 21 00:00:48.05 --> 00:00:51.00 For example, we can create a study 22 00:00:51.00 --> 00:00:54.03 and this opens up the Create Study option. 23 00:00:54.03 --> 00:00:55.02 Keep in mind here 24 00:00:55.02 --> 00:00:59.02 that we cannot select Revit elements using this method. 25 00:00:59.02 --> 00:01:00.02 So to do this, 26 00:01:00.02 --> 00:01:02.04 we would need to retrieve the wall elements 27 00:01:02.04 --> 00:01:06.01 using traditional Dynamo nodes. 28 00:01:06.01 --> 00:01:08.06 For example, in the workspace, you can see, 29 00:01:08.06 --> 00:01:12.02 we can't select either the room, or the family instance. 30 00:01:12.02 --> 00:01:13.05 Another difference here 31 00:01:13.05 --> 00:01:17.00 is that there is no Create Revit Elements. 32 00:01:17.00 --> 00:01:19.00 So after we've generated our options, 33 00:01:19.00 --> 00:01:22.05 we don't have the option to create the Revit elements. 34 00:01:22.05 --> 00:01:24.09 To do that, we would have to manually set 35 00:01:24.09 --> 00:01:27.09 the data dot gate node, and run the graph 36 00:01:27.09 --> 00:01:31.04 after we have found the inputs that we want. 37 00:01:31.04 --> 00:01:33.00 In Dynamo, we also have the option 38 00:01:33.00 --> 00:01:37.08 to explore outcomes, much like we would in Revit. 39 00:01:37.08 --> 00:01:38.06 You'll notice here 40 00:01:38.06 --> 00:01:44.02 we don't have the option to create those elements. 41 00:01:44.02 --> 00:01:48.04 Now let's focus on the Export for Generative Design option. 42 00:01:48.04 --> 00:01:50.06 This lets us package up our script 43 00:01:50.06 --> 00:01:54.00 to run in Revit without Dynamo. 44 00:01:54.00 --> 00:01:55.07 Before we do that, however, 45 00:01:55.07 --> 00:01:58.00 let's make a saved copy of this script 46 00:01:58.00 --> 00:01:59.03 with a new file name, 47 00:01:59.03 --> 00:02:03.00 as this is what will show up in Revit as the study name. 48 00:02:03.00 --> 00:02:07.00 So let's go to File, Save As. 49 00:02:07.00 --> 00:02:08.09 You can save this wherever you like, 50 00:02:08.09 --> 00:02:10.09 as Revit will take a copy of it 51 00:02:10.09 --> 00:02:13.07 and save it in a folder that it needs to. 52 00:02:13.07 --> 00:02:19.02 I'm going to call mine, Window Placement, and then save it. 53 00:02:19.02 --> 00:02:23.04 Now let's start the export process. 54 00:02:23.04 --> 00:02:26.02 If you have not run your graph since opening this up, 55 00:02:26.02 --> 00:02:28.08 you'll be prompted with this first. 56 00:02:28.08 --> 00:02:30.07 Essentially, we need to run our graph 57 00:02:30.07 --> 00:02:32.08 to ensure that there are no errors. 58 00:02:32.08 --> 00:02:36.00 And because we shouldn't have any if we hit Run, 59 00:02:36.00 --> 00:02:38.07 we get the message that the validation is complete 60 00:02:38.07 --> 00:02:40.06 and it's ready to export. 61 00:02:40.06 --> 00:02:43.02 If there were errors, we would know about it. 62 00:02:43.02 --> 00:02:50.01 For example, if we change the Python script to, Is Output, 63 00:02:50.01 --> 00:02:53.02 we get an error, as the node is not outputting 64 00:02:53.02 --> 00:02:55.06 a valid data type for the outputs. 65 00:02:55.06 --> 00:02:58.03 So let's change that back. 66 00:02:58.03 --> 00:02:59.09 Next, we need a description, 67 00:02:59.09 --> 00:03:03.02 which describes what the graph does to the user. 68 00:03:03.02 --> 00:03:05.04 You want this to be short and concise, 69 00:03:05.04 --> 00:03:08.07 to quickly give the user an understanding of its purpose. 70 00:03:08.07 --> 00:03:12.04 For our study, let's put in, 71 00:03:12.04 --> 00:03:19.02 Maximize Placement of Windows Along Wall, easy. 72 00:03:19.02 --> 00:03:20.07 Next, we need an image, 73 00:03:20.07 --> 00:03:24.08 something that shows the output the graph might provide. 74 00:03:24.08 --> 00:03:26.07 For this, let's simply take a snap 75 00:03:26.07 --> 00:03:29.02 of our current graph background. 76 00:03:29.02 --> 00:03:33.01 To do that, let's minimize this export window. 77 00:03:33.01 --> 00:03:35.06 And then in Dynamo, let's select this button 78 00:03:35.06 --> 00:03:39.01 to switch to background mode. 79 00:03:39.01 --> 00:03:42.02 Before we do that, I'm just going to move or pan over 80 00:03:42.02 --> 00:03:45.03 so that there's no nodes in the view. 81 00:03:45.03 --> 00:03:47.09 Then I'm going to use the Windows Snipping Tool 82 00:03:47.09 --> 00:03:49.08 to take an image of this. 83 00:03:49.08 --> 00:03:58.08 So, want to make sure it's on rectangular, and take a snap. 84 00:03:58.08 --> 00:04:01.04 If you don't have this tool or something similar, 85 00:04:01.04 --> 00:04:03.08 I've copied the image into the exercise folder 86 00:04:03.08 --> 00:04:06.06 for you to use. 87 00:04:06.06 --> 00:04:12.05 So I'm going to save that for now to the desktop. 88 00:04:12.05 --> 00:04:14.05 And then in our Export Window, 89 00:04:14.05 --> 00:04:18.00 let's browse for the image and select it. 90 00:04:18.00 --> 00:04:21.06 Lastly, we have the option to keep the data cached 91 00:04:21.06 --> 00:04:24.07 in the remember nodes, or clear them on export. 92 00:04:24.07 --> 00:04:26.05 If we keep the cached data, 93 00:04:26.05 --> 00:04:29.03 this basically means that the data currently stored, 94 00:04:29.03 --> 00:04:32.01 such as the wall information, will be remembered, 95 00:04:32.01 --> 00:04:35.03 and the user won't need to select a wall element. 96 00:04:35.03 --> 00:04:37.07 As we want the user to start fresh 97 00:04:37.07 --> 00:04:39.05 with any wall element they like, 98 00:04:39.05 --> 00:04:42.01 let's set this to Clear. 99 00:04:42.01 --> 00:04:44.05 Now, all we have to do is export 100 00:04:44.05 --> 00:04:47.01 by hitting this Export button. 101 00:04:47.01 --> 00:04:49.07 As you can see, it's quite fast. 102 00:04:49.07 --> 00:04:51.04 And you'll notice our script 103 00:04:51.04 --> 00:04:54.08 has been copied over to this folder. 104 00:04:54.08 --> 00:04:57.07 So this means each time we update our graph, 105 00:04:57.07 --> 00:04:59.07 we'll have to re-export it 106 00:04:59.07 --> 00:05:01.03 to update the study in Revit. 8404

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.