Python in Dynamo: Basic Examples

preview_player
Показать описание
In this tutorial, I show how you can apply some more basic Python techniques. It's really important to master these before going on to more abstract topics as the Revit API (next video though!).

I hope you enjoy the session and learn something new! Feel free to comment any feedback/questions below, or follow my channel if you enjoyed this.

Learn more about Dynamo at;

Software used;

Hardware used;

#revit #dynamo #python
Рекомендации по теме
Комментарии
Автор

Thank you for this series, I wish I started with revit, dynamo and python before grasshopper and rhino3D. Michael

michaelwickerson
Автор

Really great series that you made Gavin. I am using Revit 2022 and for example Dynamo Node "if" works just fine. Also the first two basic codes for "if" node that you made doesn't work. Start working from the moment when you used if and else with the IN...

damirces
Автор

Hi, I'm from Brazil, and your video help me so much... Thanks

isaiass.
Автор

bro, epic intro hahha
greetings from Brazil

eng.tiago.b
Автор

Thanks Gavin! I appreciate it, learned a lot.

陳冠亦-js
Автор

Great concepts for learning the basics of Python in Dynamo! Thanks Gavin!

ATTechTutorials
Автор

Despite my english is bad, i can inderstang very well
Thank you

youpeng
Автор

Hi Gavin, thanks for another great video! Just a quick question about the random package. I am getting an IronPython error saying the random package is not defined. Do I need to install that somehow in Dynamo?

adityakelkar
Автор

In the last part of this tutorial, you created a python script for random numbers, when you run the script numbers are automatically generated without code block.... how?

rezwanulhoque
Автор

Great video! I want to use python libralies numpy and scipy, if you have any idea, could you tell me?

vntk
Автор

i have tried the script but I have got a problem with the dwg file. when I opened the file it doesn't have the filters that it was in the Revit sheet. the colors look different than the Revit and also the filters that were applied in Revit it doesn't have them.
what can I do to get the DWG files to look the same as the Revit sheet?

engomardriouich
Автор

Question ? ? ? ? ? - Hi Guru, How can you setup a Loop that uses While (iteration of count at levels). How will you implement, Geometry.intersect and IndexOF and GetItematIndex. 2. how do you deal with levels list.map (iteration to collect information for each 3 levels deep at L2).

tumzarelaxing
Автор

I couldn't find your python template on your github, can you share the path?

aliarslan
Автор

5:53 please explain, what is the "if_bool" in "if if_bool:" syntax in this case?

LinhNguyen-zpcb
Автор

How much python should i know for dynamo...?

Raja-Raju
Автор

Great lesson.

I tried to replicate the last but it's not working.. here's my code (should be exaclty like yours)
Am i missing something?
Thanks in advance


from random import seed
from random import random

rcount = IN[0]
rseed = IN[1]
rmin = IN[2]
rmax = IN[3]

seed(rseed)
nums[]

for r in range(rcount):
val = rmin + (random() * (rmax-rmin))
nums.append(val)
OUT = nums


Gustavostarke
welcome to shbcf.ru