BIMAESTRO
  • Home
  • Free Solutions
  • Services
  • Showcase
  • Courses
  • BLOG
  • about us
  • Contact Us
  • Chapter 01 Tasks
  • Chapter 02 Tasks
  • Chapter 03 Tasks
  • Chapter 04 Tasks
  • Chapter 05 Tasks
  • More
    • Home
    • Free Solutions
    • Services
    • Showcase
    • Courses
    • BLOG
    • about us
    • Contact Us
    • Chapter 01 Tasks
    • Chapter 02 Tasks
    • Chapter 03 Tasks
    • Chapter 04 Tasks
    • Chapter 05 Tasks
BIMAESTRO
  • Home
  • Free Solutions
  • Services
  • Showcase
  • Courses
  • BLOG
  • about us
  • Contact Us
  • Chapter 01 Tasks
  • Chapter 02 Tasks
  • Chapter 03 Tasks
  • Chapter 04 Tasks
  • Chapter 05 Tasks

Chapter 04 Tasks

 Learn how to create, format, and manipulate strings in Dynamo, including concatenation, substring operations, case changes, and type conversions. Students will also learn to generate readable reports and tag data from Revit elements. 

Chapter 04 - Task 1 - 🟩 Combine Two Texts

💡 Goal: Understand basic text concatenation. 

● Task:

Create two strings, "Hello" and "World", and combine them into a single sentence with a space in between. 

● Expected Output:

  "Hello World" 

Tags:  #strings #concatenation #text   

Related Lessons:
#CH4_L3 (Strings – Find Replace, Add Suffix/Prefix)
#CH1_L4 (Programming Concepts – String and Logic Operations) 

Chapter 04 - Task 2 - 🟩 Add Units to a Value

💡 Goal: Combine text with numeric data.  

● Task:

 Create a number 25 and merge it with the unit " m²" to form a complete string. 

● Expected Output:

 "25 m²"  

Tags:  #strings #numbers #concatenation   

Related Lessons:
#CH4_L3 (Strings – Add Suffix/Prefix)
#CH4_L4 (Numbers – To String / From String Conversion)
#CH1_L3 (Parameters and Lists – Data Combination) 

Chapter 04 - Task 3 - 🟩 Extract Part of a Text

💡 Goal:  Practice substring operations.  

● Task:

From the string "Living Room", extract only the first word. 

● Expected Output:

"Living" 

Tags:   #strings #substring #text   

Related Lessons:
#CH4_L3 (Strings – Split By / Contain / Substring Operations) 

Chapter 04 - Task 4 - 🟩 Change Text Case

💡 Goal: Understand case transformation. 

● Task:

Convert the string "kitchen" into uppercase form. 

● Expected Output:

"KITCHEN" 

Tags:  #strings #uppercase #text    

Related Lessons:
#CH4_L3 (Strings – Case and Replace Operations) 

Chapter 04 - Task 5 - 🟩 Count Characters in Text

💡 Goal: Learn to analyze string length.  

● Task:

 Create a string "Bathroom" and count how many characters it contains. 

● Expected Output:

 8 

Tags: #strings #uppercase #text   

Related Lessons:
#CH4_L3 (Strings – Analyze and Modify Text)
#CH3_L5 (Lists – Count True / Count Elements) 

Chapter 04 - Task 6 - 🟨 Clean and Format Room Names

💡 Goal: Use string operations to sanitize Revit data. 

● Task:

 Extract all room names from the model and remove unwanted symbols.

["4 Living Room", "Kitchen +", "Bedroom zone"]  

● Expected Output:

   ["Living Room", "Kitchen", "Bedroom"]  

Tags: #strings #revit #cleanup #parameters   

Related Lessons:
#CH4_L3 (Strings – Find Replace / Clean Text)
#CH3_L6 (Revit Nodes – Get Parameters)
#CH1_L2 (Data Types & Revit API Objects) 

Chapter 04 - Task 7 - 🟨 Detect Specific Word in Room Name

 💡 Goal: Search within strings for a target value.  

● Task:

 From a list of room names, find which ones contain the word "Toilet". 

● Expected Output:

 ["Guest Toilet", "Master Toilet"]  

Tags: #strings #search #revit #filter    

Related Lessons:
#CH4_L3 (Strings – Contain or Not)
#CH4_L2 (Filtering – Filter by Condition)
#CH3_L6 (Revit Nodes – Parameter Filtering) 

Chapter 04 - Task 8 - 🟨 Combine Parameter Data into Labels

💡  Goal: Merge Revit parameter data into one readable text.  

● Task:

 For each door, combine its “Mark” and “Width” parameters into one string such as “Door-01 | 900 mm”. 

● Expected Output:

 ["Door-01 | 900 mm", "Door-02 | 1000 mm"] 

Tags:  #strings #revit #parameters #labels    

