Convert List into List of Strings with Line Breaks


This node will take a List as Input and convert it into a single string object, where each new line was an item in the original list. This can be used to take list data from Dynamo, put it into a string, and send it immediately to the Clipboard, as shown in the example below.

Convert List into List of Strings with Line Breaks

5 thoughts on “Convert List into List of Strings with Line Breaks

  1. Just tried this node in Revit. I am importing a list from Excel. The list get created with line breaks but adds characters: In Excel: Test1. In Dynamo: [‘Test1’]. Any way to get rid of the bracket and apostrophe?
    Also:
    I am using this to populate text notes by selecting some text notes already in a view. Let’s say I have 3 items in the list and 3 text notes I select. I would like to get the list to populate the 3 notes with line 1 going to note 1, line 2 to note 2, etc. Do you know how to do that or have a node that does it?
    Thanks.

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.