Rename grids

When creating grids in Revit, Revit will name/number them in the order that they were created based on the naming convention last used. If you haven’t been consistent in your creation of grids, you’ll more than likely need to rename them. This can prove problematic as Revit will not allow you to have two grids identically named. If you try, Revit will return an error saying, “the name entered is already in use. Enter a unique name.”  As a workaround it is necessary to temporarily rename the grids before naming them as intended.

To speed up this process I have developed two custom nodes available in the Parametric Monkey Dynamo package:

 

‘Grid.RenameAlphanumerical’ will rename grids alphanumerically from A to ZZ, excluding “I” and “O” as per convention.

 

‘Grid.RenameNumerical’ will rename grids from 01 to 99.

The sortAxis input requires a string, either “X” or “Y”, which relates to the axis the grids are sorted along. This affords flexibility in deciding which values (alphanumerical or numerical) you want to run from left to right, and bottom to top. The tempPrefix input is a string which can be used if other grids are currently using the same mark value. The toggle will update the temporary mark values to the final mark values.

7 Comments on “Rename grids

    • Hi David. It is working for me with BVN v1.4.6. I suspect the problem is because you are using Spanish. The node is trying to update the “Name” parameter of the grid. You’ll need to edit the node and modify this so that it has the correct spanish parameter. Let me know if this works.

  1. Hi, it’s great.
    But, how to change direction of renaming (alphabetical one)? From top to bottom?

    • Hi Ana. I have just updated (v1.4.7) both nodes to include a boolean if you want to reverse the numbering sequence. Give this a try. It should solve your problem.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.