Naming pressure pipes through dynamo

Hello,

I created a dynamo script to rename pressure pipes from an excel file (the excel file contains info from another software).

I ran the script but it renamed only the 1 pipe and then showed an error “Warning: CivilObject.SetName operation failed. The name may exist.”

Chcecked there is no other element with the next name to follow. Any Idea what went wrong?


same script but changing the name of the 1 pipe

Hi
Nice script.
Check the list levels in the end of the script. As it looks for me it seems like the list from the python node and the list from list clean is not on the same levels
Regards,
Patrick

1 Like

Thanks Patrick :).

Is my first Dynamo script made without following any example ;).

Your answer was correct. after playing with the levels the script worked as a charm :slight_smile:

1 Like