Related Lessons:
#CH4_L3 (Strings – Add Suffix/Prefix / Combine)
#CH3_L6 (Revit Nodes – Get and Set Parameters)
#CH4_L10 (Reading and Writing Excel – Data Formatting) 

Chapter 04 - Task 9 - 🟨 Split Text into Words

💡 Goal: Break text into smaller parts.    

● Task:

   Take the string "Master Bedroom 01" and split it into separate words. 

● Expected Output:

  ["Master", "Bedroom", "01"]  

Tags: #strings #split #textprocessing    

Related Lessons:
#CH4_L3 (Strings – Split By Operation)
#CH3_L5 (Lists – Create and Access Sub-Lists) 

Chapter 04 - Task 10 - 🟨 Replace Text in a String

 💡 Goal:   Modify text dynamically.   

● Task:

 Replace "Room" with "Space" in the text "Living Room". 

● Expected Output:

 "Living Space"   

Tags: #strings #replace #text #editing     

Related Lessons:
#CH4_L3 (Strings – Find Replace)
#CH1_L4 (Programming Concepts – Logic Flow) 

Chapter 04 - Task 11 - 🟥 Format Revit Data as a Report

💡  Goal:  Generate readable text summaries from element data.   

● Task:

  For each Room, combine its Name, Area, and Level into a formatted string like:
"Living Room | Area: 25.5 m² | Level: 2" 

● Expected Output:

   ["Living Room | Area: 25.5 m² | Level: 2", "Kitchen | Area: 18.4 m² | Level: 2", ...]   

Tags:  #revit #strings #reports #parameters     

Related Lessons:
#CH3_L6 (Revit Nodes – Get Parameters and Combine Data)
#CH4_L3 (Strings – Combine and Format Text)
#CH4_L10 (Reading and Writing Excel – Reporting) 

Chapter 04 - Task 12 - 🟥 Create Automatic Naming Pattern

💡  Goal:  Build smart element names using logic and string patterns.   

● Task:

  For each wall, generate a new code name using the format "WALL_" + LevelName + "_" + Index.  

● Expected Output:

  ["WALL_L1_001", "WALL_L1_002", "WALL_L2_001"]   

Tags:  #strings #automation #revit #parameters #naming     

Related Lessons:
#CH4_L3 (Strings – Add Prefix/Suffix / Dynamic Text)
#CH3_L6 (Revit Nodes – Parameters and Naming)
#CH1_L4 (Programming Concepts – Conditional Logic) 

Chapter 04 - Task 13 - 🟥 Manipulate a string in Sequence

💡  Goal: Learn how to manipulate strings list.    

● Task:

 In the given string "Hello this is Chapter 04", add underscore "_" only before "04"

● Expected Output:

 "Hello this is Chapter_04" 

Tags:  #strings #sorting #lists   

Related Lessons:
#CH4_L3 (Strings – Replace and Insert Operations)
#CH3_L5 (Lists – Operate on List of Strings) 

Chapter 04 - Task 14 - 🟥 Detect Duplicate Names

 💡 Goal: Identify repeated parameter values.  

● Task:

 From a list of door marks, find which ones appear more than once and return a list of duplicates, and a list showing how many duplicates found for each unique value. 

● Expected Output:

list 1 = ["Door-01", "Door-07"] 

list 2 = [5, 3]

Tags: #strings #duplicates #filter #revit     

Related Lessons:
#CH4_L2 (Filtering – Filter by Parameter or Condition)
#CH3_L5 (Lists – Unique Items / Count True)
#CH3_L6 (Revit Nodes – Parameter Extraction) 

Chapter 04 - Task 15 - 🟥 Generate Excel Report from String

 💡 Goal: Export formatted text data from Revit to Excel.     

● Task:

 Combine Room Names and thier Areas into descriptive strings, then export them as a column in an Excel sheet. 

● Expected Output:

In Excel:

Room Name | Area

Living Room | Area: 28.4 m²

Master Bedroom | Area: 32.1 m²

 

Tags: #strings #revit #excel #export     

Related Lessons:
#CH4_L10 (Reading and Writing Excel – Export / Transpose)
#CH3_L6 (Revit Nodes – Get Parameters)
#CH4_L3 (Strings – Combine and Prepare for Export) 

Now, Are you Ready to test yourself? 🚀

Take Dynamo Chapter 04 Quiz

“You’re not just coding — you’re teaching data to speak your design language. Keep refining your message.”

  • Home
  • Free Solutions
  • Services
  • Showcase
  • Courses
  • BLOG
  • about us
  • Contact Us

Amr Atef

Copyright © 2022 BIMAESTRO - All Rights Reserved.

Powered by

This website uses cookies.

We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.

DeclineAccept

Welcome

Did you know that We can automate your workflows!

Contact us Now