Multiline text parameter - variable dynamo input?


How do I set a multiline text parameter from dynamo, without using the “String input” node?

Revit does not accept the string “string_line_2 \n string_line_2” from a code block (see pics)

string node:

code block:

Can’t you simply use the String.Join node?

nope, same problem?

Think you have to use an actual new line ‘return’ character here. Put it in quotes so it’s a string and you should be fine, though your design script won’t read right.

1 Like

Thanks Jacob! :slight_smile:

1 Like