From the course: Dynamo: Revit Workflow

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Concatenate lists of strings with Dynamo

Concatenate lists of strings with Dynamo - Revit Tutorial

From the course: Dynamo: Revit Workflow

Start my 1-month free trial

Concatenate lists of strings with Dynamo

- [Instructor] So our program is now able to look at all of the rooms in the Revit project and return their room numbers in a single digit that represents what level they're on. In this step, we're going to combine these two string items together into a single piece of string data which will ultimately become the new room number that will begin with the level number and it'll be followed by the old room number. The node that we use to do this is called string concat, which is short for concatenation. That's a programming term for when two strings are joined together into one. Let's drop in this string concat node. We can find that under the core string section of the node library. Similarly to the list create node, this string concat node has a plus and a minus button on it, which can be used to join as many strings together as you'd like. Clicking the plus adds another input to the node, and inputs can be removed by clicking the minus. In order to get the room numbering convention…

Contents