Memuat
Memuat
Want to go deeper?
Join one of our courses or ask us directly on WhatsApp.
Picked from the software, topic, and level of “Dynamo for Revit Beginner Class #2: Node, Cable, and Code Block”.
Other ways we can help with Revit.
Learn with a mentor
Scheduled Architecture & CAD courses with live guidance and a certificate.

Course/Training Revit — Architectural Design with Revit 2019
★ 5.0 (8)

Course/Training Revit Architecture — Designing a 2-Story Building | BIM Specialist Architectural Design
★ 5.0 (6)

Course/Training Revit — Pencahayaan Revit Master Course
★ 5.0 (4)
Have it built for you
No time to learn Revit? Our team can do the project for you.

Development Service: Revit — Autodesk Revit Basic to Master
★ 5.0 (6)

Development Service: Autodesk Revit — Training Autodesk Revit Master Class Selama 3 Hari
★ 5.0 (5)

Revit BIM Creation Services
★ 5.0 (5)
Get notified about new Revit classes
At most one email a week. Unfollow anytime with one click.
The full narration of this video. The current sentence is highlighted while the video plays; click any sentence to jump there.
In this episode, we'll learn 3 basic things used in every Dynamo grab: node, cable, and code block. The final result is like what you see: numbers, text, lists, and calculated sequences. Let's start! Hello! In this second episode, we'll get to know node, cable, and code block. All three are the basic elements of every Dynamo grab, so understand them well. Open Dynamo from the manage tab in Revit, then click launch Dynamo.
Wait until the window opens.
On the initial page, click new to create an empty workspace.
A node is a small city that performs one task. We'll create two code blocks containing the number 10 and 5. Then right-click on the canvas, search for node mat.max, which selects the largest number, and press enter. Nodes have input ports on the left and output ports on the right. Cables connect the output of one node to the input of another node. Click the output port, then click the input port. Connect both numbers to mat.max, which selects the largest number, then connect the output to watch. The result is 10, the largest number of the two.
Code blocks can also store text. Double-click on the canvas, then type text between quotation marks and end with a semicolon. We'll connect it to watch, and the text 'Hello Dynamo' appears. To create a list, use square brackets and separate the contents with commas.
The list 10, 20, 30 appears in watch complete with numbering, starting from 0. Two dots mean a sequence.
One dot-dotted 5 produces numbers from 1 to 5. This is the fastest way to create a sequential number list.
If you want to jump, add the number of steps. 0 points 20 points 5 produces 0, 5, 10, 15, and 20.
A code block can have many lines. We create variable A containing 4, variable B containing 6, and the last line swaps both. The two forward slashes are comments, which are not counted. The result is 24.
Done. You now know about nodes, cables, and code blocks. In the next episode, we start selecting Revit elements. Goodbye. Want to master Dynamo and Revit? Cerdas Inovasi Digital offers Revit and Dynamo courses, BIM modeling services and Dynamo script creation, as well as selling project files and grab Dynamo from this tutorial series. Contact us via WhatsApp, or visit cerdasinovasidigital.com Goodbye in the next episode. Goodbye. Thank you. Goodbye.
Type a question or keyword; we find the part of this episode that explains it and jump the video there.
Notes are saved with the current video time and are only visible to you.
Stuck on a step? Ask here; the instructor and other learners can answer.
No questions yet.

Cerdas Inovasi Digital Team
Software developers, BIM & 3D engineers, and AI practitioners
We build software, BIM models, games and AI automations for clients every day, and turn that hands-on work into step-by-step classes: every step is shown on screen and comes with a PDF guide you can keep.
See our clients →