Reduce list parameter replace code

Is there any way to make easier and direct this code to replace values in a list… ?¿

Thanks in advice , I know that it´s very basic stuff…

Hi @dca

Here is one of the possible way using dictionaries…

1 Like

Thanks @Kulkul ,

I try your solution but i have a problem with the curly brackets…


I try replacing the curly by the square and doesn´t works…

any idea?

In the below code i´m trying to use the script to rename level names by another code as example.

RenamerDictionary.dyn (25.5 KB)

I´m using dynamo 2.0.1

Appreciatte you help ! thanks!

Hey, have a look at this…

Cheers,

Mark

1 Like

perfect! @Mark.Ackerley

thanks for help!

1 Like