OUR message is to build a better world not destroy one 🇵🇸!
This chapter establishes the core concepts of programming within Dynamo for Revit, guiding students through the essential logic behind computational design. By completing it, students gain the ability to understand how Dynamo executes step-by-step instructions, work confidently with data types such as numbers, strings

Goal: Test your ability to perform a simple arithmetic operation
Create two numbers (10 and 5) and add them together to produce a result.
15
Tags: #numbers #math #basiclogic #watchnode

Goal: Confirm understanding of arithmetic operators.
Using two numbers (8 and 3), calculate the results of subtraction, multiplication, and division.
Subtract → 5
Multiply → 24
Divide → 2.67
Tags: #numbers #math #operators

Goal: Practice evaluating True/False expressions.
Create a number (12) and test if it is greater than 10. Display the result as True or False.
True
Tags: #boolean #logic #comparison #codeblock

Goal: Work with collections of data.
Create a list of numbers from 1 to 5 and retrieve the item at index 2.
3
Tags: #lists #indices #accessingdata

Goal: Handle invalid indices without errors.
Using the list [1, 2, 3, 4, 5], try to get the item at index 7 and return a message if it’s out of range.
“Index out of range”
Tags: #lists #conditional #safety

Goal: Demonstrate If-Else logic.
Create a number (15) and build a rule that returns “Above 10” if the number is greater than 10, otherwise “10 or below.”
“Above 10”
Tags: #ifstatements #logic #conditions

Goal: Apply AND logic to filter a list.
Generate numbers from 1 to 20 and keep only those greater than 5 and less than 15.
[6, 7, 8, 9, 10, 11, 12, 13, 14]
Tags: #logic #and #filter #boolean

Goal: Show how repetition can accumulate values.
Create a list of random numbers between 1 and 10 and produce a new list showing the running total after each value.
If [3, 4, 1, 7, 2] → [3, 7, 8, 15, 17]
Tags: #loops #iteration #lists

Goal: Practice reading data from Revit elements.
From the current model, list the areas of all rooms using their “Area” parameter.
[24.5, 31.2, 28.0, 19.6]
Tags: #revit #parameters #rooms #lists

Goal: Combine conditional logic with Revit data.
Using the room areas from the previous task, label each as “Large” if greater than 25 m² or “Small” if less.
[“Large”, “Large”, “Small”, “Small”]
Tags: #revit #parameters #ifstatements #boolean
