Joining two strings and put as parameter in Dynamo

Hi there,

I’m completly new with Dynamo. But I need to do quite simple thing.

I want automatically put in Element_ID (shared parameter) a value “TEST_ID”, where TEST is my prefix, then goes “_” and then unique id from revit for element.

for example:

TEST_1400431

TEST_1400424

I attached what I came up with by myself, but it does not works the way I want. Perhaps String.Join isn’t proper command or I use it in a wrong way.

Can someone tell me how to achive that?

I normally don’t use String.Join, not sure why, but instead you can use the codeblock as you see in my example and it work fine if there is different length of the list as well

Thanks, that is what I was looking for.

1 Like