Replace Text for multi ghpython

Hi,
Example : I want change all text “123” to “abc” for multi window ghpython, it took too much time if I open 1 by 1 for replace it. Do we have another way for change 1 time.

Hello,

If you want to edit the exact same components in sync, you can put them in Cluster.

If you want to change the contents of your existing GHPython, you can save it as ghx instead of gh and open it in a text editor for batch conversion.

ghx

1 Like

Thank you too much, you save my day.

1 Like

You can use the replaceGHPythonString function I posted over here (last code block):

2 Likes

Thank you for that.

1 Like