PACK #4 - Rename almost everything - Script 3/3

Hello Dynamos,

Today I will share 3 scripts we developped in-house, on the same principle as the previous ones.

This last one is a bit more intense I would say.

WITH THIS SCRIPT YOU WILL BE ABLE TO:

Search and replace works up to a very short extent in Revit, with the script you can:

  • Searching a specific text and replacing it in all Revit families, types, line styles, materials, and more.
  • Several modes for search and replace are available: starts with, ends with, contains

4-STEP PROCESS

  1. Fill in the searched text field
  2. Input the replacement text
  3. Select the types of elements you want to get renamed
  4. Pick the search mode.

If you have any questions about these scripts, please do not hesitate to contact us on dynamo@bimone.com or through the forum

BIM1_RenameAlmostAll.dyn (337.0 KB)

11 Likes

there were errors for this. Im trying to replace names for titleblock to another name in one go. Does this script help do that. I’m sorry Im pretty new to dynamo

A lot has changed in 4 years.

Start with dynamo primer and then work towards solving your specific problem. Taking massive old scripts like this one wont usually work out well.

Have a crack, make a thread if you get stuck (sharing your code for people to comment/help with).

Welcome,

I second what Gavin has mentioned.

I will just add a few things:

  • Try it, you will see. There is always a CTRL+Z possible. Nothing bad will come out of it, if you read the instructions and try. Promise.
  • That being said, yeah, 4 years (and even more if you consider the time I actually made the script). A few things changed since then. But using it to rename titleblock is underwhelming, to say the least. There are plenty of already build tools, free ones, that can do just that and more. To name a few: Revalue in pyRevit (totally biaised here), DiRoots sheetlink or sheet manager, …
    In general, I would never waste time building things from scratch in dynamo for functionalities that are really well taken care of by so many addins. Don’t reinvent the wheel. Unless this is on purpose: to learn, to make a new type of hub for that wheel and improve it.
  • The dynamo primer is a good if not the best entrance into the realm of Dynamo.

Good luck!

1 Like