# Copy the sheet number to another parameter used on the sheet, but spaced out

**URL:** <https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [June 13, 2024, 8:14pm UTC](https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885 "2024-06-13T20:14:53Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![eugeniu.sainsus](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@eugeniu.sainsus](https://forum.dynamobim.com/u/eugeniu.sainsus)\
**Post date:** [June 13, 2024, 8:14pm UTC](https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885/1 "2024-06-13T20:14:53Z")

</div>

Hey,

I am very new to dynamo and need some help.

We use sheet number parameter for scheduling and for file exporting with specific codding.  
But for the sheet itself we use the same spaced out characters.

For exemple,  
Sheet Number is A0100, but on sheet we use A 0 1 0 0  
I am looking for a solution where i can copy each character in the specific position.

I hope it makes sense. Thanks.

---

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [June 13, 2024, 8:20pm UTC](https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885/2 "2024-06-13T20:20:01Z")

</div>

Welcome to the forums.

You can do this… What are you exporting it to?  
What have you done so far?

---

<div class="post-metadata">

**Author:** ![eugeniu.sainsus](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@eugeniu.sainsus](https://forum.dynamobim.com/u/eugeniu.sainsus)\
**Post date:** [June 13, 2024, 8:38pm UTC](https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885/3 "2024-06-13T20:38:01Z")

</div>

I think i didnt explain it very well.

This is just to specify why we need 2 sheet number parameters. One for exporting to pdf and scheduling (A0100) and another parameter with the same characters, but spaced out on the sheet (A 0 1 0 0). I need to automaticaly add 3 spaces between each characters.

I dont have anything right now. Dont know where to start.

---

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [June 13, 2024, 8:38pm UTC](https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885/4 "2024-06-13T20:38:35Z")

</div>

What’s the point of the second parameter?

---

<div class="post-metadata">

**Author:** ![eugeniu.sainsus](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@eugeniu.sainsus](https://forum.dynamobim.com/u/eugeniu.sainsus)\
**Post date:** [June 13, 2024, 8:44pm UTC](https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885/5 "2024-06-13T20:44:01Z")

</div>

This is how we display the sheet number on the sheet.

In this case the Sheet Number parameter is RP222 and Sheet Number displayed is R P 2 2 2

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

---

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [June 13, 2024, 8:52pm UTC](https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885/6 "2024-06-13T20:52:09Z")

</div>

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

Like that.

---

<div class="post-metadata">

**Author:** ![eugeniu.sainsus](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@eugeniu.sainsus](https://forum.dynamobim.com/u/eugeniu.sainsus)\
**Post date:** [June 13, 2024, 8:55pm UTC](https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885/7 "2024-06-13T20:55:20Z")

</div>

Yes. Thank you.

I am trying to see if its working.

---

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [June 13, 2024, 8:59pm UTC](https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885/8 "2024-06-13T20:59:15Z")

</div>

Obviously you need to use the GetParameterValue and the SetParameterValue …

You get the parameter with the no spaces and set the parameter you want with spaces.

Seems like your workflow could be improved though. Your Revit sheet could be remade and it could save you the headache.

---

<div class="post-metadata">

**Author:** ![eugeniu.sainsus](https://avatars.discourse-cdn.com/v4/letter/e/f1d935/32.png) [@eugeniu.sainsus](https://forum.dynamobim.com/u/eugeniu.sainsus)\
**Post date:** [June 13, 2024, 9:05pm UTC](https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885/9 "2024-06-13T21:05:00Z")

</div>

Ok. Thanks again.

About the workflow. I know, its a pain in the a., but i cant change it right now.

---

<div class="post-metadata">

**Author:** ![Alien](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alien/32/40701_2.png) [@Alien](https://forum.dynamobim.com/u/Alien)\
**Post date:** [June 13, 2024, 9:05pm UTC](https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885/10 "2024-06-13T21:05:34Z")

</div>

If you feel it’s a solution mark it as solved 🙂

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [June 13, 2024, 9:32pm UTC](https://forum.dynamobim.com/t/copy-the-sheet-number-to-another-parameter-used-on-the-sheet-but-spaced-out/101885/11 "2024-06-13T21:32:50Z")

</div>

Just to make this more scalable, you can do this dynamically by splitting the string with empties and then rejoining with spaces.  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/6/463200e2aa08b5e2f6514885163e77cd92bae03a.png)
