Dynamo Create Concatenated String List

Hi All,

I am looking for some help in getting strings to combine correctly in Civil 3D using Dynamo. In the first image below you can see an example for how I would like the list of names to be presented. The strings are compounded with the numbers to create the full list. However, if I would like to use a string generated from the PipeRun Name itself, this approach no longer works (See Image 2). What additional steps need to be taken to extract the PipeRun Name as a string and use it to create the full list? Thanks!

Here is one way I figured out how to solve my issue. Is this an efficient way to solve the problem?

It looks like one of the networks doesn’t have a pipe run so it returns empty so I’d suggest using list.clean to remove empty lists or null values instead of get item at index.

1 Like