Materials to help understand how to use Python with Dynamo

Hello, my name is Matheus, I’m brazillian and I’m starting to learn how to use dynamo. But recently I realized that Dynamo had some “barriers” and I saw that I could use Python to improve it. I found on youtube the following video:

I learned a little about Python and I tried to use Python with Dyamo, so I saw this video on youtube and even for begginers, I found it hard to uderstand. I didn’t understand the reason why he imports these “folders” (example bellow). I want help to find materials that explains with more accuracy how can I do this things. It can be PDF files, videos…whatever helps me learn how to use it and when to use it. (These codes bellow is just an exemple of what I want to learn).

import clr
#Import module for Revit
import Revit
#import module for the Document and transactions
import RevitServices
from RevitServices.Persistence import DocumentManager
from RevitServices.Transactions import TransactionManager
#import Revit API
from Autodesk.Revit.DB import *
#get the current document in Revit.
doc = DocumentManager.Instance.CurrentDBDocument


Hello @MatheusDiasBrazilian,

That’s my question when I started learning Python and I put here links that I think might be useful to you at the moment.


Hi guys, I was traveling, so sorry for the delay. Thanks guys, I’ll start studying now. Keep sending news if you have other study materials.