Dynamo script for renaming Civil 3D objects

Dear All,
I hope you are all doing very well. I am new to Dynamo for Civil 3d and am trying to play around and learn some of Dynamo’s routines. I would be very thankful if someone could help me with the following,
I want to create A dynamo scripts that can allow me to rename all the TINsurfaces inside a drawing. For example, if I have 4 or 5 EG_ surfaces, I want to have them renamed with the following increment numbers EG_01, EG_02…etc.
Thank you so much for any support or explanation.
Kindly regards
Salwan Abbosh

I believe this gets you going


renamingTinSurfaces.dyn (25.8 KB)

3 Likes

Dear Johan,
Thank you so much for your quick response
I will try the routine and let you know
I wish you a wonderful evening
Kindly regards
Salwan

Again,
Millions of thanks this is precisely what I am looking for. I like the way you structured things. Very clear and very easy to understand.
Thanks alot

2 Likes