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

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.

Welcome to the forums.

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

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.

What’s the point of the second parameter?

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

Like that.

Yes. Thank you.

I am trying to see if its working.

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.

Ok. Thanks again.

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

1 Like

If you feel it’s a solution mark it as solved :slight_smile:

1 Like

Just to make this more scalable, you can do this dynamically by splitting the string with empties and then rejoining with spaces.
image

1 Like