# Multi Line Text

**URL:** <https://forum.dynamobim.com/t/multi-line-text/98534>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [February 27, 2024, 5:35pm UTC](https://forum.dynamobim.com/t/multi-line-text/98534 "2024-02-27T17:35:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cameron2RBHD](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@cameron2RBHD](https://forum.dynamobim.com/u/cameron2RBHD)\
**Post date:** [February 27, 2024, 5:35pm UTC](https://forum.dynamobim.com/t/multi-line-text/98534/1 "2024-02-27T17:35:32Z")

</div>

I am currently trying to create some code that joins information together, i have had a lot of success apart from one parameter which is a multiline text parameter. How in dynamo would you re-create the process going to the instance parameter called “Sheet Name - Line 2” then pressing the ellipsis and reading that information as an input?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/6/76edb217b2a087732ea663dcb2a51821dc91b361.png)

At the moment for the rest of my inputs i had been using the above script however it does not work for that parameter and i believe that is because it is multiline text and not “normal” text

If you require more information i can hopefully provide

---

<div class="post-metadata">

**Author:** ![christian.stan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/christian.stan/32/166296_2.png) [@christian.stan](https://forum.dynamobim.com/u/christian.stan)\
**Post date:** [February 27, 2024, 6:30pm UTC](https://forum.dynamobim.com/t/multi-line-text/98534/2 "2024-02-27T18:30:42Z")

</div>

Hi

> [@Use of line breaks in Revit parameters](https://forum.dynamobim.com/t/use-of-line-breaks-in-revit-parameters/98412/5):
>
> Excuse me, it turns out that the problem lies here. I have tried “\ n” and “\ n \ r” before, but I have never tried “\ n\r”

Cordially  
christian.stan

---

<div class="post-metadata">

**Author:** ![cameron2RBHD](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@cameron2RBHD](https://forum.dynamobim.com/u/cameron2RBHD)\
**Post date:** [February 28, 2024, 9:22am UTC](https://forum.dynamobim.com/t/multi-line-text/98534/3 "2024-02-28T09:22:05Z")

</div>

Hi @christian.stan

Thank you with your response, if i am reading it correctly that link tells me how to insert data into multiline text format. However i want dynamo to open the multiline text and convert it into a flat string, hopefully that makes sense

If i have read something incorrectly please let me know

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [February 28, 2024, 9:36am UTC](https://forum.dynamobim.com/t/multi-line-text/98534/4 "2024-02-28T09:36:28Z")

</div>

Hi @cameron2RBHD do toy mean something here ?

 ![Skærmbillede 2024-02-28 103513](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/7/d743be21edc291dcceb9b69ca446483fb8573b78.png)

---

<div class="post-metadata">

**Author:** ![cameron2RBHD](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@cameron2RBHD](https://forum.dynamobim.com/u/cameron2RBHD)\
**Post date:** [February 28, 2024, 9:58am UTC](https://forum.dynamobim.com/t/multi-line-text/98534/5 "2024-02-28T09:58:42Z")

</div>

Hi @sovitek

Thank you for your response.

I am trying to get my script to read a multiline parameter which is called “Sheet Name - Line 2” however my code appears to be having an issue because it is multiline and i want to convert it into a single piece of string  
as an example the user could enter the following:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/1/a10edad8a2aaa4575a0c8fb76679013bc25e4aa2.png)

What i am trying to do overall is basically replicate what DI Roots does & batch print PDF’s / DWG’s just so that i have a backup in case. And the issue is if i add the “Sheet Name - Line 2” into the code it seems to not like it and the only reason i can think that would be the case it because it is multiline rather than a single string

At the moment my code shows the following as an example output for the multiline text:

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/b/bbe19331ce8bd1bb090bf626f1b87e73f2ea05f1.png)

So i think i just need to figure out how to convert the above multiline to a single string?

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [February 28, 2024, 10:04am UTC](https://forum.dynamobim.com/t/multi-line-text/98534/6 "2024-02-28T10:04:45Z")

</div>

arhhh something here maybe…

 ![Skærmbillede 2024-02-28 110659](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/b/cbb217b0f01326a65fd3d45547c9d4639a3b5f26.jpeg)

---

<div class="post-metadata">

**Author:** ![cameron2RBHD](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@cameron2RBHD](https://forum.dynamobim.com/u/cameron2RBHD)\
**Post date:** [February 28, 2024, 10:23am UTC](https://forum.dynamobim.com/t/multi-line-text/98534/8 "2024-02-28T10:23:36Z")

</div>

@sovitek  
Thank you! That looks exactly like what i want  
I will give it a test and report my findings
